A kind of method and system that in associate device, mates and transmit font file
Technical field
The present invention relates to a kind of method and system that in associate device, mates and transmit font file.
Background technology
Nowadays, mobile device is used for reading and writing document and also is absolutely necessary because its convenience is that people are extensive use of in study or work.Originally can occur part font content in the document once in a while and can't highlight day by day on mobile device according to the problem that correct font style shows because of the corresponding font file of this machine disappearance on PC, this has just had a strong impact on the experience of user for the font effect.
As needing to solve the problem that font shows, need manually the font file copy be installed on the equipment of current use usually at present, allow program go reading displayed again.This needs user oneself to go to distinguish the disappearance font, and will manually the file copy be installed to target device, not only need the user to possess certain professional knowledge, and process is more loaded down with trivial details and be difficult for finding the target font file to use.
Summary of the invention
For this reason, the present invention is directed at present and to go up opening document at distinct device (particularly mobile device) and font can occur and can't propose solution according to the problem that correct pattern shows, proposing a kind of font information according to disappearance mates font file and transmits the method for application to associate device automatically, by setting up related the connection at many equipment rooms, when current device is opened a document, the automatic font information of reminding the document to lack, just can transmit application to associate device coupling font file according to this information afterwards, realize that the consistance of document content font effect is experienced.
A kind of method of mating and transmit font file in associate device that this law invention proposes, specifically contain following steps:
S1: in the first current equipment during opening document, check out use in the document but the font that lacks on current first equipment;
S2: with second equipment that first equipment is associated in search corresponding font file, and with target font file transfer to the first equipment that finds.
Correspondingly, the present invention also proposes the system of the above method of a kind of correspondence, has namely proposed a kind of system of mating and transmit font file in associate device, and described system comprises:
The font detector, when the first current equipment opening document, check out use in the document but the font that lacks on first equipment;
The font finger, with second equipment that first equipment is associated in search corresponding font file, and target font file transfer to the first equipment that finds.
As a kind of improvement of above technical scheme, between first equipment and second equipment by network interconnection.
As a kind of improvement of above technical scheme, the log-on message by the checking user between first equipment and second equipment realizes related, or it is related to pass through the identity information realization of Authentication devices between first equipment and second equipment.
A kind of improvement as above technical scheme, in step S2, first equipment sends the order of the corresponding font file of coupling to the server that links to each other according to the disappearance font information, initiatively send font query requests or related second equipment initiatively to continuous server inspection and obtain the font query requests to second equipment of association by the server that links to each other again, second equipment receive or be checked through the font query requests after namely begin to search corresponding font file according to font information, and receive the font file of the coupling that the second related equipment sends by server.Wherein, behind the font file of the coupling that the second related equipment of server reception sends, first equipment obtains font file from server automatically, perhaps sends the transmission request to the user, obtains font file from server again after obtaining allowing.
The present invention is by transmit back the also method and system of application of current device to associate device coupling font file and file destination at current device automatically during according to font missing information, can be implemented in current device uses to associate device invocation target font file automatically, guarantee the font display effect, avoid manually distinguishing and search and the manually inconvenience of transmission application.
Embodiment
The present invention is directed at present and to go up opening document at distinct device (particularly mobile device) and font can occur and can't propose solution according to the problem that correct pattern shows, mate font file and file destination is transmitted back the method that current device is used by arriving associate device at current device automatically according to font missing information, avoid manually distinguishing and search and the manually inconvenience of transmission application.
With handheld mobile device, be example as smart mobile phone and notebook computer, can be by installed software bag on subscriber equipment, the plug-in unit that perhaps is embedded in existing the application is realized method proposed by the invention, comprises following concrete steps:
At first, at the smart mobile phone (i.e. first equipment) of the current use of user when opening a document, automatically the font that need call described document checks, finds out the font that lacks on still this equipment that uses in the document, such as the font A that lacks the display document content.
Then, user's smart mobile phone sends ordering to server of the corresponding font file of coupling according to the font information (as: fontname A) of disappearance by cordless communication network.
The server that receives orders initiatively will inquire about the font request send to other with second equipment that this smart mobile phone is connected in or second equipment initiatively to the server inspection that links to each other and obtain the font query requests, second equipment receive or be checked through the font query requests after namely according to font information font A is searched, search such as in notebook computer, carrying out font.Certainly, this second equipment can be one or many.
Server receives the smart mobile phone of notifying the user behind the target font file, and this smart mobile phone obtains file from server automatically.As a possibility, this smart mobile phone at first points out the user to have font file to obtain, and obtains just obtaining file from server after the user allows.
Finally on the current smart mobile phone of user, document is used font A, guaranteed the font display effect of user when its equipment is opened various document, avoided manually distinguishing and searched and the manually inconvenience of transmission application.
Current first equipment wherein can be various mobile device or the PC equipment that are connected by network with the second related equipment, such as smart mobile phone, Desktop PC computer.Server also is connected with above equipment by network simultaneously.Described network can be internet, mobile communication network or LAN (Local Area Network).
Certainly, the association between the equipment also can be defined as same user's distinct device, and this can be by being achieved in server checking user's log-on message or the identity information of equipment.
In like manner, above method also can realize by hardware system.The system that implements above method comprises font detector and font finger, wherein:
The font detector when the current device opening document, check out use in the document but font that the first current equipment lacks;
The font finger sends the order of the corresponding font file of coupling to server, server initiatively notifies the font query requests second equipment of other associations or second equipment initiatively to continuous server inspection and obtain the font query requests again, receive or be checked through after the font query requests namely with second equipment that current first equipment is associated in search corresponding font file, and the target font file that finds transferred to first equipment by server, the font finger receives the font file that the second related equipment transmits and also use this font in the program of first equipment.
Therefore, the present invention is a kind of by arriving associate device coupling font file automatically and file destination is transmitted back the method that current device is used according to font missing information at current device by proposing, pass through corresponding software and hardware, can be implemented in current device uses to associate device invocation target font file automatically, guarantee the font display effect, deducted simultaneously and manually searched file destination and the manually inconvenience of transmission application, strengthened the user who uses and experience.
The combination that method of the present invention can be passed through software, hardware or software and hardware realizes.The present invention is except above-mentioned embodiment, and its equivalent technical solutions also should be narrated at this within its protection domain no longer one by one.