CN1301475C - Positive data copying method for radio equipment - Google Patents

Positive data copying method for radio equipment Download PDF

Info

Publication number
CN1301475C
CN1301475C CNB021408076A CN02140807A CN1301475C CN 1301475 C CN1301475 C CN 1301475C CN B021408076 A CNB021408076 A CN B021408076A CN 02140807 A CN02140807 A CN 02140807A CN 1301475 C CN1301475 C CN 1301475C
Authority
CN
China
Prior art keywords
data
server
object
information
filter
Prior art date
Application number
CNB021408076A
Other languages
Chinese (zh)
Other versions
CN1409235A (en
Inventor
史晓斌
德波拉·B·林可维奇
Original Assignee
鸿富锦精密工业(深圳)有限公司
摩力动网科技股份有限公司
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
Priority to US92865001A priority Critical
Application filed by 鸿富锦精密工业(深圳)有限公司, 摩力动网科技股份有限公司 filed Critical 鸿富锦精密工业(深圳)有限公司
Publication of CN1409235A publication Critical patent/CN1409235A/en
Application granted granted Critical
Publication of CN1301475C publication Critical patent/CN1301475C/en

Links

Abstract

一种用于无线设备的主动资料复制方法,其可使存储于移动计算机设备上的资料与存储于服务器的数据库内的资料同步。 Active data replication method for a wireless device, which can be stored in the data store on the mobile computer device in synchronization with the information in the database server. 其中存储于服务器内的资料被组成多个域。 Wherein the information stored in the server are grouped into a plurality of domains. 服务器保存有一含有一个或多个用户的ID列表、一对应于用户ID列表内的每一用户ID的资料过滤器列表和一移动计算机设备的地址列表,其中列表内的每一地址均对应于用户ID列表内的某一用户ID。 The server holds a list containing one or more user ID's, the filter list address list information corresponding to a user ID list of the each user ID, and a mobile computer device, wherein each address in the list corresponding to a user are a user ID in the ID list. 当对服务器的某一特定域执行了某一操作,该域则与资料过滤器列表相互对照,如果找到了一个匹配,可能会通过短信服务(SMS)讯息将执行的操作告知该移动计算机设备,这取决于与那对域/操作相关联的预警加权值。 When an operation is performed for a particular domain server, the domain is the data filter list comparing each other, if a match is found, the message operation may be performed to inform the mobile computer device via SMS service (SMS), and that it depends on the domain / warning operation associated weighted values.

Description

用于无线设备的主动资料复制方法 Active data replication method for wireless devices

【技术领域】本发明涉及一种在移动计算机设备上更新资料存储器的方法,更确切的说,是关于当位于服务器上的远程资料存储器被更新或发生其它变动后通知移动计算机设备的方法。 TECHNICAL FIELD The present invention relates to a method of updating information on the mobile computer memory devices, and more specifically, relates to a method when the remote server located on the memory data is updated, or other changes occur to inform the mobile computer device.

【背景技术】在电脑发明后不久,人们开始把它们连接起来。 BACKGROUND shortly after the computer was invented, people began to connect them. 多台电脑之间的连接可以使数量较少的资源诸如打印机、内存设备等被共享。 The connection between multiple computers can make the printer smaller number of resources, such as shared memory device. 起初,电脑之间通过电缆进行连接,随着技术的发展及人们对灵活性需求的增加,无线通讯方式出现并发展起来。 Initially, between computers connected via a cable, with the development of technology and people's demand for increased flexibility, wireless communication appeared and developed. 早期的无线通讯技术涉及移动设备与网络连接端口之间的周期性连接,该连接是由在移动式计算机设备和网络连接端口之间的线缆或红外线信号来实现。 Early wireless communication technique involves periodically between a mobile device connected to the network connection port, the connection is realized by a cable or an infrared signal at the mobile computer device and the network connection between the ports. 该技术需要在移动设备上连接一线缆到网络连接端口,或是在移动设备上设置一红外线装置,其要求该红外线装置与网络连接端口上相应的红外线装置必须处在一定的范围内。 This technique requires a cable connection to a mobile device on a network port, or an infrared means disposed on the mobile device, connected to a network which requires a corresponding infrared port device must be within a certain range of the infrared device. 基本上,早期的无线通讯技术能使移动设备之间或与别的计算机设备之间在有限的物理范围内进行通讯。 Basically, early wireless communication technology enables communication between the mobile devices within a limited range between physical devices or with other computers. 而在二十世纪,当计算机设备可通过新兴的无线通讯网路如逐渐出现的移动电话系统来通讯后,上述使用范围的限制被逐渐解决。 In the twentieth century, when the mobile phone system, such as computer equipment may occur gradually through the emerging wireless communication network for communication, restrict the use of the above range is gradually resolved.

到二十世纪后期,无线网络在全世界被广泛应用。 By the late twentieth century, the wireless network is widely used around the world. 移动式计算机设备可以在任何区域与远程电脑主机的信息储存设备或“资料服务器”进行通讯。 Mobile computing devices can communicate over any area with a remote host computer information storage device, or "data server." 例如,通过该通讯网路,一销售人员使用装备有无线调制解调器的膝上型计算机,可以与所属公司的中央库存和订单系统保持联系。 For example, through the communication network, a salesperson using a laptop computer equipped with a wireless modem, you can keep in touch with your company's central inventory and order system. 另外,移动设备如个人数字助理(Personal Digital Assistant,PDA)以及精密移动电话可以让用户连上汇聚了全世界资源的互联网。 In addition, mobile devices such as personal digital assistants (Personal Digital Assistant, PDA) as well as sophisticated mobile phone that allows users to connect to the Internet brings together the world's resources. 很多移动设备也能通过连上公共电话网络(Public Telephone Network,PTN)和/或互联网,彼此进行通讯。 Many mobile devices can also connect to the public telephone network (Public Telephone Network, PTN) and / or the Internet to communicate with each other.

通过目前的移动式计算机设备,用户可连接到电子邮件服务器、网站服务器、在线银行和其它的位于远程资料服务器的“后台”应用设备。 By current mobile computer devices, users can connect to the e-mail server, web server, online banking, and other information located on a remote server "back-end" applications. 诸多公司,认识到通过移动设备连上他们自身的系统或服务器的潜在优势,希望通过提供给其工作人员或客户的远程通讯使用者界面和后台系统,把他们的业务扩展到无线世界上,最终提供给用户以移动设备进行交易的能力。 Many companies, realizing the potential benefits from mobile devices to connect to their own systems or servers, hopes to provide to their staff or customers of telecommunications user interface and back-office systems, to expand their business to the wireless world, the final to provide users the ability to trade in a mobile device.

当然,新的无线技术具有其自身的问题,例如,受限于自身的尺寸,很多移动式计算机设备只提供很小的区域用于输入及提供很小的存储器空间给资料和应用软件。 Of course, new wireless technologies has its own problems, for example, limited by its size, many mobile computer device only provides a small area for input and provides little memory space for data and application software. 这些问题意味着,在移动设备上进行输入是很困难的,且在移动设备上运行的应用软件都是很小型的。 These problems mean that it is difficult to input on a mobile device, and application software running on mobile devices are very small. 另外还存在一些诸如对无线连接的维护费用高以及确保移动设备上的资料一致、准确以及是否为最新等有关的问题。 In addition, there are some problems such as the high maintenance costs of wireless connectivity and ensure consistent data on mobile devices, accurately and are up to date and so relevant.

当前解决在有限区域进行输入或输出的问题可以利用手写识别软件。 The current problem of input or output may be utilized in a limited region of handwriting recognition software. 然而,手写识别软件都很庞大,在移动设备上使用则又涉及到存储器不够的问题。 However, handwriting recognition software are huge, for use on mobile devices in turn related to the insufficient memory problem. 另一解决方法是提供一小键盘,然而这种小键盘一般较难于使用。 Another solution is to provide a keypad, however, this keypad is generally more difficult to use. 还有一种解决方法是采用屏幕图标及一指示笔,其中每一图标代表某一定义的动作;指示笔用于点选移动设备显示屏上的特定图标,当针接点选一特定图标,该图标对应的动作即开始执行。 Another solution is to use a stylus and screen icons, wherein each icon represents some defined operation; stylus to click on the specific icon display of a mobile device, when the needle then click a particular icon, the icon i.e. corresponding actions begin. 众多个人数字助理采用了这种图标/指示笔的方法,因为它似乎在输入的简易性和执行输入软件的需求之间提供了最好的平衡。 Many personal digital assistant adopted this method icon stylus / as to provide the best balance between demand and ease of execution input software it seems input.

如上所述,多数移动设备均只具备有限的存储器容量,移动设备的存储器容量不仅决定了在移动设备上执行的应用软件必须非常小,而且,还限制了所有与所述应用软件有关资料储存装置空间的大小。 As described above, are most mobile devices have limited memory capacity, the memory capacity of the mobile device only determines the application software executing on the mobile device must be very small, but also the limits of all relevant information to the application software storage means the size of the space. 解决这种问题的一种方法是在另一第二计算机设备(如一资料服务器)中设置一数据库,并让移动设备周期性地连接该第二计算机设备以进行同步。 A method for solving this problem is to set a second database on another computer device (such as a data server), and let the mobile device periodically connected to the second computer device to synchronize.

当然,如果一特定的资料源,如一产品数据库,存储于一远程电脑上分享给多个用户使用,就会涉及到资料连续性或“资料同步”问题的出现。 Of course, if a particular data source, such as a product database, stored on a remote computer to share with multiple users, it will appear the information related to the continuity or "data synchronization" problems. 资料同步是一过程,其确保在一数据库中的资料与另一数据库中相应的资料保持一致,以使该资料的任一用户均了解到其它用户对该等资料的任何变更。 Data synchronization is a process which ensures that data in a database to another database in the corresponding data is consistent, so that any user of the information are aware of any changes to the information of other users and so on. 例如,如果一个公司在库存中有一个棒球,第一个销售人员卖出了这个棒球,第二个销售人员有必要了解到公司不再有棒球可供销售。 For example, if a company has a baseball in inventory, the first salesperson sold the baseball, the second salespeople need to understand the company no longer available for sale baseball. 为了让第二个销售人员知道库存的变更信息,至少需完成如下两项事情:(1)第一个销售人员必须更新服务器以反映棒球的最新数目;(2)资料必须能被第二个销售人员所使用,如果该等资料位于销售人员的移动设备上,则必须对其进行更新以反映服务器上的变更信息。 To make a second change information salespeople know inventory, complete at least the following two things: (1) the first salesperson must update the server to reflect the latest number of baseball; (2) the information must be second sales staff employed, if such information is located on the mobile device sales, it must be updated to reflect the change information on the server.

在数据库连接同步过程中存在另一问题,即移动通讯常具有区域相关性或间断性。 Another problem exists in the database synchronization connection, i.e. the mobile communication normally associated with or intermittent regions. 一个用户可能不需时时与网络连接,或一个确定的连接可能会在传输过程中出人意料地被中断。 A user may not need to connect to the network from time to time, or an established connection may be unexpectedly interrupted during transmission. 而且,无线连接的费用一般较有线连接的高,如果某一用户需要持续连接,维持该连接的支出费用可能会超过由无线连接所产生的利润。 Moreover, the costs are generally higher wireless connectivity wired connection, if a user needs a persistent connection, the connection expenses to maintain profit may exceed by a wireless connection generated.

【发明内容】本发明提供一种使移动计算机设备,如个人数字助理(PDA)、网络电话、笔记型电脑和膝上型计算机上的资料存储器与远程服务器上的资料存储器同步的方法。 SUMMARY OF THE INVENTION The present invention provides a mobile computer device, method of data storage on the data storage on a remote server such as a personal digital assistant (PDA), Internet phone, notebook and laptop computers synchronized. 该远程服务器包含多个资料对象,每一资料对象都是一批相互关联的对象或者说一个“域”中的一部分。 The remote server contains multiple data objects, the object of each group of data objects are interrelated or a part of the "Domains". 例如,帐户域包括帐户对象,每一帐户对象均含有诸如所有者、帐户余额、有关税款等帐户讯息。 For example, the domain account, including account objects, each account objects contain messages such as the account owner, account balances, and other related taxes. 该服务器也含有用户信息或称为“用户概况”。 The server also contains user information or "user profile." 用户概况包括下述信息:(1)一用户ID;(2)一资料过滤器清单;(3)用户指定的加权值,每一加权值对应一在相应的域内执行的特定操作,如添加、修改、删除;(4)一预警加权值;(5)用户目前的移动计算机设备的短信服务(SMS)地址。 User profile information comprising: (1) a user ID; (2) a data filter list; (3) the user-specified weighting values, each weight value corresponding to a specific operation performed in the corresponding field, such as adding, modify, delete; (4) a warning weighted value; short message service (5) current users of mobile computing devices (SMS) address. 此外,远程服务器也监视对域所作的改动,如添加、删除、修改。 In addition, remote server monitoring also made changes to the domain, such as add, delete, modify.

当满足一定条件时,本发明所解释的方法将通过短信服务(SMS)通知用户的个人数字助理(PDA)、网络电话或膝上型计算机。 When certain conditions are met, it explained the method of the present invention will notify the user of a personal digital assistant via short message service (SMS) (PDA), Internet phone or laptop computer. 当服务器在数据库上执行某一操作时,服务器会确认该操作和目标域,进而核对用户概况以确认用户是否有与该操作的某一目标相对应的资料过滤器。 When an operation is performed on the server database, and the server confirm the operation target domain, and further user profile matching the user to confirm whether there is a target and the operation information corresponding to the filter. 如果用户有相对应的资料过滤器,服务器则检查被要求的操作的加权值,只要该操作和域的加权值或者该操作和域的总预警值超过临界值,服务器即传送一短信至用户的设备,通知该设备其资料过滤器需要同步。 If the user has the corresponding data filter, the server checks the weighting value is requested operation, as long as the weighted value of the operation and the domain or the total warning value of the operation and the field exceeds a threshold value, the server that is sending a message to the user equipment, notify the device that filters the information needs to be synchronized.

例如,如果某一特定域内的特定操作的加权值等于1,用户的移动设备会立即收到短信(SMS),被告之在特定域内发生的特定操作。 For example, if the weighting value of the specific operation of a particular domain is equal to 1, the mobile device user will immediately receive a text message (SMS), the specific operations occurring in a particular domain of the accused. 反之,该特定操作的加权值会被加入该特定操作和域的总预警加权值,如果总预警加权值超过临界值,用户的移动设备也会收到短信。 Conversely, the weighting value of the specific operation will be added to the specific operation and the total weighted value of the field alarm, warning if the total weighted value exceeds the threshold value, the user's mobile device will receive the message. 每一短信均包括一域名、需要某一操作的资料过滤器的名称或其卷标、需要的操作的类型和该操作是否要立即执行。 Each message includes a domain name, the names of its data filter tags require an operation, the type of operation required and the operation is to be performed immediately.

收到来自远程服务器的短信后,该移动设备则检查被要求的更新是否标有“立即”。 After receiving the message from the remote server, the mobile device then checks whether the requested update labeled "immediately." 如果该短信标有“立即”,移动设备即从短信中取出域名和资料过滤器,激活针对该资料过滤器的同步程序。 If the message is marked with "immediately", a mobile device that is removed from the domain and data filter messages, activate the synchronization program for the data filter. 如果短信没有标上“立即”,移动设备或者等待下一次同步或者将该短信存入一用户日历通知该用户需要同步其移动计算机设备的资料存储器。 Or the time you synchronize text messages stored in a user's calendar to notify the user needs to synchronize its data memory of the mobile computer devices if there is no message on the mark "immediately", a mobile device or wait for the next.

对于标有“立即”的短信,服务器会明了该移动计算机设备是否真的有请求同步。 For SMS labeled "immediately", the server computer will keep track of the mobile device whether it is really a synchronous request. 如果经过一段时间后,没有收到从移动设备传来的同步请求,服务器会重新发出短信。 If after a period of time, has not received a request from the synchronous mobile devices came, the server will re-send SMS. 在另一较佳实施例中,移动计算机设备会生成一确认短信,并将确认短信传送至服务器告知该服务器短信已收到,从而避免了服务器再次发出短信的不必要动作。 In another preferred embodiment, the mobile computer device generates a confirmation message and the confirmation message to the server informing the server message has been received, thereby avoiding unnecessary re-send SMS server operation. 而且,如果没有收到确认短信,服务器即可确定移动设备没有收到短信,因而服务器重发短信时用不着等待。 Further, if the confirmation message is not received, the server can determine that the mobile device does not receive the message, so the server need not wait for retransmission messages.

本发明所揭示的方法能以很小的通信费用,使在一移动设备上的数据库或本地数据库与一远程服务器上的数据库或远程数据库保持同步。 The method disclosed in the present invention can be in a small communication cost, or a local database so that database on a mobile device is synchronized with the database on a remote database or a remote server. 同步操作只在必要的时候才会被执行,而且只限定于需要被同步的资料。 Synchronous operation will be executed only when necessary, and only limited data need to be synchronized. 本发明的便利还在于能够节约移动通信设备的复杂性成本。 The present invention is conveniently complexity cost savings can be a mobile communication device.

【附图说明】图1是一通讯系统的方块图,该通讯系统包括两个典型的移动式计算机设备,其可用于实施本发明所揭示的方法。 BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a communication system, the communication system comprises two typical mobile computer device that can be used in the methods disclosed in the present invention.

图2是本发明的一典型个人数字助理(PDA)示意图。 FIG 2 is a schematic diagram of a typical personal digital assistant (PDA) according to the present invention.

图3是本发明的一无线应用程序示例架构的方块图。 FIG 3 is a block diagram of a wireless application example architecture of the present invention.

图4是服务器中各部件的方块图。 FIG 4 is a block diagram of each server component.

图5是在客户端移动式计算机设备的数据管理过程流程图。 FIG 5 is a flowchart of a data management mobile client computing device process.

图6是图5中同步步骤的流程图。 6 is a flowchart of FIG. 5 in synchronization steps.

图7是在服务器端的数据管理过程流程图。 FIG 7 is a flowchart of the server side data management process.

图8是更新识别过程的流程图。 FIG 8 is a flowchart of the update identification process.

图9是图1及图2中个人数字助理的主页屏幕显示器示意图。 9 is a schematic diagram of a home screen of the display 2 and the personal digital assistant of FIG.

图10是图1及图2中个人数字助理的编辑过滤器屏幕显示器示意图。 FIG 10 is a screen display editor filters 1 and 2 a schematic view of a personal digital assistant in FIG.

图11是图1及图2中个人数字助理的最佳产品搜索屏幕显示器示意图。 Figure 11 is the best product in Figures 1 and 2 personal digital assistant schematic diagram search screen display.

图12是图1及图2中个人数字助理的另一产品搜索屏幕显示器示意图。 FIG 12 is a schematic diagram of another product search screen display 2 in FIG. 1 and a personal digital assistant of FIG.

【具体实施方式】如图1所示,其为一典型的通讯系统100的方块图,该系统100可支持本发明所揭示的方法。 DETAILED DESCRIPTION OF EMBODIMENTS FIG. 1, which is a block diagram of an exemplary communication system 100, the system 100 of the present invention disclosed method may support. 通讯塔105提供有多重无线通讯信道,比如与个人数字助理(PDA)101连接的通讯信道115以及与膝上型计算机103连接的通讯信道117。 Communications tower 105 is provided with multiple wireless communication channels, such as a personal digital assistant (PDA) 115 101 connecting a communication channel with the laptop computer 103 and communication channel 117 connections. 通讯系统100、个人数字助理101以及膝上型计算机103均为可支持本发明方法的典型移动式电脑系统和设备。 Communication system 100, personal digital assistants, laptop computers 101 and 103 may support both of the exemplary method of the present invention the mobile computer systems and devices. 为简便起见,一计算机设备,无论其是否为可移动,只要采用了无线通讯技术,我们均称它为“移动式计算机设备”。 For simplicity, a computer device, regardless of whether it is mobile, as long as the use of wireless communications technology, we are called "mobile computing devices." 许多类型的移动式设备,包括已在使用的和即将被发明的,均包含于本发明的权利要求中。 Many types of mobile devices, including the invention has been and is about to be used, it is included in the claims of the invention. 例如,当今使用的许多移动电话即可利用本发明的方法可使其对资料和国际互联网的访问更加便利。 For example, many mobile phones in use today using the method of the invention allows it to access to information and the Internet more convenient. 另一类可利用本发明所揭示方法的系统为无线电子签章以及用来与其通讯的发射机和接收器。 Another class of the present invention may be utilized in the method disclosed system electronic signature and means for wireless communication therewith a transmitter and a receiver.

通讯塔105通过专用或公用的通讯信道119与服务器107相连。 Communications tower 105,107 is connected via a private or public communication channel with the server 119. 当然,对于熟知此项技艺的人士来说,通讯信道119可以是有线通讯,也可以是无线通讯。 Of course, for those familiar with this skill, the communication channel 119 may be wired communications, wireless communications can be. 服务器107可实现本发明标的部分内容,以下会对其作更为详细的说明。 Server 107 may be implemented in part the subject of the present invention, the following will be explained in more detail thereof. 服务器107和局域网(LAN)121相连。 Server 107 and a local area network (LAN) 121 is connected. 局域网121又与计算机设备109及111相连,其可为服务器107及计算机设备109及111提供访问国际互联网113的信道。 LAN 121 is in turn connected to the computer device 109 and 111, which may provide a channel for access to the Internet 113 and the server computer device 109 and 107 111. 个人数字助理101以及膝上型计算机103也可经由局域网121、服务器107、通讯信道119以及通讯信道115或者117来访问国际互联网113。 Personal digital assistants and laptop computers 103 101 115 or 117 may access the Internet 113 via LAN 121, server 107, communication channel 119 and communication channel.

通讯系统100仅为本发明的一实例,由该系统所衍生出的其它一些系统,甚至是不同类型的系统,也可以采用本发明的方法。 Communication system 100 is only one example of the present invention, some other systems derived by the system, and even different types of systems, the method of the present invention may also be employed. 例如,本发明的方法可以于局域网的资料服务器架构中实现。 For example, the method of the invention may be implemented in a local area network information server architecture. 对于熟知此项技艺的人士来说,所揭示的方法可以方便地在任何通讯系统或其它类型存在着频宽和/或设备内存问题的系统内展开具有一定优势。 For those familiar with this art of speaking, the disclosed methods can be easily deployed there has certain advantages in the system bandwidth and / or equipment in any memory problems or other types of communications systems. 本发明不仅限于采用无线通讯链路的系统;虽然在该领域本发明的便利性最容易体现出来。 The present invention is not limited to a system employing a wireless communication link; While the invention has convenience in the art most easily reflected.

图2是图1所示的个人数字助理101的示意图。 FIG 2 is a schematic view of a personal digital assistant 101 of FIG. 1. 个人数字助理101可以执行本发明所揭示的方法,其输入与输出分别由资料输入区205以及显示屏203提供。 A personal digital assistant 101 may perform the method disclosed in the present invention, which are provided by input and output data entry area 205 and a display screen 203. 本实施方式所述的资料输入区205为一小键盘,用户可以在上面键入信息。 The present embodiment of the data entry area 205 is a keypad, the user can type in the above information. 另外,显示屏203也提供有资料输入功能。 In addition, the display 203 also provides data entry functions. 显示在显示屏203上的小图标(图中未画出)代表着预先定义好的、个人数字助理101可以执行的动作。 Displayed on the display screen 203, a small icon (not shown) representing predefined, a personal digital assistant 101 may perform actions. 用户可利用指示笔207来点选显示屏203上的一个特定的图标从而执行相应的动作。 The user may use stylus 207 to click on a particular icon on the display screen 203 so as to perform a corresponding action. 排列于个人数字助理101底部的控制按钮209可以供用户设置不同的功能,比如音量和显示屏203的亮度等。 Control buttons are arranged on the bottom 101 of the personal digital assistant 209 may be provided for users of different functions, such as volume and brightness of the display 203 or the like. 在另一实施方式中,资料输入区205可被程序化以使指示笔207可以在其上书写,然后利用个人数字助理101中的笔迹分析软件分析该笔迹以决定一合适的动作。 In another embodiment, the data entry area 205 may be programmed so that the stylus 207 can write on it, and then use a personal digital assistant handwriting analysis software 101 analyzes the handwriting to determine an appropriate action.

图3是一无线应用程序的示例架构的方块图,该应用程序库在客户端,如个人数字助理101以及如服务器107(如图1所示)之类的服务器上运行,并采用了本发明所揭示的技术。 FIG 3 is an exemplary architecture of a wireless application block diagram of the client application library, such as a personal digital assistant 101, and server 107 running on the server or the like (Figure 1), and uses of the present invention the disclosed techniques. 无线应用架构301包括有一无线资料复制器307以及一移动式交换器309,并向诸如个人数字助理101之类的可移动式设备提供促进无线应用程序发展的服务。 Wireless Application Architecture 301 includes a wireless data replication 307 and a mobile switch 309, and 101 personal digital assistants like the removable device to provide wireless services to promote the development of such applications. 该无线应用架构301是基于标准建构,并可容易地成为设备、操作系统或独立的数据库。 The wireless application architecture 301 is based on standard construction, and can easily become a device, operating system or a separate database.

移动式交换器309为移动客户端和跨平台客户端提供实时的访问企业服务器或其它类型的服务器的通路。 Mobile switch 309 for mobile clients and cross-platform client provides real-time access to corporate servers or access other types of servers. 内存的动作和配置,诸如在服务器中所执行或配置的程序和对象,可以由一客户端无线设备所控制。 The operation and configuration memory, such as procedures and objects executed or configured in the server, the wireless device can be controlled by a client. 在本实施方式中,移动式交换器309也是基于可扩展标示语言(XML)和超文件传输协议(HTTP),可扩展标示语言(XML)使设计者可以定义、传送、验证以及解释应用程序之间和组织之间的资料,超文件传输协议(HTTP)是国际互联网所运用的根本协议,其定义了信息采用何种格式化及如何传送,以及网络服务器或浏览器应该采用什么动作以响应一特定的需求。 In the present embodiment, the mobile exchange 309 is also based on the Extensible Markup Language (XML) and hypertext transfer protocol (HTTP), extensible Markup Language (XML) enable designers to define, transmit, verification and interpretation of application information between inter and organizations, hypertext transfer protocol (HTTP) is simply the use of the Internet protocol, which defines how to format the information using and how to transfer, as well as a network server or browser what action should be used to respond to a specific needs. XML和HTTP均使用了一种流行的方式——远程过程调用(RemoteProcedure Call,RPC),以利用网络在不同电脑中的单独程序之间实现进程间通讯(Inter-Process Communication,IPC)。 XML and HTTP are using a popular way - Remote Procedure Call (RemoteProcedure Call, RPC), in order to use the Internet to achieve inter-process communication (Inter-Process Communication, IPC) between different computers in a separate program. 当然,RPC和IPC也可以在单独的计算机设备上被执行。 Of course, RPC, and IPC may also be performed on a separate computer device. 所揭示的无线应用架构301提供简洁有效的环境,以发展在无线结构中运行的主从式应用程序。 The disclosed wireless application framework 301 provides a simple and effective environment for the development of the main operating in a wireless configuration application from the formula.

无线应用架构301的客户端库提供如下用于关系型客户应用程序的功能:(1)生成远程过程调用的内容(方法名称和参数);(2)形成XML信息;(3)利用HTTP协议将该XML信息传送至服务器;以及(4)接收并解释来自于服务器的相应的响应。 Wireless application architecture 301 of the client library provides the following functionality for relational client applications: (1) generate the content (method name and parameters) remote procedure call; (2) formed XML information; (3) using the HTTP protocol this information is transmitted to the XML server; and (4) receive and interpret the corresponding response from the server.

无线应用架构301的服务器端库提供如下用于关系型客户应用程序的功能:(1)接收并解释一客户端的请求信息,尤其是利用上述的客户端库所产生、形成以及传送的请求信息;(2)根据客户端的请求信息所请求的特定RPC,搜索一适合的程序;(3)调用该合适的程序;(4)将该合适的响应发回至客户端。 Wireless application infrastructure server database 301 provides the following functions for relational client applications: (1) receive and interpret a client request message, particularly using the client library generated, formed and transmitting the request information; (2) according to the client's RPC request specific information is requested, searching for a program; (3) the call to the appropriate program; (4) the appropriate response back to the client.

本发明中的远程过程调用(RPC)支持无线环境中以下的数据类型:整数(4位);布尔函数;字符串;日期;双精度;base-64;数组;结构以及杂凑表(hash table)。 Remote procedure call in the present invention (RPC) support in a wireless environment of the following data types: integer (4); Boolean function; string; date; double; base-64; an array; structure and the hash table (hash table) .

无线资料复制器307处理并管理无线设备中的资料,它使用户能够在无线设备中选择用户所需要的特定信息,并且仅复制所选择的信息,利用该方法以节省传输媒介中的频宽和无线设备中的内存资源。 Wireless data and copy management information processing unit 307 in the wireless device, which allows the user to select a particular information desired by the user in a wireless device, and copy only the selected information, using this method to save bandwidth and the transmission medium memory resources in a wireless device. 无线资料复制器307将系统数据库用作客户端资料缓存,并给每位用户提供一无线设备资料过滤器,或称用户化脚本(customizable scripts),用以说明特定用户选择存储在移动式设备上的信息。 Wireless data replication system database 307 as a client data cache, and provided to each user equipment in a wireless data filters, or called user scripting (customizable scripts), for describing the mobile device to select a particular user is stored in Information. 资料过滤器可以由特定的用户在该用户的移动式设备上定义,或者,由系统管理器或系统程序员来生成一公用资料过滤器(或称标准过滤器)的菜单,然后用户依其特定的环境和职责从该菜单上做简单的选择即可。 Data filter may be defined by a specific user on the user's mobile device, or to generate a common filter information by the system manager or system programmer (or standard filter) menu, and the user according to their specific environmental responsibility and can make simple choices from the menu. 标准过滤器也可以简单地模块化,这样用户就可选择并定制。 Standard filter may simply be modular, so that the user can select and customize. 资料过滤器和标准过滤器可以很简单,就如等式匹配游戏一样,也可以很复杂,就如运用了乘法规则的乘算表一样。 As data filters and standard filters can be very simple, such as equality matching game, it can also be very complex, as use of the product rule of multiplication tables.

无线资料复制器307和移动式交换器309提供有一平台,专用应用程序可以建构于其上。 Wireless data copy 307 and the mobile exchange 309 is provided with a platform-specific application can build thereon. 在本实施方式中,专用应用程序包括有移动式商业应用程序310、移动式医院应用程序320、移动式物流应用程序330以及移动式金融应用程序340。 In the present embodiment, the dedicated applications include mobile business applications 310, 320 mobile hospital applications, mobile applications stream 330 and the mobile financial application 340. 该专用应用程序310、320、330和340都仅仅是作为例子。 The dedicated application 320, 330 and 340 are merely by way of example. 实际上,本发明所揭示的方法可以用来实现任何应用程序,这些应用程序可以利用数据库服务器来获得帮助。 In fact, the method disclosed in the present invention may be used to implement any application, these applications can use the database server to obtain assistance. 应用程序310、320、330和340都是本系统的应用程序组件303之一。 320, 330 and 340 are applications of the present system 303, one application component.

任何一个应用程序310、320、330和340都包括有应用程序产品305。 Any application including 320, 330 and 340 are 305 product applications. 在本实施方式中,移动式商业应用程序310的应用程序产品305包括有应用程序A1 311(APP A1)、应用程序A2 312(APP A2)和应用程序A3 313(APP A3)。 In the present embodiment, the mobile application 310 commercial product applications 305 include application A1 311 (APP A1), application A2 312 (APP A2) and application A3 313 (APP A3). 移动式医院应用程序320的应用程序产品305包括有应用程序B1 321(APP B1)和应用程序B2 322(APP B2)。 A mobile hospital applications the product application 320 includes application 305 B1 321 (APP B1) and applications B2 322 (APP B2). 移动式物流应用程序330的应用程序产品305包括有应用程序C1 331(APP C1)、应用程序C2 332(APP C2)和应用程序C3 333(APP C3)。 Mobile applications stream application 330 includes application products 305 C1 331 (APP C1), the application C2 332 (APP C2) and application C3 333 (APP C3). 最后,移动式金融应用程序340的应用程序产品305包括有应用程序D1 341(APP D1)、应用程序D2 342(APP D2)和应用程序D3 343(APP D3)。 Finally, the mobile financial application 340 of the application 305 includes application products D1 341 (APP D1), the application D2 342 (APP D2) and applications D3 343 (APP D3). 如应用程序组件303一样,应用程序产品305的特定构成对本发明而言并非是必要的,而仅仅是作为一个例子。 As with application components 303, 305 constitute a particular product application for the present invention is not essential, but merely as an example. 例如,APP A1 311可以是一个移动式销售力自动控制应用程序;APP B1 321可以是一个移动式病人管理系统;APP C1331可以是一个移动式传输管理系统;APP D1 341可以是一个移动式银行业务应用程序。 For example, APP A1 311 may be a mobile sales force automation application; APP B1 321 may be a mobile patient management system; APP C1331 may be a mobile transmission management system; APP D1 341 may be a mobile banking application.

图4是本发明的服务器组件的方块图。 FIG 4 is a block diagram of the server component of the present invention. 如下的流程是在图1所示的服务器107上执行并支持上述与图3结合起来所描述的服务器端库。 The following processes are performed on the server side and support the above-described library of FIG. 3 described in combination on the server 107 shown in FIG. Java服务引擎401执行透过其它流程访问到该引擎的软件、或Java applets和/或servlets。 Java service engine 401 performs an access process to the engine through other software, or Java applets and / or servlets. 虽然本例所使用的是Java语言,但是本发明实际上可以用任何软件语言来实现。 Although the present embodiment is used in the Java language, but the present invention may be implemented in practically any software language. 特定的语言对本发明的实质并不重要。 Specific language is not important for the spirit of the invention. 在本实施方式当中,这些组件均以Java servlets构成。 In the present embodiment, among these components are Java servlets configured. Java servlets与applets类似,也是一些应用程序,或为软件代码的集合,其可扩展网络浏览器和Java服务引擎401的功能。 Java servlets and applets similar, but also some applications, or as a collection of software code, which can be extended web browser and Java services engine features 401. 这种方法可以减小生成不同的扩充以和不同的后端系统相连接的需求。 This method can reduce the expansion to generate different requirements and different backend systems are connected. Java服务引擎401可根据不同的后端系统负载新的servlets,而不必修改Java服务引擎401本身。 Java service engine 401 may load new servlets according to different back-end systems, without having to modify Java service engine 401 itself. 这样,servlets只有在它被需要的第一时间才被安装,并且并非所有时间都会生成对特定后端系统过程的需求。 Thus, servlets only the first time that it was only required to be installed, and not all the time will generate a specific backend system needs process.

通讯管理器403控制进出移动式设备的信息,为方便以下的描述,该移动式设备设为个人数字助理101。 Communications manager 403 control information out of the mobile device, in order to facilitate the following description, the mobile device to a personal digital assistant 101. 通讯管理器403使服务器107和个人数字助理101之间保持基于传输控制协议(TCP)的联接。 Communications manager 403 holding Transmission Control Protocol (TCP) 101 is coupled between the server 107 and a personal digital assistant. 在联接的服务器107端,通讯管理器403接收个人数字助理101处的字符串流形式的远程过程调用,并解析该远程过程调用字符串流,将字符串流参数转换成数据结构,然后调用具有已转换的数据参数的合适的本地程序。 End 107 coupled to the server, in the form of a string flow communication manager 403 receives a personal digital assistant 101 of remote procedure calls, remote procedure call and parsing the stream string, converts the string parameter into a data stream structure, then call having suitable local program data converted parameters. 由远程过程调用所生成的结果被存储于数据结构的输出参数中。 Remote procedure calls generated by the result is stored in the output parameter data structure.

和通讯管理器403通讯连接的是一复制管理器405、一缓存管理器411以及一图表管理器407。 And Communications Manager 403 is a copy of the communication link manager 405, a cache manager 411 and a 407 chart manager. 复制管理器405控制客户端之间的双向资料同步,比如个人数字助理101和服务器107之间的资料同步。 Replication manager 405 controls the bi-directional data between the client synchronization, data such as personal digital assistants between 101 and 107 servers in sync. 此外,复制管理器405提供端对端的传输交易控制,该传输交易控制可以检测并解决不同客户端之间的资料冲突。 In addition, the replication manager 405 provides end to end transmission of control transaction, the transaction transmission control can detect and resolve data conflicts between different clients. 与复制管理器405连接在一起的是初级域管理器409,详述如下。 Connected to the replication manager 405 with the primary domain manager 409, described in detail below.

资料之间的冲突可以基于下述四类方法来解决。 Conflict between the information can be based on the following four types of methods to solve. 这四类方法是“最后所写”、“基于时间标示”、“基于值”以及“基于时间标示和值”,详述如下:(1)在“最后所写”冲突解决方法中,写入数据库的最后的值会成为对象的值。 These four methods is the "last written", "based on the time stamp", "based on value" and "based on the time stamp and the value", described in detail as follows: (1) In the "last written" conflict resolution, the writing the final value of the database will be the value of the object. 这类方法适用于那些极不可能发生的情形,即多人希望更新同一份资料。 Such methods are applicable to those cases highly unlikely, that people want to update the same information. 这会产生一个问题,那就是如果前一次的修改是在离线状态下进行的,而且直到后一次修改进行以后才被复制,则该前一次的修改会覆盖后一次的修改。 This creates a problem, that is a modification if the former is carried out offline, and until after the modifications made are copied once, the last set of changes will be modified once after covering the front.

(2)在“基于值”的方法中,如果个人数字助理101的“旧值”和服务器107的当前值相匹配的话,服务器107就接受修改。 (2) In the method "based on the value", the current value if the "old values" of a personal digital assistant 101 and server 107 match, then the server 107 to accept changes.

(3)在“基于时间标示”方法中,如果修改的时间标示大于(时间上晚于)服务器107中对象的当前时间标示,修改就被接受。 (3) "based on the indicated time" method, if the modified time stamp is greater than (later in time) of objects in the server 107 the current time stamp, modification is accepted. 这种方法之前提是假设个人数字助理101的时钟与服务器的时钟同步。 The premise of this method it is assumed that the clock and the server's personal digital assistant 101 clock synchronization.

(4)在“基于时间标示和值”的冲突解决方法中,由个人数字助理101所提供的修改时间标示必须晚于服务器107上的修改时间标示。 (4) in the "value based on the time indicated and" conflict resolution method, modified by the personal digital assistant 101 provides a modification must be later than the time indicated on the label server 107. 此外,由个人数字助理101所提供的作为“旧值”的值必须和服务器107上的当前值相匹配。 In addition, a personal digital assistant 101 provided as the value of "old values" must match the value present on the server 107. 这些条件可以确保修改是最近的,而且在做出修改时,用户可以知道服务器107中对象的当前表示法。 These conditions can be modified to ensure that the most recent, and in making changes, the user can know the current representation of objects in the server 107. 注意如果个人数字助理101的数据库和服务器107的数据库都能够操纵对象属性层(相较于对象层)中的时间标示,则在更新操作进行时,可以生成一多重请求以更新一特定的对象。 Note that if the time stamp personal digital assistants database server 101 and database 107 are able to manipulate the object attribute level (compared to the target layer), at the time of update operation, may generate a multiple requests to update a particular object .

对那些没有被服务器107中的复制管理器405所解决的资料所作的未被接受的修改,会被存储起来供系统管理员检查。 Unaccepted changes to those data have not been replicated in the server manager 405 107 addressed done, will be stored for system administrator to check. 系统管理员可以根据实际情况来决定一特定的修改是否应该被接受。 A system administrator can determine the actual situation whether a particular modification should be accepted.

在本实施方式中,图表管理器407管理有两个图表,皆为XML格式。 In the present embodiment, the graph manager 407 has two management charts, are all XML format. 第一图表,或称主图表描述服务器107以及存储在资料存储器417中的主数据库的图表,以及该主数据库的图表之间的关系。 First graph, or the relationship between said master chart and graph depicting the primary database server 107 stored in the data memory 417, and the chart of the main database. 当然,如同上述与图1结合所述的内容一样,主数据库和资料存储器417无需一定处于服务器107上,其可以处于计算机设备109和111之一或二者上,并能被服务器107透过网络121所访问。 Of course, as described above in conjunction with the content as in FIG. 1, the primary database 417 and data memory 107 need not necessarily be located on the server, which may be on one computer device 109 and 111 or both, and can be transmitted through the network server 107 121 visits. 图表管理器407中之一第二图表描述个人数字助理101的数据结构。 One chart in manager 407 described in the second graph data structure 101 of a personal digital assistant. 当资料从主数据库检索出来后,图表管理器407就从所检索的资料中提取信息,并将该提取的信息传送至通讯管理器403以传给个人数字助理101。 When the data is retrieved from the primary database, graphics manager 407 to extract information from the information retrieved, and the extracted information is transmitted to the communication manager 403 to pass a personal digital assistant 101. 图表管理器407还有一附加的次图表,用以从其它移动式设备,诸如膝上型计算机103中提取信息。 Graph Manager 407 there is an additional time chart for, such as a laptop computer 103 extracts information from other mobile devices.

缓存管理器411在资料对象从主数据库中被提取出来前为其提供一缓存,以使来自个人数字助理101的复制资料请求更有效。 Cache Manager 411 to provide a buffer before the data object is extracted from the main database to copy the data from the personal digital assistant 101 requests more efficiently. 缓存的目的和功能是为电脑领域内的人士所熟知的。 Cache purpose and function as those in the computer are known in the art.

开放式数据库互连(Open Database Connectivity,ODBC)连接管理器413(以下简称为ODBC连接管理器413)和图表管理器407进行通讯连接。 Open Database Connectivity (Open Database Connectivity, ODBC) connection manager 413 (hereinafter referred to as ODBC connection manager 413) and the graph manager 407 communication link. 除了为熟知此项技术的人员所熟悉的连接池服务(connection poolservices)和文本服务(context services)外,ODBC连接管理器413在资料访问管理器415和图表管理器407之间还预建了一套ODBC连接,以从ODBC连接获得并返回开放式连接,以及在停工时返回所有的资源。 In addition to personnel familiar with this technology familiar to the connection pool service (connection poolservices) and text service (context services) outside, ODBC connection manager 413 between the data access manager 415 and graph manager 407 is also a pre-built sets ODBC connection from ODBC to connect to obtain and return an open connection, and returns all of the resources at the time of stoppage. ODBC连接管理器413也处理连接失效和通讯失效的情形。 ODBC connection manager 413 also handles the case of failure of the connection and communication failure.

资料访问管理器415控制着对资料存储器417的访问。 Data access manager 415 controls access to the data memory 417. 在本说明书中,资料存储器417是指“远程”的资料存储器,而个人数字助理101上的资料存储器是指“本地”资料存储器。 In the present specification, the data memory 417 is referred to as "remote" data memory and the data memory on a personal digital assistant 101 refers to the "local" data storage. “本地”及“远程”的指定仅为简便起见,资料存储器417也可以被称为本地资料存储器,而移动式计算机设备上的资料存储器也可以被称为远程资料存储器。 "Local" and "Remote" only designated simplicity, data memory 417 may also be referred to as local data storage, and data storage on mobile computing devices may also be referred to as remote data storage. 对“本地”及“远程”的指定仅为基于这样一个事实,即两个资料存储器没有驻存于同一设备上。 On the "local" and "remote" designation it is only based on the fact that no two data memory resides on the same device. 资料访问管理器415可以是任何商用的数据库管理系统,或者是用户构建的系统。 Data Access Manager 415 may be any commercially available database management system, or user-built system. 资料访问管理器415的具体的细节对本发明的精神并不重要,而且也应当为熟知本项技术的人士所熟悉。 Specific details of the data access manager 415 is not important for the spirit of the invention, but also for those who should be familiar with this technology is familiar.

资料应按技术域进行编排以使资料的存储、收集以及分发降低对特定服务器程序,如数据库管理系统和其它所采用的系统的依赖。 Information technology should be organized so that the domain information storage, collection and distribution of reduced dependency on a particular server, such as database management systems and procedures used in other systems. 特定技术域包含有特定对象的定义,包括构成对象的单个的资料组件,或“属性”。 Technical field contains the specific definitions of specific objects, including objects constituting individual information components or "Properties." 每条属性均具有数据类型和一个或多个值。 Each attribute has a type and one or more data values. 例如,一“账户”对象可以包含与银行账户有关的属性,比如所有者姓名和余额等。 For example, a "Account" object can include bank accounts related properties, such as the owner's name and balances. 在一服务器中,一对象也可以是相关的资料的逻辑表示。 In a server, the object can also be a logical representation of relevant information. 每个对象都有唯一的识别符,或相应对象的唯一的密钥。 Each object has a unique identifier, or a key unique to the corresponding object. 当一特定的对象被更新时,所有与该对象有关的资料也会被更新。 When a specific object is updated, all the information related to the subject will also be updated. 诸如移动式商业应用程序310、移动式医院应用程序320、移动式物流应用程序330以及移动式金融应用程序340(图3所示)之类的应用程序都有与其相对应的域集合。 310, 320 mobile hospital applications, such as a collection of domains a mobile application in the mobile business application 330 and stream type mobile financial application 340 (FIG. 3) such applications have corresponding thereto.

例如,移动式医院应用程序320可具有病人对象和医生对象,移动式商业应用程序310可包含产品对象。 For example, a mobile hospital applications the patient 320 may have a target object and the physician, mobile business application objects 310 may comprise the product. 特定的应用程序310、320、330或340的对象均置于域管理器中,如域管理器一421,域管理器二422,域管理器三423。 A specific application object 320, 330 or 340 are placed on the domain manager, as a domain manager 421, domain manager 422 two, three domain manager 423. 由于不同类型的对象需要不同类型的操作,因此每一域管理器421~423都包含有一套客制化的功能或者商业逻辑,比如商业逻辑431、商业逻辑432和商业逻辑433等。 Because objects of different types require different types of operations, so that each domain manager 421 to 423 include a set of customized features or business logic, such as business logic 431, business logic 432 and business logic 433 and the like. 域管理器421~423透过资料访问管理器415从资料存储器417中提取与各自对象有关的信息。 421 to domain manager 423 extracts the information from the memory 417 and the respective object related information via the data access manager 415. 每一域管理器421~423都是相关域内信息管理的控制点。 Each domain manager 421 to 423 are control points related to information management domain. 诸如搜索、增加、更新和删除等操作均是透过域管理器来完成。 Such as search, add, update, and delete and other operations are done through the Domain Manager. 商业逻辑431~433为客制化的域,以使每一特定域的处理过程能够进行。 Business logic 431 to 433 is customized domain so that the process can be performed for each particular domain. 商业逻辑431~433也可以包含用于解决数据冲突的逻辑。 Business logic 431 to 433 may also include logic to resolve data conflicts.

为了防止不必要的软件复制,所有域管理器421~423的公共功能都集中在初级域管理器409。 In order to prevent unnecessary copy of the software, all the common function domain manager 421 to 423 are concentrated in the primary domain manager 409. 初级域管理器409是一个基础对象,域管理器421~423可从它那里继承一些属性和方法。 Primary domain manager 409 is a base object, the domain manager 421 to 423 may inherit attributes and methods from it.

图5是客户端移动式计算机设备如个人数字助理101上的数据管理程序500的流程图。 FIG 5 is a flowchart of a client computing device such as a mobile personal digital assistant 101 of the data management program 500. 该流程始于开始步骤501,紧接着即为交易初始化步骤503,在这一步骤中个人数字助理101的用户执行一些动作以处理资料。 The process starts with start step 501, the transaction shall be followed by the initialization step 503, to perform some action in this step 101, a personal digital assistant users to process data. 例如,使用个人数字助理101的销售人员可以从客户那里接收购买特定棒球的请求。 For example, using a personal digital assistant 101 sales staff can receive a request from a customer to buy a particular baseball there. 个人数字助理101上的本地数据库被更新以显示棒球库存量的变化,该库存量由服务器107上的数据库表示。 Local database on a personal digital assistant 101 is updated to show the change in inventories of baseball, the stocks represented by the database on the server 107. 在本例中,上述个人数字助理101的本地数据库可以被服务器107上的中央数据库所同步,也可以不被该中央数据库所同步。 In the present embodiment, the above-described personal digital assistant, a local database 101 may be synchronized by a central database on the server 107, or may not be synchronized to the central database. 当然,一旦该棒球的库存量被输入到该本地数据库,则该本地数据库和中央数据库就彼此不同步了。 Of course, once the amount of stock to the baseball is input to the local database, the local database and on the central database are not synchronized with each other.

在资料创建或更新步骤507中,程序500确定该交易是代表新的资料还是对已有资料的更新。 In the data created or updated in step 507, the program 500 determines that the transaction is representative of new information or update existing information. 新的资料可以是销售人员在输入新的客户信息时所生成的帐户对象。 The new information may be sales staff enter new customer information generated by the account object. 虽然不大可能,但是如果生成或接收的资料没有改变或产生本地数据库,或者如果资料被标以“没有存储”(下面会解释),则控制过程会从步骤507跳到结束步骤523,交易的处理过程就此结束。 Although unlikely, but if the information generated or received no change or a local database is generated, or if the data is marked as "not stored" (will be explained below), then control jumps to the end of the step 507 will be from the step 523, the transaction the process ended. 如果资料是新的或被更新,则转至当前连接步骤509。 If this information is new or updated, go to step 509 current connection. 在此步骤中,程序500确定在个人数字助理101和服务器107之间是否具有一当前动态连接。 In this step, the program 500 determines whether a current dynamic connection between the server 101 and a personal digital assistant 107. 如果没有,则转到插入同步序列步骤511,在该步骤,资料被置于个人数字助理101的存储区域,那些未决的交易均存储于此。 If not, go to the Insert synchronization sequence step 511, at which the material is placed in a storage area of ​​101 personal digital assistants, those pending transactions are stored here. 此外,这些资料的状态被设为“陈旧”,以下会对此做更为详细的解释。 In addition, the state of these materials is set to "obsolete", the following will be discussed in a more detailed explanation. 如果该程序在步骤509确定个人数字助理101和服务器107在当前是连接着的,则流程会转到同步步骤513。 If the program 509 determines in step 101 and a personal digital assistant server 107 is connected to the current, the flow goes to step 513 synchronization.

资料在步骤511被插入同步序列和在步骤513的同步化均涉及到将资料格式化为适合传送的格式,比如生成远程过程调用的内容(方法的名称和参数),以及基于所生成的内容和在步骤503所生成或者接收的资料形成XML信息。 Data are inserted at step 511 and the synchronization sequence in step 513 are synchronized to the format information relates formatted for transmission, such as generated content (method name and parameters) remote procedure call, and based on the generated content and XML data formed in step 503 the information generated or received. 为了实现正确有效的同步,程序500将下列资料状态之一分配到每个对象:(1)新:这种状态指在个人数字助理101上已经生成但在服务器107中未存在的对象。 To achieve correct and effective synchronization, procedure 500 to assign one of the following state information of each object: (1) new: This refers to the state of the object, but not present in the server 107 has been generated on the personal digital assistant 101. 适合于相应对象的“增加”对象操作,或者“方法”必须在下一同步过程中被传送至服务器。 Adapted to the respective objects "increase" object action, or "method" to be transmitted to the server during the next synchronization. 该新对象的一些属性比如唯一的对象密钥须由服务器107生成并回传给个人数字助理101,并确定服务器107中的增加操作是成功的。 Some key attributes such as unique object to the new object shall generate server 107 and back to 101 personal digital assistants and to determine the increase in the operating server 107 is successful. 当然,如果增加的操作不成功,服务器107需要将此情形传送给个人数字助理101,这样,个人数字助理101就可以采取合适的动作。 Of course, if the increase is not successful, the server 107 needs to be transferred to a personal digital assistant this case 101, so that, a personal digital assistant 101 can take appropriate action.

(2)更新:一个对象的更新指自从上次同步后已经在本地个人数字助理101资料存储区被更新。 (2) Update: Update of an object refers to since the last synchronization has been updated in local personal digital assistant 101 data storage area. 在更新的同一时刻,该对象的更新值必须被传送到服务器107上。 Updated at the same time, updates the value of the object must be transmitted to the server 107. 任何可能发生的冲突,如两个互不相识的销售员都试图销售同一产品时发生的冲突,都会在服务器107上通过复制管理器405解决(图4)。 Any possible conflicts, such as two strangers salesman trying to sell a conflict occurs when the same product, will be on the server replication management 107 by 405 resolution (Figure 4). 然后更新过的对象重新被传送到个人数字助理101以确保个人数字助理上的副本资料与服务器107上的一致。 Then again updated object is transferred to the personal digital assistant 101 to ensure a consistent copy of the data on the server and on the personal digital assistant 107. 如果复制管理器405确定来自于个人数字助理101的对象因为数据冲突而无效时,传送到个人数字助理101的更新对象还必须简要说明该冲突事实。 If the replication manager 405 determines the object from the personal digital assistant 101 of conflict because the data is invalid, to the personal digital assistant 101 to update the object it must also be a brief description of the facts of the conflict.

(3)不能存储:被指定为“不能存储”的对象来自服务器107并保存到个人数字助理101上。 (3) can not be stored: is designated as "not stored" from the object server 107 and saved to a personal digital assistant 101. 如果有必要的话,该对象可以会被个人数字助理所遗弃。 If necessary, the object can be abandoned by a personal digital assistant. 一个典型的例子是个人数字助理临时需要某数据项目,而其属性不能被修改。 A typical example is a personal digital assistant temporary data needed for a project, and its properties can not be modified. 当环境改变时,个人数字助理101可以将对象状态从“不能存储”状态改为“可存储”状态。 When the environment changes, the personal digital assistant 101 may object status from "not stored" state to "storable" state.

(4)存储:被指定为“存储”的对象不管是在本地的还是在远程的资料存储区都被作为永久的一部分,并与至少一个包含在同步过程中的预先定义的资料过滤器相匹配,从而使其属性值被保留在一个同步状态。 (4) Storage: is designated as "memory" of the object, whether locally or in the data storage area of ​​the remote are as a permanent part, and with the data at least one filter is included in the synchronization process predefined match so that it remains in the attribute value is a synchronization status.

(5)陈旧:被指定为“陈旧”的对象被保留在个人数字助理101上但不包括在同步过程中。 (5) obsolete: is designated as "stale" of the object is retained on the personal digital assistant 101 but not included in the synchronization process. 个人数字助理101可以根据其自身需求及(或)该陈旧对象的自身特性来决定保留还是清除该指定为陈旧的对象。 Personal digital assistant 101 can decide whether to retain or remove the designated stale objects according to their own needs and (or) the characteristics of the old object itself.

(6)删除:被指定为“删除”的对象是指已经从个人数字助理101的资料存储区移除的对象,且在一个同步过程中该删除信息需被传送到服务器107中。 (6) Delete: to be designated as "deleted" objects are objects that have been removed from the personal digital assistant data storage area 101, and a synchronization process in the deletion information to be transmitted to the server 107. 客户可以从本地资料存储区移除该删除的对象,而只需在一个同步过程中传送该对象的唯一密钥至服务器,或者标注该对象为删除状态,而正如同步过程所要求的那样,只有当该对象从服务器107成功删除时才将其从本地资料存储区移除。 Customers can be removed from the local data store of the deleted objects, but only transmit a unique key to the server object in a synchronization process, or marked for deletion state of the object, and as the synchronization process, as required, only as if the object was successfully deleted from the server 107 to remove it from the local data store.

个人数字助理101特定对象的状态维持追踪的方式对于本发明的精神并不很重要。 State personal digital assistant 101 to maintain a particular object tracking method is not very important for the spirit of the invention. 如果个人数字助理101将对象保存在一个关系数据库中,该对象的指定状态可以简单地作为表格中的一个属性值范围。 If the personal digital assistant 101 objects stored in a relational database, specify the state of the object can simply be used as a range of attribute values ​​in the table. 另外一种可替代的保存该状态信息的方法是,通过将对象的不同状态隔离在不同的文件里。 Another alternative method of saving the state information, the state of the object by different isolate different files. 例如,一个“不能保存”的对象可以保存在一临时文件中,只有当该“不能保存”状态转换为“保存”状态时才被保存到资料存储区。 For example, a "can not save" of the object can be saved in a temporary file, only when the "can not save" state to "save" the state is saved to the data store.

步骤509是向步骤511进行还是向步骤513进行取决于个人数字助理101是处于在线状态还是处于离线状态。 Step 511 to step 509 is carried out depends on personal digital assistants or 101 is online or offline to step 513. 如果个人数字助理101处于在线状态,则转向步骤513且在步骤509创建的XML信息被传送到服务器107上。 If the personal digital assistant 101 online, go to step 513 and the XML information created in step 509 is transferred to the server 107. 如果个人数字助理101处于离线状态,则转向步骤511,在该步骤,XML信息被插入一个同步序列中。 If a personal digital assistant 101 is offline, then go to step 511, in this step, XML information is inserted into a synchronization sequence. 接着,再转回至步骤509,在该步骤,个人数字助理一直为待机状态,直到在其与服务器107之间建立一条连接。 Next, and then back to step 509, a connection in this step, a personal digital assistant to the standby state has been established between it and until the server 107. 个人数字助理101周期地核查一个连接是否被建立,例如当连接周期为定期排程事件或数据传输被服务器107所初始化等;或者当个人数字助理101需要传送一条或多条信息,被设定为初始化一个连接时,核查建立连接的条件是否已经具备。 A personal digital assistant 101 periodically verify whether a connection is established, for example, when the connection period of periodic or event schedule data transmission server 107 is initialized and the like; or a personal digital assistant 101 when one or more pieces of information to be transferred, is set when initializing a connection, verify whether the conditions for the establishment of the connection have been met. 如果当个人数字助理101在等待与服务器之间建立一个连接时,一个新的交易被初始化,程序500会像处理以前的交易一样将该新的交易放到同步队列中等待建立连接,以便能产生一个同步过程。 If 101 when a connection is established between the server and wait for a personal digital assistant, a new transaction is initiated, the image processing program 500 will be the same as before the transaction into the new transaction synchronization queue waiting to establish a connection in order to produce a synchronization process.

上述提到的同步周期可以是固定不变的也可以是可变的。 The above-mentioned synchronization period may be fixed or may be variable. 一个同步排程可以通过个人数字助理101或服务器107上的用户接口(UI)来建立。 A synchronization schedule may be established through a user interface (UI) on the personal digital assistant 101 or a server 107. 用户亦可在个人数字助理101或服务器107上利用该用户接口来初始化一同步过程。 Users may be initialized using a synchronization process on the user interface 101 or a personal digital assistant server 107. 如果在初始化一同步过程的同时,在个人数字助理101和服务器107之间还未建立连接,初始化同步过程的个人数字助理101和服务器107辨识出该状态,并将连接请求放进同步序列中,然后周期地测试两者之间的连接是否建立或建立连接的必要条件是否存在。 If the initialization at the same time a synchronization process between the personal digital assistant 101 has not been established and the server 107 is connected, a personal digital assistant initialization and synchronization process 101 identify the state of the server 107, and the synchronization sequence into the connection request, and then periodically tests whether the connection established between the two necessary conditions for the establishment or connection exists. 两者之间的连接一旦建立,同步过程将继续,控制过程509将转向步骤513。 Once the connection is established between the two, the synchronization process continues, control 509 to step 513.

该同步过程需保持本地的资料副本与服务器107上的对应资料一致。 The need to maintain synchronization process corresponding to the data on the local copy of the data is consistent with the server 107. 本发明的同步是基于资料过滤器的,这些将在后面结合图9到图12进行详细论述。 The present invention is based on synchronization data filter, as will be discussed in detail in conjunction with FIGS. 9 to 12 later. 个人数字助理101上的资料对象副本,如本地或客户端资料,通过一系列的客户端/服务器端的交易,与服务器107上对应的资料对象,如服务器端资料达成同步。 Data copy of an object on a personal digital assistant 101, such as a local or client information, transactions a series of client / server, and the server 107 corresponding to the data objects, such as server-side data to achieve synchronization.

同步步骤513始于个人数字助理101向服务器107发送一个同步请求对象时。 Synchronization begins with step 513 when the personal digital assistant 101 transmits a synchronization request to the server 107 objects. 该同步请求对象会压缩所有个人数字助理101需要提供给服务器107的资料,以便执行一个特定的同步动作,包括一时间标记、一可选择的过滤器、一可选择列表、或一需要同步的对象“矢量”或一同步对象,以及一个包括个人数字助理101当前的地理位置信息的可选的位置对象。 The synchronization request object is a personal digital assistant 101 compresses all required information provided to the server 107 in order to perform a specific synchronization actions, including a time stamp, an optional filter, a selectable list, or a subject to be synchronized "vector" or a synchronization object, and a position of the object 101 includes an optional current geographical location information of a personal digital assistant. 在另一实施方式中,该位置对象可以是一个既包括个人数字助理101的当前地理位置信息还包括其未来地理位置信息的矢量。 In another embodiment, the position of the object may be a current geographical location information comprising both a personal digital assistant 101 further comprises geographical location information vector future.

有六种同步行为或操作:一同步过滤操作,一获取删除操作,一获取创建操作,一发送修改操作,一发送创建操作及一发送删除操作。 There are six synchronous action or operation: a synchronous filtering, a delete operation acquire, create a get operation, sending a modify operation, sending a create operation and sends a delete operation. 该六个操作在下面结合图6有详细描述。 The six operation below in conjunction with FIG. 6 is described in detail. 每一操作都带有两个参数,一同步请求对象和一第二字段,或“结果ID”,其用于表明对应于该同步请求对象,个人数字助理101希望从服务器107返回的信息。 Each operation are two parameters, a request object and a second synchronization fields, or "result ID", which is used to indicate that the object corresponding to the synchronization request, a personal digital assistant 101 desired information returned from the server 107. 该结果ID设置有如下几种值:(1)全部:该“全部”结果标记值意味着服务器107必须返回该操作有关的所有对象的ID及其状态值。 The results are summarized as follows ID value is provided: (1) All: The "All" means the result of the flag value and the ID server 107 must return a status value of all objects used in the operation. 该“全部”结果标记值应该慎用,应为其会导致个人数字助理101与服务器107之间的通讯量剧增。 The "All" was marked by value should be used with caution, should their lead to traffic between the server and personal digital assistants 101 107 surge.

(2)更新:该“更新”结果标记值意味着服务器107应该返回与该更新操作有关的所有对象的ID及其状态值。 (2) Update: The "update" flag value result 107 means that the server should return all the objects of the update operation relating to the status and ID value. 此外,当服务器107上的副本与个人数字助理101上不一致时,对象副本也应返回。 Further, when the inconsistency copy of a personal digital assistant 101 on the server 107, a copy of the object should be returned.

(3)ID:该“ID”结果标记值意味着服务器107应该返回与该操作有关的所有对象的ID及其状态值。 (3) ID: the "ID" flag result 107 means that the server should return a value to the operation ID and state values ​​relating to all objects. 另外需返回基于操作之类型的信息。 Moreover, it needs to return the information based on the type of operation.

(4)失败:该“失败”结果标记值意味着服务器107仅仅返回操作过程中不能处理的对象的错误信息。 (4) Failure: The "failed" error message results flag value means that the server returns only the object 107 during operation can not be processed.

(5)无记载:该“无记载”结果标记值意味着个人数字助理101对于接受关于操作的任何信息都不关心,服务器107应处理整个请求,而仅仅将操作完成的信息传送给个人数字助理101。 (5) No description: The "silent" result tag value means a personal digital assistant 101 to receive any information regarding the operation of do not care, the server 107 should process the entire request, but only to complete the operation information transfer to a personal digital assistant 101.

对应于特定操作的结果ID将在图6进行详细描述。 Results corresponding to a particular operation ID will be described in detail in FIG. 6. 该同步请求时间ID指示某特定同步操作执行的最新时间。 The time synchronization request ID indicates a particular time of the latest synchronization operation is performed. 如果资料过滤器是指定的,服务器107即利用该资料过滤器来限定返回的资料范围或“同步结果对象”。 If the filter information is specified, i.e., by using the information server 107 filters information to define the scope or "sync result objects" returned.

如果可选的位置对象包括在同步结果对象里,则返回资料范围也可以基于位置对象中的位置信息来设定。 If the optional position of the object included in the synchronization result object, it can return data range based on location information of the position of the object in the set. 例如,位于一城市的个人数字助理101用户,其在该个人数字助理101的本地资料存储区存有该城市的餐馆相关信息,当该用户旅行到另外一城市时,一个同步结果对象将包含该异地城市的餐馆相关信息。 For example, a city located 101 user's personal digital assistant, which is there information about the city's restaurant in the personal digital assistant local data store 101, when the user travels to another city, a synchronization object contains the results of the restaurant information in different places of the city. 该位置信息可以基于一公用系统,如全球定位系统(GPS)或移动电话塔或一私有系统,如传送装置置于一医院房间,而仅仅在一有限的区域内发送信息。 The position information may be based on a common system such as the Global Positioning System (GPS) or a mobile phone tower or a proprietary system, such as the delivery device is placed in a hospital room, but only sent within a limited area. 该位置对象还可以包括未来位置信息。 The future location of the object may also include location information. 例如通过该传送装置,一医生可以指定将来的房间矢量,不仅可以将当前房间里的病人信息下载到其个人数字助理101上,还可以把该房间周围矢量范围内的的房间内的病人信息都下载到其个人数字助理101上。 For example, by the transfer means, a physician may specify the future room vector, may not only download the current room patient information to the personal digital assistant 101, also the patient information in rooms within the periphery of the room vector range are download onto their personal digital assistant 101.

每一同步对象矢量都包括一时间ID,一对象ID,一基础对象,一对象状态ID,一旧值对象及一可选的信息字段。 Each vector comprises a synchronization objects time ID, a target ID, a base object, a target state ID, an old value of a target and an optional information field. 在一特定行为里,并不是所有的这些同步对象都必须指定。 In a particular behavior where not all of these synchronization objects must be specified.

例如,在一个添加操作中,同步对象不需要指定该旧值对象;在一个删除操作中,只需要指定要删除的对象ID即可;而旧值对象只有在更新操作时才需要指定。 For example, in one add operation, a synchronization object does not need to specify the old value of the object; in a delete operation, only need to specify the object ID to be deleted; and the old value of the object only when the update operation needs to be specified. 该同步对象的时间ID表示某特定对象在服务器107上被更新或核实的时间。 The time synchronization object ID represents a particular time or to verify the object is updated on the server 107. 如果同步对象的时间ID在某特定同步对象中没有指定,则服务器107将同步请求时间ID作为该同步对象的时间ID。 If time synchronization does not specify the ID of the object at a particular synchronization object, the synchronization server 107 requesting time synchronization ID as the object ID of time. 对象ID指定一基础对象在整个同步对象中的唯一身份标识ID。 The object ID specifies a unique identifier ID base object in the entire synchronization object. 该状态ID和信息字段描述一作为操作结果的同步对象的状态,主要应用在同步结果对象中。 The ID and the status information field as a result of the operation described in the synchronization state of the object, the results are used in the synchronization object.

当服务器107完成同步对象中指定的动作时,其会将同步结果对象传送到个人数字助理101。 When the server 107 to complete the actions specified synchronization object, which will transmit the synchronization result object 101 to the personal digital assistant. 该同步结果对象包括一个时间ID和一同步对象矢量。 The time synchronization result object ID comprising a vector and a synchronization object. 该同步结果时间ID表示响应的同步操作在服务器107上执行的时间。 The ID sync time represents the time synchronization results in response to the operation performed on the server 107. 同步结果对象中的每一同步对象的时间ID表示与该同步对象对应的行为被执行的时间。 Each synchronization object synchronization results object ID represents the synchronized time corresponding to the behavior of the object to be executed. 特别是当同步结果里的所有同步对象都有相同的时间ID时,如果一个时间ID没有被指定,则可以用同步结果的时间ID来代替。 Especially when synchronization results in all objects have the same time synchronization ID, a time if ID is not specified, then the result of the ID synchronizing time can be replaced.

同步结果中的同步对象的状态字段表示该对象与对应的操作的关系,其设定有如下几种值: The results in the status field sync synchronization target showing the relationship of the object corresponding to the operation, which set values ​​are summarized as follows:

(1)更新:更新状态表示服务器107上的副本与个人数字助理101上的副本不一致。 (1) Update: Update status means inconsistent with the copy of the copy on the personal digital assistant 101 on the server 107. 该状态意味着另外一客户在服务器收到同步请求前已经更新了数据库中的资料对象,此时个人数字助理101必须采取一适当操作来解决该种冲突。 This means that another client state in the preamble server receives a request has been updated with information on objects in the database, a personal digital assistant 101 at this time to take an appropriate action to resolve this kind of conflict.

(2)成功:成功状态表示同步对象在服务器107上处理成功,在服务器107满足同步请求时不需要对同步对象做任何修改。 (2) Success: Success indicates the synchronization state of the object on the server 107 successfully processed, without any modification to the server 107 when synchronization object synchronization request satisfied.

(3)失败:失败状态表示服务器107不能执行某特定同步对象的操作请求。 (3) failure: failure status indicating that the server 107 can not perform the synchronization request a particular object. 在这种情况下,该信息字段包含一关于该失败状态的文本信息。 In this case, the information field contains a text information about the failed state.

(4)相同:相同状态表示服务器107上的对应对象同步对象时间ID没有变动。 (4) the same: the same state as the synchronization target time represents the corresponding object on the server ID 107 unchanged.

(5)新匹配:新匹配状态表示自从个人数字助理101最后一次发出请求的时间后,对应的同步对象中描述的对象对于服务器107或某特定请求来说是新的。 (5) New Match: new matching state indicates the time since the last request a personal digital assistant 101, the synchronization object corresponding to the object is described for the new server 107 or a specific request for.

(6)不匹配:不匹配的状态意味着服务器107不能找到对应值对象,可能因为其已被删除或更改,以致于不再匹配同步请求对象提供的资料过滤器。 (6) do not match: Mismatched state 107 means that the server can not find a corresponding value of the target, since it might have been deleted or changed, so that no longer match the filter data provided by the synchronization request object.

该状态字段及其对应的特定操作将会对照图6作详细描述。 The status field will control its specific operation corresponding to FIG. 6 described in detail.

一旦同步步骤513完成,程序500将继续到良好状态返回的步骤517,在该步骤,会通过分析服务器107的返回信息来核实同步步骤513中的对象信息,如果该返回状态值信息表示某特定的资料更新或创建操作成功,则步骤517转向标示资料状态步骤519,在该步骤,表示存储在本地资料存储区的对象值被与存储在服务器107的资料存储器417的对象值相匹配。 Once the synchronization step 513 is completed, procedure 500 continues to step good state is returned 517, in this step, through analysis of the server to return information 107 to verify the synchronization step 513 object information, if the returned status value information indicating that a particular information update or create operation is successful, then step 517 labeled Profile steering state in step 519, in this step, is stored to match it indicates the value of the local information stored in the object memory area 107 in the server object value data memory 417. 如果某特定项目的返回信息表示一更新或创建操作在服务器107上没有被执行,那么步骤517转向重处理步骤521,在该步骤,对应的对象值被设定为与存储在服务器107的存储区417中的对象值相同。 If a particular item information indicating a return create or update operation is not performed on the server 107, step 517 re-turning process step 521, at which the value is set corresponding to the object is stored in the storage area of ​​the server 107 417 in the same object value. 此外,任何在个人数字助理101上基于资料对象的更新或操作的行为必须被确定是否有必要采取更进一步的操作。 In addition, any object based on the updated information on the personal digital assistant 101 or the operation of conduct must be determined whether it is necessary to take further action.

在步骤519和521完成之后,程序500进行到结束步骤523,在该步骤,程序500运行结束。 After the completion of step 519 and 521, the process 500 proceeds to end step 523, at which the program 500 ends operation. 需要注意的是,步骤517,519及521在本质上是反复迭代的。 It should be noted that the steps 517, 519 and 521 are iterative in nature. 换句话来说,如果一个同步过程包括多个对象且这些对象都被处理形成一同步队列,对应于每一对象的返回信息都必须通过步骤517,519及521才能到达最后的结束步骤523。 In other words, if a synchronization process comprising a plurality of objects and these objects are processed to form a synchronous queue, corresponding to each information object returns the ending step 523 must reach 517, 519 and 521 to step through.

图6为一对应于同步步骤513(图5)的典型同步程序600流程图。 FIG 6 is a corresponding synchronization step 513 (FIG. 5) a typical synchronization procedure flowchart 600. 程序600始于开始步骤601,当同步请求操作如图5中所描述的那样被初始化的同时,该步骤被初始化。 Program 600 begins with start step 601, while when the synchronization request is initialized as the operations described in FIG. 5, the steps are initialized. 如下的每一个步骤都表示一个与同步请求对象一起传送的操作。 Each step following the operation represents a synchronization request transmitted together with the object. 程序600从步骤601进行到与获取删除操作相关联的获取删除步骤603。 Routine 600 proceeds from step 601 to step 603 obtains an erasing operations associated with acquiring deleted. 该获取删除操作重新找回从上一次获取删除操作被执行后已经从服务器107上所删除的所有对象。 The acquisition deletion rediscover get all object deletions have been executed after being deleted from the server 107 from the last time.

对应于同步请求对象,该获取删除操作发送一时间ID和一可选择的对象ID列表至服务器107。 The object corresponding to the synchronization request, which sends a deletion acquisition time ID and a list of selectable object ID to the server 107. 一般来讲,对应于该获取删除操作没有对应的资料过滤器。 In general, access to information corresponding to the filter without a corresponding deletion. 但是,如果某特定的服务器107执行一两步过程:删除和销毁,那么一个资料过滤器可以被发送。 However, if a particular server 107 to perform a two-step process: Remove and destroy, then a data filter can be sent. 该获取删除操作的时间ID应被设定为个人数字助理101最近一次发送获取删除操作的时间(如果某给定的资料过滤器已经被发送)。 The deletion of time to obtain ID should be set as a personal digital assistant recently sent 101 to obtain the deletion of time (if a given filter information has been sent). 如果该可选的ID列表与该获取删除操作一起被发送至服务器107,则该服务器107将同步结果对象回传至个人数字助理101,正如上述在图5的描述一样。 If the list ID of the optional acquisition deletion is sent to the server 107 together with the sync server 107 would result objects back to the personal digital assistant 101, as described above as in FIG. 5. 该同步结果对象包含对象状态,包括已删除的和未删除的对象,连同列表上的对象ID。 The result of the synchronization object contains status including deleted and non-deleted objects, together with the object ID on the list. 如果一个资料过滤器被发送,则仅仅只有符合该资料过滤器的对象状态被发送。 If a data filter is sent, just only in line with the state of the object filter data is sent. 否则,服务器107将回传一个包含自上一次同步后被删除的所有对象ID列表的同步结果对象。 Otherwise, the server will return a 107 synchronization result object ID list of all objects since the last synchronization are deleted after inclusion. 该同步结果对象的时间ID被保存在个人数字助理101上并被作为下一次同步请求对象的时间ID。 The time synchronization result object ID is stored on a personal digital assistant 101 as the time ID and the next synchronization request object. 个人数字助理101将返回的ID列表与其上保存的对象做比较,并据此更新其本地数据库。 Personal digital assistants list ID 101 will return to its last saved objects to compare, and update its local database.

如果该同步结果对象的结果标记值被指定为全部,则服务器107返回自上一次获取删除操作后被删除的所有对象的ID。 If the result of the synchronization flag value is specified as a result of all objects, then the server 107 returns the ID since the last acquired after deletion to delete all the objects. 如果提供有一ID列表,则该同步结果还将包含列表上每一ID的状态。 If there is provided an ID list, then the results will include the synchronization state of each ID on the list. “不匹配”状态表示该对应的对象在服务器107上不再存在。 "Mismatch" status indicates that the corresponding object on the server 107 no longer exists. “更新”状态表示该对应的对象存在于该服务器上,但已经在该获取删除操作时间后被更新。 "Updated" status indicates that the corresponding object exists on the server, but the acquisition has been deleted after the update operation time. 在这种情形下,该更新过的对象副本也被返回至个人数字助理101。 In this case, the updated copy of the object is also returned to the personal digital assistant 101.

更新、失败及无记载的结果标记值不适用于该操作。 Updating, and silent failures result tag value is not available for this operation. “ID”结果标记值会致使服务器107返回自上一次执行获取删除操作后被删除的所有对象ID。 "ID" was marked values ​​cause the server 107 to return all objects since the last execution ID get deleted after the deletion. 如果提供有一ID列表,则该服务器还将返回列表上每一ID的状态。 If there is provided an ID list, the server also returns the status of each ID on the list. 在这种情形下,该结果状态不是匹配就是不匹配,且更新后的对象副本也不用返回。 In this case, the result is that the state is not a match does not match, and the objects do not have a copy of the updated return.

接着步骤603进行到发送删除步骤605,在该步骤,个人数字助理101经由传送该同步请求对象中的发送删除对象,其包括被删除对象的对象ID,来向服务器107汇报在个人数字助理101本地数据库被删除的对象。 Following step 603 to send a Delete step 605, in this step, a personal digital assistant 101 via the transmission of the synchronous transmission be deleted object request, which includes the deleted object object ID, to the personal digital assistant 101 local to 107 reporting server database objects are deleted. 服务器107据此更新服务器数据库并回复给服务器个人数字助理101,说明已经从服务器107的资料存储区417成功删除的对象。 Server 107 server database updated accordingly and return it to the server personal digital assistant 101, indicating that the object 417 has been successfully removed from the data store server 107.

完成发送删除步骤605后,程序600继续到获取创建步骤607。 Upon completion of step 605 is sent to delete the program 600 continues to step 607 gets created. 在该获取创建步骤607,个人数字助理101发送一时间ID和一可选的资料过滤器至服务器107。 This gets created in step 607, a personal digital assistant 101 transmits a time data ID and an optional filter 107 to the server. 如果资料过滤器没有指定,则个人数字助理101找回自上一次执行获取创建步骤后在服务器107上所创建的所有资料对象。 If the data filter is not specified, the personal digital assistant 101 back from the last execution after obtaining all the information objects created on the server 107 in step created. 如果在同步请求对象中指定了资料过滤器,则仅仅返回该时间ID后新创建的符合该资料过滤器的新对象。 If you specify a data filter in synchronization request object, it simply returns the time line with the new ID newly created objects in the data filter. 在该操作中,不返回对象ID。 In this operation, it does not return object ID. 服务器107回复一组同步对象矢量,每一对象均表示一新创建的基础对象。 A set of synchronization server 107 replies vector objects, objects are each represented by a new base object is created. 该返回对象的状态值为“新匹配”,且其时间ID对应于该对象在服务器107上创建的时间。 It returns the object's state is "new match", and the ID which corresponds to the time period of the object created on the server 107.

同步请求对象中的结果ID值为全部ID时,服务器107返回所有创建的对象;结果标记值为ID时,服务器107返回所创建对象的ID,但不返回对象本身的副本。 Results object ID value of all synchronization request ID, the server 107 returns all objects created; ID tag value results, the server 107 returns the ID of the created object, but does not return a copy of the object itself. 结果标记值更新,失败及无记载不适用于该操作。 Results update flag value, no failure and does not apply to the operation described.

完成获取创建步骤607后,程序进行到发送创建步骤609,在该步骤,个人数字助理101通过在本地资料存储区搜索状态值为“新”的对象来创建一在本地资料存储区所创建的最新对象列表。 After the acquisition is completed creation step 607, the program proceeds to step 609 to send to create, in this step, a personal digital assistant 101 to create a data store created locally by the value of the "new" state of local search data storage area of ​​object-date list of objects. 该新对象随同上次发送创建操作执行的时间ID一起被发送至服务器107。 Along with the new object sends a create operation performed last time ID is transmitted to the server 107 together. 该时间ID信息被复制管理器405用来探测及解决任何潜在的资料冲突,且在可能的情况下添加物件至服务器107的数据库。 This time ID information is copied Manager 405 is used to detect and resolve any potential data conflicts, and add objects in the database, where possible, to the server 107. 在该发送创建操作,没有指定资料过滤器,且个人数字助理101在请求中为每一对象创建一临时ID或ID密钥,用来将该对象与服务器107回复的同步结果对象中的对象ID相关联。 Created in the transmission operation, the filter information is not specified, and a personal digital assistant 101 or a temporary ID to create a key for each object ID in the request, the object ID for the target object synchronization results in the server 107 replies Associated.

一旦服务器107接收到来自个人数字助理101的同步请求对象,服务器107产生相应的同步结果对象,指明在服务器107上所重新创建的新对象。 Once the server 107 receives the synchronization request from the object 101 is a personal digital assistant, server 107 generates a corresponding synchronization result objects, a new object on the server 107 indicating recreated. 该同步结果对象包括一基础对象,其可能与个人数字助理101所发送的新对象不尽相同。 The synchronization result object comprising a base object, a new object which may be transmitted to a personal digital assistant 101 vary. 如果同步请求对象中的结果标记值设为“全部”,则该同步对象包括包含在该发送创建操作中的全部对象及其子对象。 If the result value of the object tag synchronization request is set to "all", the synchronization objects comprising a transmission included in the creation of all object and its children. 其包括有显示该操作后新增的对象、在该发送创建过程中更新的新增对象及不能添加物件的失败结果等基础对象。 Which includes a display of new objects after this operation, updated in the transmission process of creating new objects and not the result of adding objects such as the failure of the underlying object. 该全部结果标记值是同时返回该对象及其成功状态值的唯一设定值。 The overall result is a tag value uniquely set value and returns successful status of the object and its value. 该成功状态值意味着该对象没有任何变动地被添加到服务器107的数据库中。 The success of the state value means that the object does not have any changes to be added to the database server 107. 如果该结果标记值设定为“更新”,则返回对象ID及其成功状态值,但不返回对象本身。 If the result flag is set to "update", the object ID and returns a successful status value, but does not return the object itself. 如果该添加物件的状态为更新,则对象ID,状态值及对象副本被返回。 If the status is updated to add the object, the object ID, status, and the value of the copy of the object is returned. 一般地,这种情形意味着有多个字段没有在原始请求中做描述,但需要由服务器107来设定。 In general, this situation means that there not be described in a plurality of fields in the original request, but needs to be set by the server 107. 在这种情形下,对象ID由服务器107设定,且包含在返回信息字段里。 In this case, the object ID is set by the server 107 and included in the return information field. 如果对于某特定对象添加失败,则该失败状态值、信息字段中的错误信息及原始对象被返回至个人数字助理101。 If a particular object is added to the failure, the failure status error value, the information field is returned to the original object and a personal digital assistant 101.

如果同步请求中的结果标记值设定为“ID”,则该同步结果对象仅仅包括服务器创建的对象ID及所发送的所有对象的状态--没有任何对象被返回至个人数字助理101。 If the result of the synchronization request flag value is set to "ID", the result of the synchronization state including only the object to create the object ID of the server and all the objects transmitted - no object is returned to the personal digital assistant 101. 如果该结果标记值设定为“失败”,则该同步结果对象仅仅包含临时ID、对象状态及失败的原因信息。 If the result flag is set to "failure", the synchronization comprises only a temporary result object ID, an object status and failure cause information. 如果该结果标记值设定为“无记载”,则关于操作成功或失败与否的任何信息都不返回至个人数字助理101。 If the result flag value is set to "silent", any information about the success or failure of the operation or not is not returned to the personal digital assistant 101.

如果该结果标记值设定为“全部”或“更新”,则客户端应依据同步结果对象中的结果来更新其本地资料存储区。 If the result flag value is set to "All" or "update", the client should be based on the results of the synchronization result object to update its local data store. 如果该结果标记值设定为“失败”或“无记载”,则个人数字助理101应采取相应步骤以确保本地信息的正确性。 If the result flag is set to "failed" or "silent", the personal digital assistant 101 should take steps to ensure the correctness of local information. 如果该同步结果对象返回的状态值为“失败”,则个人数字助理101应采取相应步骤去修正该问题,有可能还需要再次进行相应的操作。 If the synchronization result object returned status is "failure", the personal digital assistant 101 should take appropriate steps to fix the problem, there may also need the appropriate action again. 一旦确认该发送创建操作在服务器107上已完成,正如在相应的同步结果对象中所指明的那样,原始对象从本地资料存储区被删除。 Upon confirmation that the transmission has been completed on the creation server 107, as in the corresponding synchronization target as specified in the results, the original object is deleted from the local data store. 如果一新创建对象符合一过滤器,则起将会在下一个同步过程中被重新创建。 If a new object is created in line with a filter, then play the next synchronization process will be re-created. 这样能确保个人数字助理101对该对象有一正确的表述。 This will ensure that the personal digital assistant 101 to the object has a correct statement. 在某些情况下,服务器107将在将该对象添加至数据库之前填充缺省字段或更新新对象。 In some cases, added to the server 107 before the database is populated with default field or update the object in the new object.

如果个人数字助理101不能决定服务器107是否已完成一添加操作,则个人数字助理101不知道是否所有的添加请求是否被服务器107所接收和(或)处理。 If a personal digital assistant 101 can not determine whether the server 107 has completed the first add operation, a personal digital assistant 101 is not sure whether all the addition request is received 107 and (or) the processing server. 在个人数字助理101再次与服务器107连接时,其将试图去确定先前的添加操作是否成功。 When connected to a server 107 again in a personal digital assistant 101, it will attempt to determine whether the previous add operation is successful. 如果该信息仍然不能确定,则个人数字助理101,或更精确地说是执行该操作的移动式商业应用程序310将提示用户再次提交该添加请求或从本地资料存储区移除该操作请求。 If this information still can not be determined, the personal digital assistant 101, or more precisely, the mobile business application to perform the operation 310 will prompt the user to submit the request again to add or remove the operation request from a local data store.

一旦该发送创建步骤609完成,则程序将继续到发送更新步骤611,在该步骤,个人数字助理101将自上次执行发送创建操作后在本地资料存储区有变动的对象信息发送到服务器107。 Once this step is created to send 609 is completed, the program will continue to send updates to step 611, 107 sent to the server object information in this step, a personal digital assistant 101 since the last creation are subject to change after sending in the local data store. 个人数字助理101利用上次发送创建操作的时间ID来填充同步请求对象中的时间ID字段,同时其还发送一组同步基础对象矢量。 Using a personal digital assistant 101 sends a create operation time ID to the last fill time synchronization request object ID field, while it also transmits a sync base object vector.

对于在本地数据库存储区有变动的每一对象,个人数字助理101创建一同步基础对象。 For each object has a change in the local database storage area, a personal digital assistant 101 to create a basis for the synchronization object. 该同步基础包含同步基础对象中所表述的某次特定变更的时间ID。 The base comprises a sync ID by which a given time synchronous changes in the base object expressed. ID字段用该特定对象的唯一身份标识来填充。 ID field is filled with a unique identification of the specific object. 个人数字助理101还提交一更新的基础对象于同步对象中的基础对象字段中。 Personal digital assistant 101 also submitted an updated base object in the synchronization object base object field. 只有有变动的值才会被表述。 Only changes in value will be expressed. 旧值被放置在另一基础对象中,包括旧值及属性等,不包括更新过的值。 The old value is placed on another base object, the properties including the old value and the like, does not include the updated value. 唯一需要被表述的值为在更新过的基础对象中所列示的属性的原始值。 The only original value is expressed in the value of the updated base object properties as listed. 例如,如果一个对象值变更,则其原始值应放置在旧值对象中,而其新值则被放置在更新的基础对象中。 For example, if the value of an object is changed, it should be placed at the original value of the old value of the object, and its new value is then placed in the base object update. 该同步基础对象中的ID字段为变更的目标对象唯一的可靠标识。 ID field of the synchronous base object as the target object changes only reliable identity.

下面描述的是由服务器107的返回信息,该信息是基于一为发送创建操作而设置的特定结果ID。 Described below is the information returned by the server 107, the information is specified based on a result of creation and transmission ID provided.

如果结果ID值设定为“全部”,服务器107则传回所有已被成功更新对象的ID和一错误信息,该错误信息显示没有被更新的对象。 If the result of the ID value is set to "All", all server 107 returns have been successfully updated object ID and an error message, the error message is displayed object is not updated. 在完成所有的更新操作后所有对象的当前值会被传给客户端。 After completing all the update operation the current value of all the objects will be passed to the client.

如果结果ID值设定为“更新”,服务器107则传回符合要求的每一对象的状态。 If the result of the ID value is set to "update", the server 107 returns a status of each object meet claims. 那些已被更新对象的信息将不会传回。 That information has been updated object will not return. 对于没有被成功更新的对象,传回的信息包括已更新对象的ID、该对象被存储于服务器107的状态和当前版本。 For the object is not successfully updated, the returned information includes the ID of the object has been updated, the object is stored in the state and the current version of the server 107. 个人数字助理101能用这些对象的当前值更新其本地的资料存储区。 Personal digital assistant 101 of these objects can be used to update the current value of its local data store.

如果结果ID值设定为“ID”,服务器107则传回所有符合要求对象的ID和状态。 If the result value is set to ID "ID", the server 107 returns the ID and status of all objects comply with the requirements. 无对象传回至个人数字助理101。 No object returned to a personal digital assistant 101.

如果结果ID值设定为“失败”,服务器107传回的结果将仅包括不能在服务器107上更新的对象的ID、状态和失败信息。 If the result of the ID value is set to "failure", the server 107 returns the results will include not only the updated object ID on the server 107, the status and failure information. 服务器107不会传回该对象的当前版本。 Server 107 does not return the object's current version.

如果结果ID值设定为“无记载”,服务器107不会传送有关更新成功与否的任何信息给个人数字助理。 If the result ID value is set to "silent", the server 107 does not send any information about updating to the success of a personal digital assistant.

在执行发送更新步骤611后,程序进行至一同步过滤步骤613,在该步骤使用者可选择保存一资料过滤器以供后续使用。 After the execution of step 611 transmits the update, the routine proceeds to step 613, a synchronization filter, the option to save a data filter in this step the user for subsequent use. 该资料过滤器存储于个人数字助理101在本地的资料存储区的过滤器列表中。 The filter data stored in the personal digital assistant 101 filters in the local data storage area list. 服务器107也可以保存资料过滤器,并为每一资料过滤器设一使用者ID和资料过滤器ID,以便在同步过程中个人数字助理101只需发送资料过滤器的ID即可,而非实际的资料过滤器。 Server 107 can also save data filter, and set a user ID and data ID for each filter filters data to a personal digital assistant 101 is able to send data to the filter ID in the synchronization process, rather than the actual the data filter. 如果被保存的过滤器正在本地运行,除了资料过滤器的查询字符串、过滤器名称和该资料过滤器是否要同步外不会存储其它的信息。 If the saved filter is running locally, in addition to whether the query string, the filter name and filter the data you want to synchronize data filter outside will not store other information. 如果该资料过滤器是在服务器107上运行,被传回的ID清单也会与资料过滤器一起保存。 If the data filter is running on the server 107, a list of ID is passed back to the data will be saved with the filter.

资料过滤器的同步操作即可成批进行,也可一次只执行一个。 Synchronization data filter can be carried out in batches, it can be executed only one time. 对于每一资料过滤器,个人数字助理101,或者更准确的说执行该资料过滤器的电子商务应用程序310提供一与上次执行同步操作时使用的资料过滤器相匹配的ID清单。 For each data filter, a personal digital assistant 101, or more accurately, the implementation of the data filter e-commerce application 310 provides a list of ID and data synchronization filters used to match the last operation performed. 个人数字助理101传送同步请求对象的矢量至服务器107。 Vector personal digital assistant 101 transmits the synchronization request to the server 107 objects. 每一同步请求对象均包含一查询字符串和一同步对象的矢量。 Each synchronization request contains a query string objects are vectors and a synchronization object. 在每一同步对象内,由个人数字助理101填写该对象的ID和时间ID。 Within each synchronization object, a personal digital assistant 101 ID ID of the object and the time to fill out.

服务器107则传回同步结果对象的矢量。 Back to the synchronization server 107 is a vector result objects pass. 该矢量将含有对应于每一同步请求对象的一同步结果对象。 The vector containing the synchronization request corresponding to each object is a result of the synchronization object. 每一同步结果对象将包含一被执行过的资料过滤器,显示该过滤器执行时间的ID和同步对象的矢量。 Each object will contain a synchronization result to be executed in the filter information, the display of vector ID and time synchronization object execution of the filter. 每一同步对象均有一字段用下述四种状态描述其在结果信息中的存在方式。 Each field is a synchronization object has the following four states whose presence in a manner result information.

如果一同步对象被标为“相同”,则该对象的ID已包含在请求信息ID内。 If a synchronization object is marked as "same", then the object ID included in the request information ID. 换句话说,个人数字助理101已经知道该对象匹配的过滤器。 In other words, a personal digital assistant 101 already knows the object matching the filter. 而且,该对象自同步请求对象内的时间ID显示的时间以来尚未被更新过。 Moreover, since the object from synchronous request within the target time period ID display it has not yet been updated. 所以个人数字助理101不需要对本地资料器存储做任何更动。 So do not require a personal digital assistant 101 Any changes to the local data store. 服务器107可选择不传送该对象至个人数字助理101以减少网络上的通讯量。 Server 107 may choose not to transmit the object to the personal digital assistant 101 to reduce the traffic on the network. 如果该对象的ID没有包含在结果信息内,个人数字助理仍可假定该对象与过滤器匹配并且未发生变动。 If the object ID is not included in the result information, a personal digital assistant is still assumed that the object matches the filter and the change does not occur. 随后,个人数字助理101将该对象在本地的副本上的时间ID更新为同步结果对象内提供的时间ID。 Subsequently, the personal digital assistant 101 times the object ID on the local copy of the ID within the update time synchronization results provided by the object. 时间ID被更新后,应保存该对象在本地的副本的状态,而不论其先前状态如何。 ID is updated after time, you should save a copy of the object in the local state, regardless of how its previous state. 遗漏的ID则留在与该过滤器相匹配的ID清单内。 Missing ID kept in the ID list of the matched filter.

如果该同步对象被标为“新匹配”,则同步请求对象内列明的已知ID中没有该对象的ID。 If the synchronization object is marked as "new match", set out in the known object ID of the object ID is no synchronization request. 即该对象与前一次被执行同步操作的过滤器不相匹配。 I.e., the object does not match the primary synchronization operation is performed with the pre-filter. 在这种情形下,整个对象被传回至个人数字助理101。 In this case, the entire object is passed back to the personal digital assistant 101. 个人数字助理101将其存入本地存储区,同时将时间ID更新为同步请求对象内提供的时间ID。 A personal digital assistant 101 stores it in the local store, while the time synchronization request ID is updated to the time provided in the object ID. 在个人数字助理101的资料存储区该对象的状态被设为“保存”,该对象的ID也添加至与过滤器相匹配的ID本地清单。 In the personal digital assistant state data storage area 101 of the object is set to "save", ID of the object to be added to the local list of ID that matches the filter.

如果同步对象的状态为“更新”,其对应ID则在同步请求对象发送之前次结果信息内。 If the object's state synchronization "update", which corresponds to the ID in the synchronization request message before the target transmission time results. 但是自同步请求内提供的对象的时间ID显示的时间以来,该对象已被更新过。 But since the time synchronization request object within the time provided ID display, the object has been updated. 整个对象被传至个人数字助理101。 The entire object is passed to a personal digital assistant 101. 个人数字助理101将其保存至本地资料存储区,同时将时间ID更新为同步请求对象内提供的时间ID。 Personal digital assistant 101 to save it to the local data store, while time synchronization request ID is updated to the time provided in the object ID. 在个人数字助理101的资料存储区该对象的本地状态被设为“保存”,该对象的ID也被保留在与过滤器相匹配的ID清单内。 In the local state data storage area 101 of the personal digital assistant of the object is set to "save", ID of the object has also been retained in the filter list ID to match.

在与先前的特定过滤器相匹配的同步请求内,发送的同步对象状态为“不匹配”。 Synchronization request in the previous particular filter matches, the synchronization status transmitted to the object "no match." 但是该对象已经被更新或删除,所以不再与相应的查询字符串相匹配。 But the object has been updated or deleted, it no longer matches the corresponding query string. 个人数字助理101则在本地资料存储区将该对象状态设为“陈旧”,并将该对象的ID从与过滤器相匹配的ID清单中移除。 Personal digital assistant 101 in the local data store the object state is "stale" and ID of the object is removed from the list of ID that matches the filter medium. 如果本地资料存储区内并没有该对象,那么个人数字助理仅将该对象的ID从ID清单中移除。 If the local data storage area and the absence of the object, personal digital assistants removed from the ID list only the ID of the object.

个人数字助理101保存每一被执行同步操作的资料过滤器,以及表明该过滤器上一次被执行的时间的时间ID,每一次该过滤器被执行时与的匹配的ID清单。 Personal digital assistant 101 to save data for each filter is synchronous operations, as well as show time ID time of the filter is performed once each time the list that matches the ID when executed by the filter.

除同步过滤请求外,个人数字助理101也提供指示传回信息的数量的结果ID。 In addition to filtering the synchronization request, the personal digital assistant 101 provides information indicating the number of results returned ID. 下面列出的即是个人数字助理101基于该ID可得到的结果。 Listed below is a personal digital assistant that is based on the result of the ID 101 is obtained.

如果结果ID的值为“全部”,服务器则传回与资料过滤器内的查询字符串相匹配的所有对象。 If the value of the result ID "All", the server returns all the objects in the query string in the data filter to match. 该对象的状态会添加进去,然后传回整个对象。 State of the object will be added to it, and then return the entire object. 如果某一ID不再与过滤器相匹配,该对象则被设为“不匹配”,该对象的ID被传回。 If an ID no longer matches the filter, the object were set to "no match", the object ID is passed back. 此时,没有对象传回个人数字助理101。 At this point, there is no object to return a personal digital assistant 101.

如果结果ID的值为“更新”,服务器107则传回与资料过滤器相匹配的所有对象的ID,而不是整个对象,因为这些对象的状态为“相同”。 If the result of the ID value of "Update", the server ID 107 transmitted back to all objects and data matches the filter, rather than the entire object, such as the state of the object is "the same." 被传回的是被标为“更新”或“新匹配”的对象。 Passed back is labeled "update" or "new match" object. 同时,服务器107也指出不再与过滤器匹配的对象,将其状态设为“不匹配”。 Meanwhile, the server 107 also pointed out that the object is no longer matched filter, its status is set to "no match."

如果结果ID的值为“ID”,服务器107则传回被标为“更新”或“新匹配”的对象,同时指出不再与过滤器匹配的对象,将其状态设为“不匹配”。 If the result of the ID is "ID", the server 107 is returned marked "Update" or "new match" object, noting that the object is no longer matched filter, its status is set to "no match." 对于任何标为“相同”的对象,服务器107不会传回其ID或对象。 For any object marked as "same", which does not return a server ID 107 or the object.

如果结果ID设为失败或未记载,则不执行本步骤。 If the result of failure or set ID described, this step is not performed.

完成同步过滤步骤613后,同步程序600即进行至步骤615,至此整个同步程序结束。 After completion of the synchronization filtration step 613, i.e., the synchronization routine 600 proceeds to step 615, to this end the entire synchronization procedure. 尽管图6的同步程序600不是一串连续的步骤,但这并不是本发明主题所必需的。 Although synchronization program 600 of FIG. 6 is not a string of successive steps, but not the subject matter of the present invention is required. 举例来说,所有的步骤可结合成一单一的同步请求对象,由服务器107按照图6揭示的次序或其它次序依次执行不同的操作。 For example, all the steps may be combined into a single target of the synchronization request, the server 107 disclosed in FIG. 6 according to the order or other order sequentially perform different operations.

图7是在支持个人数字助理101的服务器107上运行的资料管理程序700的流程图。 Figure 7 is a flow chart of data management in support of programs that run on personal digital assistant server 107 101 700. 该程序始于一开始步骤701,并直接进行至一资料接收步骤703。 The program begins with a start step 701, and proceeds directly to a data receiving step 703. 比较典型的例子是,步骤703与一同步步骤513(图5)相连接。 Typical example, the step 703 is connected to a synchronization step 513 (FIG. 5). 从步骤703到一新资料步骤705后,资料管理程序700判断在步骤703收到的资料对象的状态值是否为“新”(如图5所述)。 In step 700 determines target data 703 received from the new data in step 703-1 after step 705, the data management program status is "New" (FIG. 5). 如果该资料是新的,程序即转入一插入资料步骤707,由资料撷取管理器(图4)创建一新资料对象并将其插入资料存储器417(图4)的合适位置。 If the information is new, the program proceeds to a step 707 data is inserted, the data acquisition manager (FIG. 4) to create a new data object and insert data memory 417 (FIG. 4) in place. 随后程序进行至传送状态步骤715,在该步骤生成一传回信息,通知传送资料对象的个人数字助理101资料创建操作的结果。 The program then proceeds to step 715 transferring state, generating a return message at this step, notification transmitted data object information to create a personal digital assistant 101 result of the operation.

如果在步骤705,资料管理程序700确定该资料对象不是新的,而是被传送它的个人数字助理101指定为“更新”的对象,那么程序即进行至核对时间ID步骤709,由程序700比对被传送来的资料对象的时间ID和存储的相应对象的时间ID。 If, at step 705, the data management program 700 determines that the data object is not new, but it is transmitted personal digital assistant 101 designated as "updating" of the object, the program that is the time to check the ID step 709, 700 than by the program time period corresponding object ID and the stored ID information is transmitted to the object. 如果存储的资料对象比传送的资料对象新,那么该存储的对象不会被更新,程序直接跳至传送状态步骤715,发送一传回信息通知个人数字助理101该更新操作失败。 If the stored data object is newer than the data transfer target, then the stored object is not updated, the program jump directly to the delivery status step 715, send a return message to inform the personal digital assistant 101 update operation failed. 如果在步骤711,程序确定传送的资料对象上的时间ID晚于该存储的对象上的时间ID,那么程序转入资料同步步骤713,用传来的对象取代存储的对象。 If, at step 711, the program determines the temporal ID time later than the ID information stored on the object transfer object, then the routine proceeds to step 713 data synchronization, substituted with an object stored in the object came. 随后,在传送状态步骤715,发送一传回信息通知个人数字助理101资料更新成功。 Subsequently, in step 715 the delivery status, send a return message to inform personal digital assistant 101 information updated successfully. 需要注意的是,上述程序是不断重复的,因为个人数字助理101传送给服务器107的资料对象可以不只一个,而每一传送的资料对象需在一个同步操作完成前由程序700处理。 Note that the above procedure is repeated, as a personal digital assistant 101 to transmit data object server 107 may be more than one, and each data object is transmitted in a synchronous operation required prior to completion of the processing by the program 700.

图8是在服务器107(图1)上执行的更新通知程序800的流程图。 FIG 8 is a flowchart of an update notification program executed on the server 107 (FIG. 1) 800. 程序800始于一开始步骤801,然后直接到一初始化交易步骤803,在远程资料存储器417(图4)一些针对资料的操作已经完成。 800 program starts a start step 801, and then directly to a transaction initialization step 803, 417 (Figure 4) for information on some of the operations have been completed in the remote data memory. 在本较佳实施方式中,该操作可以是更新、添加或删除,只要与个人数字助理器101(图1)的使用者的ID相连的资料过滤器相符即可。 In the preferred embodiment according to the present embodiment, the operation may be updated, added or deleted, the information filter coupled to the user as long as a personal digital assistant 101 (FIG. 1) to match the ID. 每一对操作/资料过滤器都有一加权值、一临界值,或者一累积加权值(另一较佳实施方式)。 Each operation / data filter has a weighting value, a threshold value, or a weighted cumulative value (the other preferred embodiment). 在某些情形下,该加权值和临界值可能相同。 In certain instances, the weight value and the threshold value may be the same. 交易在步骤803被执行后,在检索加权值步骤805,程序将该操作以及该操作的目标值与服务器107上的资料过滤器清单进行比对。 Transaction is performed after step 803, for comparison at 805, the program operation and the information on the filter list 107 to retrieve the weighted value of the step operation target server. 如果该操作与某一资料过滤器相符,那么就会检索到那一对操作/资料过滤器所对应的加权值。 If the operation is a data filter matches, it will retrieve the weighting value that the operation / data corresponding to the filter. 在累积加权值实施方式中,还会检索到一个累积加权值。 In the embodiment described the cumulative weight value, it will retrieve a cumulative weighted value. 累积加权值是某一对操作/资料过滤器在程序800先前的多次反复操作中得到的各加权值的累加数。 Cumulative weighted value of each weight value is accumulated a certain number of operations / data filter 800 obtained in the preceding program operation repeatedly. 随后,程序进行到步骤807,比较加权值是否超过临界值。 Then, the routine proceeds to step 807, comparing the weighted value exceeds the threshold value. 在累积加权值实施方式中,则是将一对操作/资料过滤器的累积加权值与临界值相比对。 Cumulative weighted value embodiments, the pair of operating sucked / cumulative weighted value with a threshold comparison data filter pair.

如果加权值或者是累积加权值没有超过临界值,程序即转入重算加权值步骤815,在加权值实施方式中,则是直接跳至结束步骤817。 If the weight value or a weighted cumulative value does not exceed the threshold value, the program proceeds to step 815, recalculating the weighting value, weighting values ​​embodiments, the step 817 directly to termination. 在结束步骤817,该特定操作的处理程序完成。 At the end of step 817, the processing routine is completed for that particular action. 在重算加权值步骤815,将在步骤805检索到的加权值加到累积加权值上,然后将新的累积加权值存入资料存储器417,取代旧累积加权值。 Recalculating the weighted value in step 815, the retrieved at step 805 the weighting value is added to the cumulative weighted value, then a new cumulative weighted value information stored in memory 417, replacing the old value of the cumulative weight. 最后,程序转入结束步骤817。 Finally, the program proceeds to an end step 817.

在步骤807,如果加权值或是累积加权值超过了临界值,则程序转入发送信息步骤809。 In step 807, if the weight value or a cumulative weighted value exceeds the threshold value, the routine proceeds to step 809 to send information. 在步骤809,发送一通知信息至个人数字助理101,要求或建议其更新本地资料存储器。 In step 809, a notification message is sent to a personal digital assistant 101, required or recommended updates its local data storage. 该通知信息是利用短讯服务(ShortMessaging Service,SMS)从服务器107传送到个人数字助理101上的。 The notification information is the use of SMS (ShortMessaging Service, SMS) transmitted from the server 107 to the personal digital assistant 101. SMS是寻呼型服务,为熟知该项技艺的人士所熟知。 SMS paging type services to persons skilled in the art that is well known. 它仅是实施本发明所使用的一种传送媒介而已。 It is only a transfer medium used in embodiments of the present invention only. 每一SMS信息均包含一资料域名、需要执行的特定资料过滤器的名称或ID、需要执行的操作之类型以及该操作是否要立即执行。 Each SMS message contains information on a domain name, the specific information required to perform the filter name or ID, type of operation to be performed and whether the operation is to be performed immediately. 如果一SMS信息标有“立即”,则个人数字助理101可能需要建立一通讯联机以便立即执行同步操作。 If a SMS message marked "immediately", the personal digital assistant 101 may need to establish a communication connection in order to perform synchronous operation immediately. 如果该SMS信息没有标上“立即”,则个人数字助理101既可立即执行同步操作,也可等待安排的下一同步时间段,或是将该信息存入一使用者日历,通知有同步本地资料存储器需求的使用者。 If the SMS message is not superscript "immediately", the personal digital assistant 101 can perform an immediate synchronization, but also wait for the next scheduled synchronization period, or the information into a calendar user, notice synchronous local user data memory requirements.

完成步骤809后,程序转入接收确认步骤811,步骤811是一个可选择的步骤,因而在图中用虚线表示。 After completion of step 809, the program proceeds to step 811, reception confirmation, the step 811 is an optional step, and thus by a broken line shown in FIG. 如果程序800在步骤809发出SMS信息后需要得到对方的确认,该确认信息可采用SMS信息的形式,从个人数字助理101传送至服务器107,或是采用同步请求的形式,该同步请求与通知信息中指定的资料过滤器相符。 If at step 800 the program sent SMS message 809 needs to be an acknowledgment, the acknowledgment message may take the form of SMS messages, from a personal digital assistant 101 transmits to the server 107, or in the form of synchronization request, the synchronization request message and notification consistent with the information specified in the filter. 如果确认信息没有被服务器107上的程序800收到,程序将回到步骤809,重新发送通知信息。 If the acknowledgment information is not a program on the server receives 107 800, the program returns to step 809, re-sending the notification information. 如果在步骤811收到了确认信息或是在步骤809没要求发送确认信息,程序即转到清除加权值步骤813,重设累积加权值(如果有的话)。 If at step 811 the acknowledgment message received at step 809 is not required, or send a confirmation message, i.e. the program step 813 to clear the weighting values, to reset the cumulative weighted value (if any). 最后,程序进行至结束步骤817,在步骤801初始化的交易执行结束。 Finally, the program proceeds to the end step 817, step 801 initialization trade execution at the end.

图9是在个人数字助理101(图1和图2)的显示屏203(图2)上显示的一典型的主页面901。 FIG 9 is an exemplary main screen that appears on a personal digital assistant 101 (FIGS. 1 and 2) display screen 203 (FIG. 2) 901. 使用者一执行实施本发明的应用程序,该主页901即显示在屏幕上。 Execute a user application embodiment of the present invention, the home page 901 is displayed on the screen. 如图3中解释的那样,该应用程序可以是移动式商业应用程序310,移动式医院应用程序320,移动式物流应用程序330,移动式金融应用程序340。 3 explained above, the mobile application may be a business application 310, 320 mobile hospital applications, mobile applications stream 330, the mobile financial application 340. 为方便图9~12的描述,仅以移动式商业应用程序310为例。 For convenience of description FIGS. 9 to 12, only mobile business application 310 as an example.

在主页901的最上端是一标题栏903,包含的内容有:一标题“主页面”、当前时间“11:25a”。 In the top of the home page 901 is a title bar 903, the content contains: a title "Main" current time "11: 25a". 标题栏903下面是一“欢迎”信息905,该信息可依情况而变。 Below the title bar 903 is a "Welcome" message 905, the information to follow the situation becomes. 信息905下面则是几个屏幕图标,它们分别是一目录图标907,一订单图标908,一帐户图标909,一同步图标910。 905 The following information is several screen icons, which are a directory icon 907, an icon 908 orders, a account icon 909, a sync icon 910. 每一屏幕图标(907~910)都代表者电子商务应用程序310的某一特定功能。 Each screen icons (907 to 910) are representatives of a particular e-commerce application function 310. 使用者用指示笔207(图2)点击任一图标即可执行电子商务应用程序310的相应功能。 User with a stylus 207 (FIG. 2) to execute the corresponding function Click any electronic commerce application 310 is an icon. 具体而言,目录图标907透过执行个人数字助理101上的软件使得使用者可以浏览一产品档案中的产品目录,甚至可以做某些修改;订单图标908可使使用者发出采购订单,或是对订单作一些修改;帐户图标909能使使用者浏览或修改其帐号;同步图标910可使使用者定义、重新定义或改变其同步过滤器。 Specifically, the directory icon 907 through the execution of software on a personal digital assistant 101 allows the user to browse a product catalog files, and can even do some modifications; Orders icon 908 allows the user to issue a purchase order, or the order to make some modifications; account icon 909 enables the user to view or modify their account; sync icon 910 allows the user to define, redefine or change its synchronization filters. 图9~12的例子即是关于目录图标907和在电子商务应用程序中与一产品目录相对应的产品档案或数据库的。 Examples 9 to about 12, i.e. directory icon 907 and e-commerce applications with a corresponding product catalog or database files.

在屏幕图标907~910下面是一状态区913,包括“帐号”、“订单”、“目录”、“同步”等四个选择键,与屏幕图标909、908、907、910一一对应。 In the following screen icons 907 to 910 is a status area 913, including the "account", "order", "catalog", "Sync" and other four selection keys, the screen icon 909,908,907,910 correspondence. 使用者用指示笔选择某一个键即可运行相应的软件,该软件与通过屏幕图标运行的软件相同。 The user selects a certain key with a stylus to run appropriate software, and the software run by the same screen icons. 除了对应于屏幕图标的四个选择键外,状态区913还包含一“档案”键,该“档案”键的功能与Microsoft Word等程序中的相似,使用者透过此键可执行开启、关闭、保存文档等操作。 In addition to the four icons corresponding to the screen selection key, the status area 913 further comprises a "file" key, the function keys similar to the program, such as Microsoft Word the "Profile", executable user through the key opening, closing , save the document and other operations. 此外,状态区913还包括几个状态图标:一电脑图标915,表明个人数字助理101是否与一远程服务器107(图1)相连;一指示笔图标917,表明个人数字助理101的指示笔207是否处于可用状态;一翻上页图标919,使用者用指示笔207点击该图标(一向上的箭头)即可翻动主页901。 In addition, the status area 913 also includes several status icons: a PC icon 915, indicating a personal digital assistant 101 is connected to a remote server 107 (FIG. 1); a stylus icon 917, indicating a personal digital assistant 207 whether the stylus 101 in a usable state; the pages icon on page 919, a user with a stylus 207 click on the icon (an upward arrow) to flip page 901. 翻上页图标919适用于主页901不能一次在显示屏203内全部显示的情形。 Turn the page icon 919 applies to the case can not be a home page 901 in the display shows all within 203. 当然,图标919也可以是一个向下的箭头,或者是既有一个向下的箭头,又有一个向上的箭头,这取决于主页901的大小和主页901在显示屏203上的相对位置。 Of course, the icon 919 may be a down arrow, or both a downward arrow, an upward arrow another, depending on the relative size and position of the home 901 home 901 on the display screen 203.

图10是电子商务应用程序310(图3)的编辑过滤器页面1001显示于个人数字助理101(图1,图2)的显示屏203(图2)上的示意图。 On the schematic diagram (FIG. 2) FIG. 10 is an electronic commerce application 310 (FIG. 3) of the filter editor page 1001 displays a personal digital assistant 101 (FIG. 1, FIG. 2) a display screen 203. 使用者用指示笔207点击同步图标910(图9)或是在状态区913内的同步选择键显示的菜单中选择相应功能,编辑过滤器页面1001即会显示在显示屏203上。 Synchronous user clicks on the icon 910 (FIG. 9) with a stylus 207 or a synchronization selection key 913 in the status area of ​​the display menu to select an option, Edit Filter page 1001 is displayed on the display 203. 与主页901相似(图9),页面1001包含一标题栏1003,其含有标题“编辑过滤器”、当前时间“4:54p”。 And page 901 is similar (FIG. 9), page 1001 includes a title bar 1003, which contains the title "Edit Filter" current time "4: 54p". 页面1001也含有一状态区1013和状态图标1015、1017、1019,其功能与状态区913和状态图标915、917、919(图9)相似。 1001 page 1013 also contains a status area, and status icons 1015,1017,1019, its function and the state and status icons 915,917,919 region 913 (FIG. 9) is similar.

页面1001还有一缩放图标1021,其能放大或缩小页面1001的尺寸;一取消图标1023,其能结束正在运行的程序,回到前一页面,如主页901。 There is also a zoom icon 1001 page 1021, which can enlarge or reduce the size of the page 1001; a cancel icon 1023, which will end programs that are running, back to the previous page, such as the home page 901. 当然,和图9~12中的其它图标、箭头、菜单一样,缩放图标1021和取消图标1023也是用指示笔207来点选的。 Of course, and in FIGS. 9 to 12 other icons, arrows, menus, like zoom icon 1021 and the icon 1023 is canceled by clicking with a stylus 207. 尽管使用何种用户接口对于本发明精神来说并不重要,但是下面几图都要用到指示笔207和显示屏201。 Although the user interface which is not critical to the spirit of this invention, but the following should be used several FIG stylus 207 and a display screen 201.

编辑过滤器页面1001还有几个区域,其能使用户指定资料过滤器。 Edit Filter page 1001 there are a few areas, which enables the user to specify data filters. 例如,用户在名称区1005输入资料过滤器名“全部产品”后,如果该“全部产品”过滤器已经存在,电子商务应用程序310即搜索出该过滤器上的信息,如果该“全部产品”过滤器不存在,电子商务应用程序310会使其创建一个新资料过滤器。 For example, the user inputs the name of district 1005 data filter name after "all products", if the "All products" filter already exists, e-commerce application 310 that is to search out the information on the filter, if the "All products" filter does not exist, it will be 310 e-commerce applications to create a new data filter. 一同步区1007可使用户选定是否将相应的资料过滤器包括在个人数字助理101的同步程序中。 A synchronous area 1007 allows the user to select whether the corresponding filter information included in a personal digital assistant synchronization program 101. 在本例中,全部产品资料过滤器并未包含在同步程序中,因为同步区1007没有标记。 In this case, all of the product data filters are not included in the synchronization process, the synchronization area because 1007 is not marked. 如果一资料过滤器所对应的数据库不经常的变动,该资料过滤器可以不包含在同步程序中。 If a data filter corresponding database changes infrequently, the data filter may not be included in the synchronization procedure. 但是某些资料过滤器如订单资料过滤器(图中未标示),则需要同步,因为用户或者是销售人员需要随时了解公司库存发生的变动。 However, some data such as orders filter data filter (not labeled), you need to synchronize, because the user or salesperson needs to keep abreast of changes in the company's stock occurred.

上次同步区1009显示的是日期“5/25/01”和时间“4:38:40PM”,表明全部产品资料过滤器上一次同步的日期和时间。 Last synchronized display area 1009 is the date "5/25/01" and the time "4:38:40 PM", indicate the date and time on all the product information filters last synchronization. 搜索字符串1011则显示一实际对应的资料过滤器,其用熟悉本技艺的人士能够辨认的语法表示。 1011 displays a search string corresponding to the actual data filter, with which those skilled in the art can identify syntax representation. 在本例中,资料过滤器指定全部产品资料过滤器搜索产品数据库中的所有纪录,即用“PrName”表示产品数据库中的某一属性,用“=”表示搜索并显示等于*的纪录。 In the present embodiment, the data filter specifies all history information and filters all product database search, i.e. a "PrName" represents a product database on a property by "=" * denotes searching and displaying equal record. 由于*是一通用符号,所以该资料过滤器会显示产品数据库中的全部纪录。 Since * is a common symbol, so that the filter will display all data records in the product database.

可以用Backus Naur Form(BNF)符号来表示资料过滤器或查询字符串,其符号具体说明如下。 Can Backus Naur Form (BNF) notation query string or data filter, as explained below its sign.

filter=“(“filtercomp”)”filtercomp=and or simpleFilterand=“&amp;”filterlistor=“”filterlistfilterlist=1*filtersimpleFilter=attributeName filtertype valuefiltertype=“==”“>=”“<=”“!=” filter = "(" filtercomp ")" filtercomp = and or simpleFilterand = "& amp;" filterlistor = "" filterlistfilterlist = 1 * filtersimpleFilter = attributeName filtertype valuefiltertype = "==" "> =" "<=" "=!"

属性名是文字或数据组成的,与产品数据库或档案中的一栏相对应。 Attribute names are composed of text or data, and a bar product database or file corresponds. 二进制不会在资料过滤器中使用。 Binary data will not be used in the filter. 对于某一属性,某一个值可符合任何允许的登录,如一个篮球的价格可以是任何数值;一个产品的名称则可以是一名词,如“baseball”。 For a property, a certain value can be allowed to meet any login, such as the price of a basketball can be any value; the name of a product can be a noun, such as "baseball".

图11是移动式商业应用程序310的搜索产品页面1101显示于个人数字助理101(图1、图2)的显示屏203(图2)上的示意图。 FIG 11 is a mobile business application product search page 1,101,310 is shown in the schematic diagram (FIG. 2), a personal digital assistant 101 (FIG. 1, FIG. 2) a display screen 203. 页面1101是一登录页面,利用此页面使用者或销售人员用显示屏203和指示笔207可定义或修改资料过滤器。 1101 is a page login page, use this page to define the user or salesperson 207 or modify data filter 203 with a display and a stylus. 与主页901(图9)和编辑过滤器页面1001(图10)类似,页面1101也包括一标题栏1103,其含有页面名称“查询产品”和当前时间“11:38a”;一状态区1113;三个状态图标1115、1117和1119。 And Home 901 (9) and Edit Filter page 1001 (Figure 10) Similarly, page 1101 also includes a title bar 1103, which contains page name "Query product" and the current time "11: 38a"; a state district 1113; three status icons 1115,1117 and 1119. 所有这些与图9和图10的标题栏、状态区、状态图标具有相似的功能。 All of these and Figures 9 and 10, the title bar, status area, the status icons have similar functions. 在标题栏1103的下面,页面1101有一执行图标1105和一高级过滤图标1121。 Below the title bar 1103, pages 1101 and 1105 there is a icon to perform a high-level filter icon 1121. 当用户点选执行图标1105时,一对应于显示于显示屏幕1101上信息的当前资料过滤器即被建立。 When the user click an execution icon 1105, a current corresponding to the display data to the display screen on the filter information 1101 i.e. establishment. 在本例中,该当前资料过滤器和上文图10所描述的一样,即“PrName==*”。 In the present embodiment, the current data as described above and a filter 10, i.e., "PrName == *". 当用户用指示笔207点选高级图标1121,既有的显示屏幕1101即会被另一搜索产品显示屏幕1201所替换,其会在后述的图12中进行说明,该显示屏幕1201可让用户建立及更改更为复杂和高级的资料过滤器。 When the user click with a stylus 207 Advanced icon 1121, i.e., both the display screen 1101 is displayed another search screen 1201 replaced product, which will be described later with reference to FIG. 12, the display screen 1201 allows the user establish and change is more complex and advanced data filters.

显示屏幕包括一搜索范围1125,用户可在该区输入一特定属性的名称格式,例如,产品文件。 Display screen 1125 includes a search range, the user can enter the name of a specific format attributes in the area, e.g., product documentation. 当利用指示笔207点选搜索范围1125边缘倒三角形,则即会显示一下拉列表,可使用户从产品文件或数据库表中选择一属性。 When using the stylus 207 1125 Click Search inverted triangle edge, then it will display a pull-down list allows the user to choose a product attribute from a file or database table. 搜索值区1127可以让用户输入一个值,该值可用于其将要定义或创建资料过滤器中。 Search value area 1127 allows the user to enter a value that will be used for its definition or create a profile filter. 在本例中,该值为“*”,其是一通配符,与文档中任何值相匹配。 In the present embodiment, the value is "*", which is a wildcard, the document matches any value. 故,产品文件中的所有记录均会被返回。 Therefore, all products recorded file will be returned. 另一例子是在搜索值区输入一“basebal”,则资料过滤器会把产品文件中所有名称中包含有“baseball”的条目返回。 Another example is in the area enter a search value "basebal", will filter the information in the product file contains all the names "baseball" entries returned. 如果用户输入“base*”,则资料过滤器即会返回产品文件中如“baseballs”或“baseball bats”等全部记录。 If the user enters "base *", ie the data filter returns all records in the product documentation, such as "baseballs" or "baseball bats" and so on. 两个运算符符区1107能使用户定义其所期望的搜索范围1125与搜索值区之间的关系。 Two operators operator region 1107 can make a relationship between the search region 1125 and a user-defined value search their desired. 在本例中,两个运算符区1107选项中,只能选择其中一个,即′=′或′! In the present embodiment, the two operators in the option area 1107, only select one, i.e., '=' or '! =′。 = '. ′=′运算符1107表示用户希望资料过滤器返回产品文件中所有属性为搜索范围1125所输入的,且与搜索值区1127中所输入的值相匹配的条目。 '=' Operator data 1107 indicates the user wishes to filter all file attributes back to the product search range 1125 is input, and the value 1127 entered search entry that matches the bucket. 如果用户选择′! If the user selects'! =′,则用户希望资料过滤器返回产品文件中所有属性为搜索范围1125所输入的,且与搜索值区1127中所输入的值不匹配的条目。 = ', Then the user desires to filter back to the product information file attributes of all search range 1125 is input, and does not match the value 1127 entered search value entry area.

一显示值核对块1109可以让用户指定一“模糊”查询,换句话说,对在搜索范围1125中所输入的查询条件的查询不像在搜索值区1127那样精确匹配。 Checking the value of a display block 1109 lets users specify a "fuzzy" queries, in other words, a query for the search query entered in the 1125 range not exactly match the search value as in the region 1127. 资料过滤器会返回在产品文件中所有与的接近的资料。 Data filter will return all files in the product and close the data. 一匹配图标1111提供了与显示值核对块1109相似的功能,只不过其能使用户执行资料过滤器并立刻能观看结果。 1111 provides a matching icon display block 1109 to check the value of a similar function, except that it allows users to perform data filter and immediately be able to see the results. 一取消按纽1123,其能忽略当前的资料过滤器定义或创建过程,并把显示屏203返回至显示屏先前所显示的状态。 A cancel button 1123, it can ignore the current profile or create a filter definition process, and the display screen 203 returns to the state shown previously.

图12揭示了另一实施方式的在个人数字助理101的显示屏203上出现的搜索产品显示屏幕1201。 Figure 12 reveals that appears on a personal digital assistant display 203 101 searches the product to another embodiment of the display screen 1201. 与搜索产品显示屏幕1101相似,搜索产品显示屏幕1201为一输入屏,其可使用户或销售人员利用显示屏203和指示笔207定义或更改资料过滤器。 Product search display screen similar to 1101, 1201 Search Product display screen is an input screen that allows users to display or sales people use a stylus 203 and 207 define or change the data filter. 然而,与搜索产品显示屏幕1101只能让用户定义或更改一简单资料过滤器不同,搜索产品显示屏幕1201可让用户定义或更改更高级或更复杂的资料过滤器,与显示屏幕901、1001及1101一样,搜索产品显示屏幕1201亦包括:一标题栏1203,其上写有该显示屏幕的名称“搜索产品”,及当前时间“11:38a”;一状态区1213;及状态图标1215、1217及1219,这些标题栏、状态区及状态图标均与图9、图10及图11中相应的标题栏、状态区及状态图标具有相似的功能。 However, the search product display screen 1101 only allow users to define or change a simple filter different information, search for product display screen 1201 allows the user to define or change more advanced or more complex data filters, and the display screen 901, 1001 and Like 1101, 1201 Search product display screen also includes: a title bar 1203, the name written on the display screen of the "product search", and the current time "11: 38a"; a state district 1213; and status icons 1215,1217 and 1219, the title bar, the status area, and status icons are corresponding to FIG. 10 and FIG. 11 in FIG. 9 the title bar, the status area, and status icons have similar functions. 与搜索产品显示屏幕1101相似,显示屏幕1201包括一匹配图标1211及一取消按纽1223,他们的功能分别与图11中的匹配图标1111及取消按纽1123相似。 Product search display screen 1101 is similar to the display screen 1201 includes a matching icon 1211, and a cancel button 1223, and their functions are matching icon 1111 in Figure 11 and cancel button 1123 is similar.

在标题栏1203下面,显示屏幕1201包括两个图标,即执行图标1205和简单过滤图标1221。 In 1203 the title bar below the display screen 1201 includes two icons, namely the implementation of a simple filter icon icon 1205 and 1221. 当用指示笔执行图标1205,一对应于显示盒1235所显示的信息,或本例中的“(&amp;(PrName==*Base*)(PrRetailPrice>=5.00))”的当前资料过滤器被执行。 When using the stylus execution icon 1205, an information corresponding to the display box 1235 is displayed, or in this example "(& amp; (PrName == * Base *) (PrRetailPrice> = 5.00))" in the current data filter is carried out. 当前资料过滤器即会返回产品数据库中所有名称中包含有“Base”且价格大于或等于5.00元的产品条目信息。 The current data filter will then return a product database contains all names "Base" and the price is greater than or equal to 5.00 yuan product entry information. 例如会在个人数字助理101中显示价格在5.00元以上的baseballs,baseball mitts及baseball gloves等产品条目信息。 For example, will show prices above $ 5.00 baseballs, baseball mitts and baseball gloves and other products entry information in the personal digital assistant 101. 这些资料过滤器的方法和语法在以前的技术中为众人所周知。 These methods and data filter syntax is all well known in the prior art. 该显示盒1235的一优势为具有一上拉箭头和一下拉箭头,当用户利用指示笔207这些箭头,在显示盒1235中即能卷出由于太大而处于显示盒1235边界的外的信息。 The advantage of a display box 1235 having an upper and a lower pull-down arrow of the arrow, when the user uses a stylus 207 arrows, i.e., in the display box 1235 in the information display can be unwound outside the cassette boundary 1235 is too large to be in. 当用户利用指示笔207简单过滤图标1221,个人数字助理101即会在显示屏203上显示搜索产品显示屏幕1101。 When you use a stylus 207 simple filter icon 1221, a personal digital assistant 101 will display search products displayed on the display screen 203 in 1101.

与搜索产品显示屏幕1101相似,显示屏幕1201可能让用户输入一资料过滤器,但其较显示屏幕1101中更为复杂。 Product search display screen similar to 1101, display screen 1201 may allow the user to enter a data filter, but its display screen than in 1101 is more complex. 搜索范围1225可让用户选择产品数据库中的多种属性,每次选一种属性。 Search 1225 allows the user to select a variety of product attributes in the database, an attribute every election. 搜索值区1227可使用户输入一价格或其它适当值以完成对数据库的查询。 District 1227 enables users to search values ​​input a price or other appropriate value to complete the query to the database. 在上述显示屏幕1101中只提供了两个运算符域选择,而显示屏幕1201却代的以四个运算符域选择1207,一“=”运算符,表示等于;一“!=”运算符,表示不等于;一“>=”运算符,表示大于或等于;一“<=”运算符,表示小于或等于。 In the display screen 1101, provides only two operators domain selection, and a display screen 1201 has four generations to operator selection field 1207, a "=" operator, represents equal; "! =" One operator, It indicates not equal; a "> =" operator, means greater than or equal to a; a "<=" operator, represents less than or equal to. 一显示值核对块1209的功能与显示屏幕1101中的显示值核对块1109相似。 A display value display value of the display screen 11011209 function in a similar matching block check block 1109.

显示屏幕1201亦包含一建立按纽1229,两个关联按纽1231及一重置按纽1233。 Display screen 1201 also includes a button 1229 established, two buttons associated with a reset button 1231, and 1233. 该建立按纽1229可以移动搜索范围1225、运算符区1207及搜索值区1227所指定的一个新查询字符串至显示盒1235中的表达式中,关联按纽1231决定一组合查询之间的关系,该组合查询是被建立按纽所移动的新查询字符串与现有的查询字符串之间的组合,如果该现有的查询字符串存在的话,通常会显示于显示盒1235上。 The button 1229 may be moved to establish the search range 1225, 1207, and search operators buckets area 1227 specified a new query string to display in the expression cassette 1235, a correlation decision button 1231 combinational relationship between a query this combination is established query button is moved between a combination of a conventional string query string new query, if the query string conventional exists, the cartridge is usually displayed on the display 1235. “和”按纽创建一组合查询,其显示的于产品数据库中查询结果需符合新查询字符串和现有的查询字符串。 "And" button to create a combined query, the query results in the product database which shows the need to comply with new and existing query string query string. “或”按纽创建一组合查询,其显示的于产品数据库中查询结果需符合新查询字符串和现有的查询字符串中的一个或全部的查询条件。 "Or" button to create a combined query, display the query results to be in line with a new query string and existing query string or all of the query in the product database. 当利用指示笔207点选重置按纽1233时,其会清除显示盒1235中的信息,从而可使用户重新开始建立一新的查询字符串。 When using the stylus 207 when clicking the reset button 1233 which clears the information display box 1235, thereby allowing the user to re-start the establishment of a new query string.

利用图9~12中的屏幕,用户可以定义资料过滤器以实现实施方式中的技术方案。 9 to FIG. 12 using the screen, the user can define data filters to implement the technical solution of the embodiment. 但图9~12仅代表了可供选择的一部分图形用户界面(GUI),这些图形用户界面显示于个人数字助理101的显示屏203上,其可运行电子商务应用软件310。 However, FIG. 9 to 12 represent only a part of a graphical user interface (GUI) to choose from, such a graphical user interface displayed on the personal digital assistant displays 203,101, which application software 310 can run commerce. 其余的应用软件320、330及340均具有自身特定的功能、GUI和相应屏幕等。 320, 330 and the rest of the software application 340 has its own specific features, GUI, and the respective screens.

Claims (5)

1.一种使移动计算机设备上的本地资料存储器与远程服务器上的资料存储器的数据库同步的方法,其特征在于包括如下步骤:将存储于一远程服务器的资料存储器内的资料组成多个域;在该服务器上保存一移动计算机设备的用户的信息,该信息包括该移动计算机设备的通知地址和多个资料过滤器,每一资料过滤器均与多个域中的一个或多个相对应;将针对多个域中的某一个域进行的操作与多个资料过滤器相互对照;如果该操作与某一资料过滤器相符,则检索该操作/该资料过滤器所对应的加权值;将该加权值加入一与该操作所属域对应的总的预警加权值;当总的预警加权值超过临界值时,发送一通知讯息至该移动计算机设备,该通知讯息包括相应的资料过滤器的卷标;基于该通知讯息使本地资料存储器与远程资料存储器同步。 CLAIMS 1. A method of synchronizing a database of information on the local data storage memory and the remote server on the mobile computer device, comprising the steps of: storing in a memory information supplied in a plurality of domains consisting remote server; a mobile computer device saved on the server information of the user, the notification information includes address information and a plurality of filters of the mobile computer device, each of the plurality of data each filter domains corresponding to the one or more; the operation performed for one of several domains with a plurality of filters each control data; if the operation is a data filter matches, the weight value operation / data of the corresponding filter is retrieved; the was added a total weighted value weighted value belongs to the domain warning corresponding to the operation; warning when the total weighted value exceeds the threshold value, sending a notification message to the mobile computer device, the notification message comprising information on the corresponding label filter ; synchronization and remote data memory based on the notification message so that local data storage.
2.如权利要求1所述的数据库同步的方法,其特征在于其中还包括当收到通知讯息时从移动计算机设备发送一确认讯息至服务器的步骤。 2. The database synchronization method according to claim 1, characterized by further comprising a step wherein when receiving a notification message transmission acknowledgment message to the server from the mobile computer device.
3.一种使移动计算机设备上的本地资料存储器与远程服务器上的资料存储器同步的方法,其特征在于包括如下步骤:监视对多个资料对象执行的操作;将该操作和其所属域与一对应于该移动计算机设备的用户的资料过滤器相互对照;如果该操作与某一资料过滤器相符,则检索该操作/该资料过滤器所对应的加权值;如果该加权值超过临界值,则传送一同步通知讯息至该移动计算机设备;该移动计算机设备确定是否基于该通知讯息使本地资料存储器与远程资料存储器同步。 A method of making a memory synchronizing data information storage on the local and the remote server on the mobile computer device, comprising the steps of: monitoring operation of a plurality of data on the object; and the operation of a domain to which it belongs corresponding to a user of the mobile computer device another control data filter; if the operation is a data filter matches, the weight value operation / data of the corresponding filter is retrieved; If the weight value exceeds the threshold value, transmitting a notification message to the synchronous mobile computer device; determining whether the mobile computer device based on the notification message that the local data storage memory and remote synchronization data.
4.一分布式资料存储器,其特征在于包括:一位于移动计算机设备上的本地资料存储器;一位于服务器上的远程资料存储器,该远程资料存储器用于存储多个域对象,且该服务器还用于保存上述移动计算机设备的用户信息,该信息包括:该移动计算机设备的通知地址及多个资料过滤器,每一资料过滤器均与多个域对象中的一个或多个对应;该服务器将针对多个域对象中的某一个域进行的操作与多个资料过滤器进行对照,如果该操作与某一资料过滤器相符,则检索该操作/该资料过滤器所对应的加权值,如果该加权值超过临界值,则通过通知地址传送一通知讯息至该移动计算机设备;及所述移动计算机设备基于该通知讯息使本地资料存储器与远程资料存储器同步。 4. a distributed data storage, comprising: a local data located on a mobile computer device memory; a data memory located on a remote server, the remote data memory for storing a plurality of domain objects, and the server further with storing the user information to the mobile computer device, the information comprising: a plurality of address and notifies the mobile computer information filter device, each of the filter data corresponds to one or more of the plurality of objects in the domain; the server and a plurality of operation data filters for a plurality of domain objects is collated with the domain, and if the operation is a data filter matches, the operation / weighted value of the data corresponding to the filter is retrieved, if the weighted value exceeds the threshold value, a notification message is transmitted to the mobile computer device through the notification address; and synchronize the mobile computer device based on the notification message that the local data storage and a remote data memory.
5.如权利要求4所述的分布式资料存储器,其特征在于其中该移动计算机设备用于确定是否基于通知讯息使本地资料存储器与远程资料存储器同步。 5. The distributed data memory according to claim 4, characterized in that the means for determining whether the mobile computer device based on the notification message that the local data storage memory and remote synchronization data.
CNB021408076A 2001-08-13 2002-06-28 Positive data copying method for radio equipment CN1301475C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US92865001A true 2001-08-13 2001-08-13

Publications (2)

Publication Number Publication Date
CN1409235A CN1409235A (en) 2003-04-09
CN1301475C true CN1301475C (en) 2007-02-21

Family

ID=25456573

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021408076A CN1301475C (en) 2001-08-13 2002-06-28 Positive data copying method for radio equipment

Country Status (2)

Country Link
CN (1) CN1301475C (en)
TW (1) TWI229268B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060271599A1 (en) * 2003-08-21 2006-11-30 Akihiro Yamamoto Data transmission/reception system, data transmission/reception method, and recording/reproduction device
KR101268200B1 (en) 2006-01-05 2013-05-27 엘지전자 주식회사 Radio resource allocating method in mobile communication system
JP4806030B2 (en) 2006-01-05 2011-11-02 エルジー エレクトロニクス インコーポレイティド Method for transferring a signal in a mobile communication system
KR101203841B1 (en) 2006-01-05 2012-11-21 엘지전자 주식회사 Method of transmitting and receiving paging message in wireless communication system
EP1969738B1 (en) 2006-01-05 2014-03-12 LG Electronics Inc. Transmitting information in mobile communications system
KR101211807B1 (en) 2006-01-05 2012-12-12 엘지전자 주식회사 Method for managing synchronization state for mobile terminal in mobile communication system
KR100912784B1 (en) 2006-01-05 2009-08-18 엘지전자 주식회사 Data transmission method and data retransmission method
US9456455B2 (en) 2006-01-05 2016-09-27 Lg Electronics Inc. Method of transmitting feedback information in a wireless communication system
US8493854B2 (en) 2006-02-07 2013-07-23 Lg Electronics Inc. Method for avoiding collision using identifier in mobile network
KR101358469B1 (en) 2006-02-07 2014-02-06 엘지전자 주식회사 Method for selection and signaling of downlink and uplink bandwidth in wireless networks
KR101216751B1 (en) 2006-02-07 2012-12-28 엘지전자 주식회사 Collision avoidance method using the identifier in a mobile communication system.
KR20070080552A (en) 2006-02-07 2007-08-10 엘지전자 주식회사 Method for transmitting response information in the mobile communication system
KR101387475B1 (en) 2006-03-22 2014-04-22 엘지전자 주식회사 method of processing data in mobile communication system having a plurality of network entities
KR101369135B1 (en) 2006-06-21 2014-03-05 엘지전자 주식회사 Mehtod for supproting quality of multimeida broadcast multicast service(mbms) in mobile communications system and terminal thereof
WO2007148935A1 (en) 2006-06-21 2007-12-27 Lg Electronics Inc. Method of transmitting and receiving radio access information using a message separation in a wireless mobile communications system
KR20070121513A (en) 2006-06-21 2007-12-27 엘지전자 주식회사 Uplink access method of mobile communication system
US8234534B2 (en) 2006-06-21 2012-07-31 Lg Electronics Inc. Method of supporting data retransmission in a mobile communication system
KR20070121505A (en) 2006-06-21 2007-12-27 엘지전자 주식회사 Method for reconfiguring radio link
US9665413B2 (en) 2009-05-01 2017-05-30 Microsoft Technology Licensing, Llc Shared job scheduling in electronic notebook
US9454325B2 (en) * 2009-11-04 2016-09-27 Broadcom Corporation Method and system for offline data access on computer systems
TWI477978B (en) * 2012-12-07 2015-03-21 Inst Information Industry Data synchronization system and method for synchronizing data
TWI512665B (en) * 2013-01-18 2015-12-11 Kuo Yuan Chang Ward cloud system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5974238A (en) * 1996-08-07 1999-10-26 Compaq Computer Corporation Automatic data synchronization between a handheld and a host computer using pseudo cache including tags and logical data elements

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5974238A (en) * 1996-08-07 1999-10-26 Compaq Computer Corporation Automatic data synchronization between a handheld and a host computer using pseudo cache including tags and logical data elements

Also Published As

Publication number Publication date
TWI229268B (en) 2005-03-11
CN1409235A (en) 2003-04-09

Similar Documents

Publication Publication Date Title
US9760628B2 (en) System and method for asynchronous client server session communication
JP4473128B2 (en) Associated portlets in a web portal, the method makes it possible to cooperate for synchronization content display and device
US7650432B2 (en) Occasionally-connected application server
US6151624A (en) Navigating network resources based on metadata
US6105028A (en) Method and apparatus for accessing copies of documents using a web browser request interceptor
US8108418B2 (en) System, method and article of manufacture for advanced information gathering for targetted activities
US6195651B1 (en) System, method and article of manufacture for a tuned user application experience
US7275243B2 (en) Mobile download system
US7240327B2 (en) Cross-platform development for devices with heterogeneous capabilities
CN100435141C (en) Method and system for automating internet interactions using recorded data
CN1258742C (en) Business card agent and application program
KR100843828B1 (en) Method and apparatus for managing a collection of portlets in a portal server
US7203948B2 (en) Method, apparatus, and system for implementing caching of view custom options in a framework to support web-based applications
JP4218759B2 (en) A method and apparatus for relaying session information from the portal server
US7607137B2 (en) Integration of heterogeneous applications
JP3217968B2 (en) How to perform a distributed task of web browser requests
US7873965B2 (en) Methods and apparatus for communicating changes between a user-interface and an executing application, using property paths
US6715131B2 (en) Method and system for providing resource access in a mobile environment
US7437312B2 (en) Method for context personalized web browsing
US7146617B2 (en) Method, apparatus, and system for implementing view caching in a framework to support web-based applications
EP1330736B1 (en) Providing content from multiple services
US20060031264A1 (en) Synchronization protocol for occasionally-connected application server
US6571245B2 (en) Virtual desktop in a computer network
US7191410B1 (en) Managing information display
US7739308B2 (en) Techniques for automatically provisioning a database over a wide area network

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
C41 Transfer of patent application or patent right or utility model
ASS Succession or assignment of patent right

Owner name: HONGFUJIN PRECISION INDUSTRY (SHENZHEN) CO., LTD.

Free format text: FORMER OWNER: HONGFUJIN PRECISION INDUSTRY (SHENZHEN) CO., LTD.; MOLI DONGWANG SCIENCE CO., LTD.

Effective date: 20071207

EXPY Termination of patent right or utility model