CN102413075A - Method and system for changing format during data transmission - Google Patents
Method and system for changing format during data transmission Download PDFInfo
- Publication number
- CN102413075A CN102413075A CN2011104265120A CN201110426512A CN102413075A CN 102413075 A CN102413075 A CN 102413075A CN 2011104265120 A CN2011104265120 A CN 2011104265120A CN 201110426512 A CN201110426512 A CN 201110426512A CN 102413075 A CN102413075 A CN 102413075A
- Authority
- CN
- China
- Prior art keywords
- user
- data
- data format
- format
- support
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method and a system for changing a format during data transmission and belongs to the technical field of computers and networks. The method comprises the following steps of: in an instant messaging server, establishing a support data format list of a user A aiming at instant messaging contact objects, wherein the contact objects at least comprise a user B of the user A and the user B; acquiring format information of target data sent by the user A by the instant messaging server, and comparing the format information with the support data format list aiming at the contact user B; and if the support data format list aiming at the user B does not contain the format of the target data, transmitting the data sent by the user A to the instant messaging server, changing the format of the data and transmitting the data to an instant messaging client where the user B is positioned. By the method and the system, the target data is subjected to format change in advance when a data receiver terminal cannot support the sent target data; and then the target data subjected to the format change is sent to a receiver, so an aim of simplifying user operation is fulfilled.
Description
Technical field
The invention belongs to computer, networking technology area.
Background technology
Network instant communication (IM) instrument develops into today, has become the communication tool that the user generally uses, becomes necessary part in network user's daily life gradually.Utilizing the JICQ transfer files is one of function of use commonly used of JICQ; Because the existence of several data form; And different software is different to the support scope of homogeneous data form, the situation that receiving side terminal can't be handled the data file that receives can occur.To this problem; Mostly solution of the prior art is that data receiver carries out format conversion to data in advance; Perhaps the data receiver carries out format conversion processing to data or install to support the corresponding program of this form after reception, for the use of the receiving-transmitting sides of data is made troubles.
Summary of the invention
The invention provides the method and system that form in a kind of transfer of data changes, during in order to the target data that can not support at the data receiver terminal to send, in advance target data is carried out format conversion, redispatch, reach the purpose of simplifying user's operation to the recipient.
The method that form changes in described a kind of transfer of data comprises the steps:
Step 1 in instant communication server, is set up the support data format list that user A is directed to the instant communication contacts object, and contact object wherein comprises the user B among user A and the user B at least;
Step 2, the format information of the target data that instant communication server collection user A is sent is compared with aforesaid support data format list to contact person user B;
Step 3 when in being directed against the support data format list of user B, comprising the form of target data, is set up point-to-point data transmission relations between user A and user B;
When in being directed against the support data format list of user B, not comprising the form of target data,, carry out transferring to the instant communication client that user B belongs to after the format conversion with transfer of data to the instant communication server that user A is sent.
Further, the foundation of the support data format list that is directed against contact object in the said step 1 comprises the steps:
Step 1-1, the terminal, instant communication contacts place of traversal user A obtains the contact person through the key assignments in the reading system registration table and belongs to the program information of installing in the terminal;
Step 1-2 obtains the corresponding support data format relevant information of program according to the program information of installing in the terminal;
Step 1-3, the data format that corresponding instant communication contacts and its terminal are supported is set up the support data format list to contact object.
Further, in the said step 1 to the support data format list of contact object after foundation, according to the change of the operating position at user and contact person terminal, the content in the his-and-hers watches is upgraded, and comprises the steps:
Steps A; Satisfying under the trigger condition; Key assignments through in the instant communication contacts place terminal system registration table that reads user A obtains the contact person and belongs to the program information of installing in the terminal, and obtains the corresponding support data format relevant information of program according to the program information of installing in the terminal;
Step B compares with the support data format list of having set up to this instant communication contacts;
Step C, consistent part in the two, it is constant to keep in the former support data format list content; Inconsistent part in the two, the data format relevant information that belongs to the current support in terminal with the instant communication contacts that obtains in the steps A is as the criterion, and upgrades and supports the data format list.
Further, the update mode of the support data format list of said contact object comprises following two kinds of one of which at least:
Mode 1; Survey at every turn reaching the standard grade of user's instant communication contacts object; After the instant communication contacts object is reached the standard grade at every turn,, obtain the contact person and belong to the program information of installing in the terminal through reading the key assignments in this contact object place terminal system registration table; And, upgrade and support the data format list according to the corresponding support data format relevant information of program information acquisition program of installing in the terminal;
Mode 2; Certain time interval is set in advance; Regularly travel through user's instant communication contacts according to the time interval,, obtain the contact person and belong to the program information of installing in the terminal through reading the key assignments in the terminal system registration table of contact object place; And, upgrade and support the data format list according to the corresponding support data format relevant information of program information acquisition program of installing in the terminal.
Further, when carrying out the target data format conversion in the said step 3, include following two kinds of conversion regimes one of which at least,
Mode one is gathered the target data format information, and the support data format list that reads to user B obtains, and takes the support data format content of family B, confirms the target data format transformation;
Mode two with the request interface of Data Format Transform, is sent to the instant communication client at user B place, after collection obtains the option of user B, carries out the format conversion of target data according to option.
Further, described target data conversion regime one further comprises following two kinds of patterns one of which at least,
Pattern one, different classes of to the target data form, the format transformation of preset acquiescence respectively;
Pattern two, different classes of to the target data form gathered user B to the highest data format of this classification data applying frequency, the object format with this data format during as the target data format conversion.
Further, the classification of described target data form comprise audio class data format, video class data format, images category data format and text class data format at least one of them.
Further, said user B is directed against the applying frequency collection of this classification data different-format, comprise the steps,
Step a, the time range of setting applying frequency data acquisition;
Step b gathers the reading times information that is directed against different-format in these classification data in the user B counterpart terminal;
Step c according to the temporal information and the reading times information that collect in above-mentioned two steps, calculates the applying frequency of user B to different-format in these classification data.
The method that the present invention also provides form in a kind of transfer of data to change, this method comprise the steps,
Step 1, instant communication server receive and come from the off-line data that user A sends to user B;
Step 2 when user B reaches the standard grade after user B sends off-line data, is set up the support data format list to terminal, user B place in advance or at user A;
Step 3 is obtained the target data format information that user A is sent through instant communication server, compares with aforesaid support data format list;
Step 4, when when comprising the form of target data in the support data format list of user B, instant communication server is about to the instant communication client that target data that user A uploads transfers to user B place;
When in being directed against the support data format list of user B, not comprising the form of target data, after the target data that instant communication server is uploaded user A is carried out format conversion, transfer to the instant communication client at user B place.
Further, the foundation of the support data format list that is directed against contact object in the said step 1 comprises the steps,
Step 1-1, the terminal, instant communication contacts place of traversal user A obtains the contact person through the key assignments in the reading system registration table and belongs to the program information of installing in the terminal;
Step 1-2 obtains the corresponding support data format relevant information of program according to the program information of installing in the terminal;
Step 1-3, the data format that corresponding instant communication contacts and its terminal are supported is set up the support data format list to contact object.
Further, in the said step 1 to the support data format list of contact object after foundation, according to the change of the operating position at user and contact person terminal, the content in the his-and-hers watches is upgraded, comprise the steps,
Steps A; Satisfying under the trigger condition; Key assignments through in the instant communication contacts place terminal system registration table that reads user A obtains the contact person and belongs to the program information of installing in the terminal, and obtains the corresponding support data format relevant information of program according to the program information of installing in the terminal;
Step B compares with the support data format list of having set up to this instant communication contacts;
Step C, consistent part in the two, it is constant to keep in the former support data format list content; Inconsistent part in the two, the data format relevant information that belongs to the current support in terminal with the instant communication contacts that obtains in the steps A is as the criterion, and upgrades and supports the data format list.
Further, the update mode of the support data format list of said contact object comprises following two kinds of one of which at least,
Mode 1; Survey at every turn reaching the standard grade of user's instant communication contacts object; After the instant communication contacts object is reached the standard grade at every turn,, obtain the contact person and belong to the program information of installing in the terminal through reading the key assignments in this contact object place terminal system registration table; And, upgrade and support the data format list according to the corresponding support data format relevant information of program information acquisition program of installing in the terminal;
Mode 2; Certain time interval is set in advance; Regularly travel through user's instant communication contacts according to the time interval,, obtain the contact person and belong to the program information of installing in the terminal through reading the key assignments in the terminal system registration table of contact object place; And, upgrade and support the data format list according to the corresponding support data format relevant information of program information acquisition program of installing in the terminal.
Further, when carrying out the target data format conversion in the said step 3, include following two kinds of conversion regimes one of which at least,
Mode one is gathered the target data format information, reads the support data format list to user B, obtains the support data format content of user B, confirms the target data format transformation;
Mode two with the request interface of Data Format Transform, is sent to the instant communication client at user B place, after collection obtains the option of user B, carries out the format conversion of target data according to option.
Further, described target data conversion regime one further comprises following two kinds of patterns one of which at least,
Pattern one, different classes of to the target data form, the format transformation of preset acquiescence respectively;
Pattern two, different classes of to the target data form gathered user B to the highest data format of this classification data applying frequency, the object format with this data format during as the target data format conversion.
Further, the classification of described target data form comprises audio class data format, video class data format, images category data format and text class data format one of which at least.
Further, said user B comprises the steps to the collection of this classification data applying frequency,
Step a, the time range of setting applying frequency data acquisition;
Step b gathers the reading times information that is directed against different-format in these classification data in the user B counterpart terminal;
Step c according to the temporal information and the reading times information that collect in above-mentioned two steps, calculates the applying frequency of user B to different-format in these classification data.
Correspondingly, the present invention also provides the system that form changes in a kind of transfer of data, and this system comprises following structure,
Support the data form database, be used to set up and store the support data format list that user A is directed to contact object that contact object wherein comprises the user B among user A and the user B at least;
The format conversion determination module is to be used to gather the target data form, and according to the target data form with the comparing result of above-mentioned number of support according to format list, judge whether target data that user A sends to user B need carry out the functional module of format conversion;
The Data Format Transform module is to be used for when the support data format list to user B does not comprise the form of target data, user A is become the functional module of the data format of user B support to the target data format conversion of user B transmission;
Data interface module is to be used to receive the target data from user A, and the functional module of the target data after user B sends format transformation.
Further, the form conversion system also is provided with in the said transfer of data, is used for storing the data memory module of the target data after target data and the format conversion temporarily.
Further, corresponding described Data Format Transform module also is provided with, the conversion regime setting module that is used for setting data format conversion mode and sets the acquiescence conversion regime of all types of data formats.
Further, corresponding described Data Format Transform module also is provided with, and is used to survey user B to the highest data format of data applying frequency of all categories, the frequency sonding module of the object format when for the conversion regime setting module target data format conversion being provided.
Description of drawings
Fig. 1 is the method flow diagram that form changes in a kind of transfer of data of providing of first embodiment of the invention.
Fig. 2 is the method flow diagram that form changes in a kind of transfer of data of providing of second embodiment of the invention.
Fig. 3 is the system architecture diagram that form changes in a kind of transfer of data of providing of second embodiment of the invention.
Embodiment
The invention provides the method and system that form in a kind of transfer of data changes, during in order to the target data that can not support at the data receiver terminal to send, in advance target data is carried out format conversion, redispatch, reach the purpose of simplifying user's operation to the recipient.
With reference to the accompanying drawings, in conjunction with specific embodiment the present invention is done further explanation.Following description is an example based on Windows operating system, but those skilled in the art is understood that the present invention is not limited thereto.
Shown in Figure 1 is the method flow diagram that form changes in a kind of transfer of data of the present invention.
In step S101, set up the support data format list that user A is directed to the instant communication contacts object.
Particularly, the said support data format list contact object of setting up to the instant communication contacts object wherein comprises the user B among user A and the contact object user B at least.For example; Comprise contact person B and contact person C in the instant communication client of user A; So; Described support data format list promptly is directed against contact person B and contact person C respectively and sets up, and in the support data format list to contact person B foundation, stores the data format that support is read in the corresponding terminal, instant communication client place of contact person B.Further, can also store the common data format of supporting in the corresponding terminal, instant communication client place of user A and contact person B in this table.
Foundation to the support data format list of contact object specifically comprises the steps:
Step 1-1, the terminal, instant communication contacts place of traversal user A obtains the contact person through the key assignments in the reading system registration table and belongs to the program information of installing in the terminal;
Step 1-2 obtains the corresponding support data format relevant information of program according to the program information of installing in the terminal;
Step 1-3, the data format that corresponding instant communication contacts and its terminal are supported is set up the support data format list to contact object.
In the practical application; Because the terminal of contact object instant communication client login possibly changed; And the situation of additions and deletions also can appear in application program in the same terminal, therefore, the user to the support data format list of contact object after foundation; Need be according to the change of the operating position at user and contact person terminal, the content in the his-and-hers watches is upgraded.Concrete renewal process comprises the steps:
Steps A; Satisfying under the trigger condition; Key assignments through in the instant communication contacts place terminal system registration table that reads user A obtains the contact person and belongs to the program information of installing in the terminal, and obtains the corresponding support data format relevant information of program according to the program information of installing in the terminal;
Step B compares with the support data format list of having set up to this instant communication contacts;
Step C, the part of unanimity in the two, it is constant to keep former support data format list kind content; Inconsistent part in the two, the data format relevant information that belongs to the current support in terminal with the instant communication contacts that obtains in the steps A is as the criterion, and upgrades and supports the data format list.
Particularly, in the above-mentioned step of updating, the corresponding triggering mode of the described trigger condition of steps A comprises following two kinds of one of which at least:
Mode 1 when user's instant communication contacts is reached the standard grade at every turn, is upgraded the support data format list to this instant communication contacts;
Mode 2 regularly starts and supports the data format list to upgrade operation.
To above-mentioned triggering mode 1, concrete renewal process comprises the steps:
At first, survey at every turn reaching the standard grade of user's instant communication contacts object;
Secondly; After detecting this instant communication contacts object; Through reading the key assignments in this contact object place terminal system registration table; Obtain the contact person and belong to the program information of installing in the terminal, and obtain the corresponding support data format relevant information of program according to the program information of installing in the terminal;
Then, compare, upgrade and to support the data format list with the support data format list of storage before.
To above-mentioned triggering mode 2, concrete renewal process comprises the steps:
Certain time interval is set at first, in advance;
Secondly, reach official hour at interval after, traversal user's instant communication contacts;
Then, read the key assignments in the terminal system registration table of contact object place, obtain the contact person and belong to the program information of installing in the terminal, and obtain the corresponding support data format relevant information of program according to the program information of installing in the terminal;
At last, compare, upgrade and to support the data format list with the support data format list of storage before.
For example, be 72h the blanking time that the user sets, and then sets up the support data format list to a certain contact object first from user A, every at a distance from 72 hours, and this support data format list is once upgraded.
In step S102, the format information of the target data that collection user A is sent is with supporting the data format list to compare.
When data are sent; The transmit leg client at user A place obtains the IP address and the port port of the other side's login through the dynamic message of recipient's client at inquiring user B place; Generate and send socket; Utilize and to send socket,, obtain the format information of the target data of sending through the message type field in the packet that reads user A transmission target data to recipient's client transmission packet.
The target data format information that obtains is compared with the support data format list to user B.Determine whether that according to judged result needs carry out format conversion to target data.
In step S103, judge whether target data is carried out format conversion.
If through the comparison of a last step, comprise the form of target data in the support data format list to user B, i.e. target data is read in the instant communication client counterpart terminal support of user B, then changes step S106;
If through the comparison of a last step, do not comprise the form of target data in the support data format list to user B, promptly the instant communication client counterpart terminal of user B does not support to read target data, then changes step S104.
In step S104, target data is carried out format conversion.
When judging that recipient's instant communication client counterpart terminal is not supported to read target data, promptly need carry out format conversion to target data.
Particularly, the target data format conversion includes following two kinds of conversion regimes one of which at least,
Mode one is gathered the target data format information, reads the support data format content that obtains user B to the support data format list of user B, confirms the target data format transformation;
Mode two with the request interface of Data Format Transform, is sent to the instant communication client at user B place, after collection obtains the option of user B, carries out the format conversion of target data according to option.
Further, in the aforesaid way one, that confirms the target data format transformation comprises following two kinds of patterns one of which at least,
Pattern one, different classes of to the target data form, the format transformation of preset acquiescence respectively;
Pattern two, different classes of to the target data form gathered user B to the highest data format of this classification data applying frequency, the object format with this data format during as the target data format conversion.
To pattern one, the classification of described target data form comprises audio class data format, video class data format, images category data format and text class data format one of which at least.
For example; The default form that user A preestablishes the audio class data is mp3; When user A when user B sends form and is the audio file of AAC; Through the support data format list of contrast, find that user B does not support the audio file of this form, need carry out format conversion to this target data to user B.Because target data is the audio class data, be the data format that the audio file of AAC converts mp3 into therefore with this form, be used further to transfer of data.
Generally, every type of selected default form of data format is the modal form of this class data file, perhaps reads the data format that the program of the type is generally supported.Certainly, user A also can confirm that user B supports under the situation of data format, sets default form according to the operating position of user B.
To pattern two, said collection user B specifically comprises the steps: to the applying frequency of this classification data different-format
Step a, the time range of setting applying frequency data acquisition;
Step b gathers the reading times information that is directed against different-format in these classification data in the user B counterpart terminal;
Step c according to the temporal information and the reading times information that collect in above-mentioned two steps, calculates the applying frequency of user B to different-format in these classification data.
With the audio class data instance, user B is in a period of time, and the voice data number of times that reads the mp3 form is 328 times, and the voice data number of times that reads the ogg form is 48 times.User B reads the data height of the frequency of mp3 formatted data than the ogg form in this short time so, and therefore can be regarded as user B is mp3 to audio class data file data format comparatively commonly used.When user A to user B send user B terminal when not supporting the voice data of form, be used further to transfer of data after then converting the voice data of this form into the mp3 form.
In step S105, through a last step, after the format conversion of target data finished, target data promptly was sent to the instant communication client at user B place through the instantaneous communication system server.
In step S106, between user A and user B, set up point-to-point data transmission relations.
When judging through step S103, when target data is read in the support of recipient's instant communication client counterpart terminal, then need not carry out format conversion to target data, promptly can be used for the transmission of data.
The target data that the instant communication client at user A place will send is packaged into packet, according to information such as the IP address of user B instant communication client, tcp port numbers, generates transmission sockets interface transmission packet; Instant communication client at user B generates the reception message sockets interface of arranging with the instant communication client of user A; Receive asynchronous wait reception packet in the message sockets interface at this; To the packet that receives decipher and analyzing and processing after, the target data content that obtains sending.
Among the corresponding last embodiment; Transfer of data when user both sides are online; Transfer of data between common user also comprises the off-line transmission manner; To this data transfer mode, the form method of converting concrete steps in the transfer of data of the present invention are adjusted to some extent, and method flow diagram is as shown in Figure 2.
In step S201, reception comes from the off-line data that user A sends to user B.
In the present embodiment, because user A is when user B sends target data, user B is not online, or can not in time receive data, and user A adopts the form of sending off-line data, and target data is transferred to user B.
The instantaneous communication system server is receiving after user A uploads the request of off-line data, receives to come from off-line data and the storage that user A sends to user B.
In step S202, set up the support data format list that user A is directed to the instant communication contacts object.
In the present embodiment, the recipient of the target data that user A is sent is user B, and therefore, the support data format list of foundation is the support data format list that user A is directed to user B.
Particularly, the said support data format list of setting up to the instant communication contacts object, contact object wherein comprises the user B among user A and the contact object user B at least.Promptly store the data format that support is read in the corresponding terminal, instant communication client place of contact person B in the support data format list to contact person B foundation; Further, can also store the common data format of supporting in the corresponding terminal, instant communication client place of user A and contact person B in this table.
It is to be noted; In the present embodiment; What adopt is when system receives user A first to the off-line data of instant communication contacts transmission; Set up mode, in addition, can also adopt and set up the support data format list of user A in advance to the instant communication contacts object to the support data format list of this instant communication contacts object.The difference of the two is; The former is after system receives the off-line transmission requests of user A; Set up the support data format list that sends the recipient to data, and the latter is the support data format list of setting up in advance to each instant communication contacts object of user A.
After supporting that the data format list is set up, according to the change of the operating position at user and contact person terminal, the content in the his-and-hers watches can further be upgraded.Concrete update mode and step have detailed description in last embodiment step S102, repeat no more here.
In step S203, the format information of the target data that collection user A is sent is with supporting the data format list to compare.
Through the message type field in the packet that reads the target data that user A uploads, obtain the format information of the target data of sending.The target data format information that obtains is compared with the support data format list to user B.Determine whether that according to judged result needs carry out format conversion to target data.
In step S204, judge whether target data is carried out format conversion.
If through the comparison of a last step, comprise the form of target data in the support data format list to user B, i.e. target data is read in the instant communication client counterpart terminal support of user B, then changes step S206;
If through the comparison of a last step, do not comprise the form of target data in the support data format list to user B, promptly the instant communication client counterpart terminal of user B does not support to read target data, then changes step S205.
In step S205, target data is carried out format conversion.
When judging that recipient's instant communication client counterpart terminal is not supported to read target data, promptly need carry out format conversion to target data.
Form to the target data conversion; Can confirm through preestablishing the corresponding default form of all types of data formats, perhaps confirm to every type of data frequency of utilization the maximum data form according to user B, also can be after confirming to carry out format conversion to target data; Request interface with Data Format Transform; Be sent to the instant communication client at user B place, after collection obtains the option of user B, carry out the format conversion of target data according to option.
In step S206, transfer to the instant communication client at user B place.
Receive the logging request of the immediate communication identify code corresponding in system after from user B, judge that user B login successfully after, soon the target data uploaded of user A is sent to user B and belongs to client.
User B place client receives packet in the asynchronous wait of the port socket of agreement, and packet algorithm and the protocol format by appointment that receives deciphered, resolved.And judge the data type of this message according to the message type field in the packet.Be saved in the file of default folder or user B appointment receiving target data.
The present invention has also designed the system that form changes in a kind of transfer of data, and this system configuration is as shown in Figure 3.
System 100 according to the invention comprises following structure:
Support data form database 110, be used to set up and store the support data format list that user A is directed to contact object that contact object wherein comprises the user B among user A and the user B at least;
Format conversion determination module 120 is to be used to gather the target data form, and according to the target data form with the comparing result of above-mentioned number of support according to format list, judge whether target data that user A sends to user B need carry out the functional module of format conversion;
Data Format Transform module 130 is to be used for when the support data format list to user B does not comprise the form of target data, user A is become the functional module of the data format of user B support to the target data format conversion of user B transmission;
Data interface module 140 is to be used to receive the target data from user A, and the functional module of the target data after user B sends format transformation.
Further, the form conversion system also is provided with in the said transfer of data, is used for storing the data memory module 150 of the target data after target data and the format conversion temporarily.
Corresponding described Data Format Transform module also is provided with the conversion regime setting module 131 that is used for setting data format conversion mode and sets the acquiescence conversion regime of all types of data formats.
Corresponding described Data Format Transform module also is provided with, and is used to survey user B to the highest data format of data applying frequency of all categories, the frequency sonding module 132 of the object format when for the conversion regime setting module target data format conversion being provided.
The method that form changes in a kind of transfer of data of the present invention is that as the instantaneous communication system server capability replenishes, and as preferred embodiment, system 100 is in the system server of instant messaging.Data Format Transform module 130 in the system 100 can be arranged in the system server of instant messaging in addition, also can be arranged in user's the instant communication client.
What present embodiment adopted is the preferred embodiment mode; Shown in figure; System 100 is connected with user B client 300 with user A client 200, when transfer of data, through system 100 judge, screening and the target data that needs are handled carried out format conversion.
Illustrate, it is the audio file of AAC that user A sends form to user B.Format conversion determination module 120 is through data interface module 140; The form that collects the target data of sending from user A client 200 is AAC; From the support data form database of setting up in advance 110, read support data format list again, compare in this support data format list whether include the AAC form to user B.If comprise, promptly reading of AAC format audio file supported at terminal, user B place, then between user A and user B, sets up point-to-point data transmission relations, carries out the transmission operation of target data; If do not comprise, promptly reading of AAC format audio file do not supported at terminal, user B place, then need carry out carrying out data transfer operation again after the format conversion to target data.
After confirming to carry out format conversion to the target data that user A sends, target data is uploaded in the data memory module 150 through data interface module 140.Frequency sonding module 132 data snoopings are mp3 to user B to the highest data format of audio class data file applying frequency; Target data after format converting module 130 will be uploaded converts mp3 to from AAC; Be sent to the client 300 of user B again through data interface module 140, accomplish the transmission operation of this secondary data.
More than be the description of this invention and non-limiting, based on other embodiment of inventive concept, all among protection scope of the present invention.
Claims (20)
1. the method that form changes in the transfer of data is characterized in that: this method comprises the steps,
Step 1 in instant communication server, is set up the support data format list that user A is directed to the instant communication contacts object, and contact object wherein comprises the user B among user A and the user B at least;
Step 2, the format information of the target data that instant communication server collection user A is sent is compared with aforesaid support data format list to contact person user B;
Step 3 when in being directed against the support data format list of user B, comprising the form of target data, is set up point-to-point data transmission relations between user A and user B;
When in being directed against the support data format list of user B, not comprising the form of target data,, carry out transferring to the instant communication client that user B belongs to after the format conversion with transfer of data to the instant communication server that user A is sent.
2. the method that form changes in a kind of transfer of data according to claim 1 is characterized in that: the foundation of the support data format list that is directed against contact object in the said step 1, comprise the steps,
Step 1-1, the terminal, instant communication contacts place of traversal user A obtains the contact person through the key assignments in the reading system registration table and belongs to the program information of installing in the terminal;
Step 1-2 obtains the corresponding support data format relevant information of program according to the program information of installing in the terminal;
Step 1-3, the data format that corresponding instant communication contacts and its terminal are supported is set up the support data format list to contact object.
3. the method that form changes in a kind of transfer of data according to claim 1; It is characterized in that: the support data format list that is directed against contact object in the said step 1 is after foundation; Change according to the operating position at user and contact person terminal; Content in the his-and-hers watches is upgraded, and comprises the steps
Steps A; Satisfying under the trigger condition; Key assignments through in the instant communication contacts place terminal system registration table that reads user A obtains the contact person and belongs to the program information of installing in the terminal, and obtains the corresponding support data format relevant information of program according to the program information of installing in the terminal;
Step B compares with the support data format list of having set up to this instant communication contacts;
Step C, consistent part in the two, it is constant to keep in the former support data format list content; Inconsistent part in the two, the data format relevant information that belongs to the current support in terminal with the instant communication contacts that obtains in the steps A is as the criterion, and upgrades and supports the data format list.
4. the method that form changes in a kind of transfer of data according to claim 3 is characterized in that: the update mode of the support data format list of said contact object comprises following two kinds of one of which at least,
Mode 1; Survey at every turn reaching the standard grade of user's instant communication contacts object; After the instant communication contacts object is reached the standard grade at every turn,, obtain the contact person and belong to the program information of installing in the terminal through reading the key assignments in this contact object place terminal system registration table; And, upgrade and support the data format list according to the corresponding support data format relevant information of program information acquisition program of installing in the terminal;
Mode 2; Certain time interval is set in advance; Regularly travel through user's instant communication contacts according to the time interval,, obtain the contact person and belong to the program information of installing in the terminal through reading the key assignments in the terminal system registration table of contact object place; And, upgrade and support the data format list according to the corresponding support data format relevant information of program information acquisition program of installing in the terminal.
5. the method that form changes in a kind of transfer of data according to claim 1 is characterized in that: when carrying out the target data format conversion in the said step 3, include following two kinds of conversion regimes one of which at least,
Mode one is gathered the target data format information, reads the support data format list to user B; Obtain the support data format content of user B, confirm the target data format transformation;
Mode two with the request interface of Data Format Transform, is sent to the instant communication client at user B place, after collection obtains the option of user B, carries out the format conversion of target data according to option.
6. the method that form changes in a kind of transfer of data according to claim 5 is characterized in that: described target data conversion regime one, further comprise following two kinds of patterns one of which at least,
Pattern one, different classes of to the target data form, the format transformation of preset acquiescence respectively;
Pattern two, different classes of to the target data form gathered user B to the highest data format of this classification data applying frequency, the object format with this data format during as the target data format conversion.
7. the method that form changes in a kind of transfer of data according to claim 6, it is characterized in that: the classification of described target data form comprises audio class data format, video class data format, images category data format and text class data format one of which at least.
8. the method that form changes in a kind of transfer of data according to claim 6 is characterized in that: said user B is directed against the applying frequency collection of this classification data different-format, comprise the steps,
Step a, the time range of setting applying frequency data acquisition;
Step b gathers the reading times information that is directed against different-format in these classification data in the user B counterpart terminal;
Step c according to the temporal information and the reading times information that collect in above-mentioned two steps, calculates the applying frequency of user B to different-format in these classification data.
9. the method that form changes in the transfer of data is characterized in that: this method comprises the steps,
Step 1, instant communication server receive and come from the off-line data that user A sends to user B;
Step 2 when user B reaches the standard grade after user B sends off-line data, is set up the support data format list to terminal, user B place in advance or at user A;
Step 3 is obtained the target data format information that user A is sent through instant communication server, compares with aforesaid support data format list;
Step 4, when when comprising the form of target data in the support data format list of user B, instant communication server is about to the instant communication client that target data that user A uploads transfers to user B place;
When in being directed against the support data format list of user B, not comprising the form of target data, after the target data that instant communication server is uploaded user A is carried out format conversion, transfer to the instant communication client at user B place.
10. the method that form changes in a kind of transfer of data according to claim 9 is characterized in that: the foundation of the support data format list that is directed against contact object in the said step 1, comprise the steps,
Step 1-1, the terminal, instant communication contacts place of traversal user A obtains the contact person through the key assignments in the reading system registration table and belongs to the program information of installing in the terminal;
Step 1-2 obtains the corresponding support data format relevant information of program according to the program information of installing in the terminal;
Step 1-3, the data format that corresponding instant communication contacts and its terminal are supported is set up the support data format list to contact object.
11. the method that form changes in a kind of transfer of data according to claim 9; It is characterized in that: the support data format list that is directed against contact object in the said step 1 is after foundation; Change according to the operating position at user and contact person terminal; Content in the his-and-hers watches is upgraded, and comprises the steps
Steps A; Satisfying under the trigger condition; Key assignments through in the instant communication contacts place terminal system registration table that reads user A obtains the contact person and belongs to the program information of installing in the terminal, and obtains the corresponding support data format relevant information of program according to the program information of installing in the terminal;
Step B compares with the support data format list of having set up to this instant communication contacts;
Step C, consistent part in the two, it is constant to keep in the former support data format list content; Inconsistent part in the two, the data format relevant information that belongs to the current support in terminal with the instant communication contacts that obtains in the steps A is as the criterion, and upgrades and supports the data format list.
12. the method that form changes in a kind of transfer of data according to claim 11 is characterized in that: the update mode of the support data format list of said contact object comprises following two kinds of one of which at least,
Mode 1; Survey at every turn reaching the standard grade of user's instant communication contacts object; After the instant communication contacts object is reached the standard grade at every turn,, obtain the contact person and belong to the program information of installing in the terminal through reading the key assignments in this contact object place terminal system registration table; And, upgrade and support the data format list according to the corresponding support data format relevant information of program information acquisition program of installing in the terminal;
Mode 2; Certain time interval is set in advance; Regularly travel through user's instant communication contacts according to the time interval,, obtain the contact person and belong to the program information of installing in the terminal through reading the key assignments in the terminal system registration table of contact object place; And, upgrade and support the data format list according to the corresponding support data format relevant information of program information acquisition program of installing in the terminal.
13. the method that form changes in a kind of transfer of data according to claim 9 is characterized in that: when carrying out the target data format conversion in the said step 3, include following two kinds of conversion regimes one of which at least,
Mode one is gathered the target data format information, reads the support data format list to user B; Obtain the support data format content of user B, confirm the target data format transformation;
Mode two with the request interface of Data Format Transform, is sent to the instant communication client at user B place, after collection obtains the option of user B, carries out the format conversion of target data according to option.
14. the method that form changes in a kind of transfer of data according to claim 13 is characterized in that: described target data conversion regime one, further comprise following two kinds of patterns one of which at least,
Pattern one, different classes of to the target data form, the format transformation of preset acquiescence respectively;
Pattern two, different classes of to the target data form gathered user B to the highest data format of this classification data applying frequency, the object format with this data format during as the target data format conversion.
15. the method that form changes in a kind of transfer of data according to claim 14, it is characterized in that: the classification of described target data form comprises audio class data format, video class data format, images category data format and text class data format one of which at least.
16. the method that form changes in a kind of transfer of data according to claim 14 is characterized in that: said user B comprises the steps to the collection of this classification data applying frequency,
Step a, the time range of setting applying frequency data acquisition;
Step b gathers the reading times information that is directed against different-format in these classification data in the user B counterpart terminal;
Step c according to the temporal information and the reading times information that collect in above-mentioned two steps, calculates the applying frequency of user B to different-format in these classification data.
17. the system that form changes in the transfer of data, it is characterized in that: this system comprises following structure,
Support the data form database, be used to set up and store the support data format list that user A is directed to contact object that contact object wherein comprises the user B among user A and the user B at least;
The format conversion determination module is to be used to gather the target data form, and according to the target data form with the comparing result of above-mentioned number of support according to format list, judge whether target data that user A sends to user B need carry out the functional module of format conversion;
The Data Format Transform module is to be used for when the support data format list to user B does not comprise the form of target data, user A is become the functional module of the data format of user B support to the target data format conversion of user B transmission;
Data interface module is to be used to receive the target data from user A, and the functional module of the target data after user B sends format transformation.
18. the system that form changes in a kind of transfer of data according to claim 17, it is characterized in that: the form conversion system also is provided with in the said transfer of data, is used for storing the data memory module of the target data after target data and the format conversion temporarily.
19. the system that form changes in a kind of transfer of data according to claim 17; It is characterized in that: corresponding described Data Format Transform module also is provided with, the conversion regime setting module that is used for setting data format conversion mode and sets the acquiescence conversion regime of all types of data formats.
20. system according to form transformation in claim 17 and the 19 described a kind of transfer of data; It is characterized in that: corresponding described Data Format Transform module also is provided with; Be used to survey user B to the highest data format of data applying frequency of all categories, the frequency sonding module of the object format when the target data format conversion being provided for the conversion regime setting module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104265120A CN102413075A (en) | 2011-12-18 | 2011-12-18 | Method and system for changing format during data transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104265120A CN102413075A (en) | 2011-12-18 | 2011-12-18 | Method and system for changing format during data transmission |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102413075A true CN102413075A (en) | 2012-04-11 |
Family
ID=45914932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011104265120A Pending CN102413075A (en) | 2011-12-18 | 2011-12-18 | Method and system for changing format during data transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102413075A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279269A (en) * | 2013-05-31 | 2013-09-04 | 华为技术有限公司 | Method, device and terminal equipment for data interaction among application programs |
CN103457825A (en) * | 2012-05-31 | 2013-12-18 | 华为技术有限公司 | Method, device and system for achieving instant message communication |
CN103559171A (en) * | 2013-11-04 | 2014-02-05 | 北京锐安科技有限公司 | Data format conversion method and device for use in network application |
CN103685160A (en) * | 2012-09-05 | 2014-03-26 | 金蝶软件(中国)有限公司 | Communication method and system for terminals |
CN104461516A (en) * | 2014-11-21 | 2015-03-25 | 北京锐安科技有限公司 | Data processing method and device |
WO2016019855A1 (en) * | 2014-08-08 | 2016-02-11 | 国家电网公司 | Data conversion method and apparatus |
CN103491135B (en) * | 2013-09-02 | 2017-04-19 | 用友网络科技股份有限公司 | Device and method for conducting self-matching on data formats |
CN107707450A (en) * | 2017-08-22 | 2018-02-16 | 努比亚技术有限公司 | A kind of method, apparatus and computer-readable recording medium for transmitting file |
WO2018032130A1 (en) * | 2016-08-14 | 2018-02-22 | 何兰 | Data acquisition method for video conversion technology, and forwarding system |
WO2018032131A1 (en) * | 2016-08-14 | 2018-02-22 | 何兰 | Method for forwarding video information from computer to mobile phone, and forwarding system |
CN107800764A (en) * | 2017-09-11 | 2018-03-13 | 新奥泛能网络科技股份有限公司 | Data sharing method, system, computer read/write memory medium and server |
CN109428803A (en) * | 2017-08-22 | 2019-03-05 | 深圳艾派网络科技股份有限公司 | A kind of method for sending voice message and system |
CN109962755A (en) * | 2019-02-27 | 2019-07-02 | 深圳市元征科技股份有限公司 | A kind of data processing method and device |
CN114238234A (en) * | 2021-12-17 | 2022-03-25 | 平安养老保险股份有限公司 | File interaction method and device, computer equipment and storage medium |
CN116325703A (en) * | 2020-09-28 | 2023-06-23 | 华为技术有限公司 | Data format processing method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020120693A1 (en) * | 2001-02-27 | 2002-08-29 | Rudd Michael L. | E-mail conversion service |
US6549937B1 (en) * | 1999-07-21 | 2003-04-15 | Microsoft Corporation | System and method for multi-protocol communication in a computer network |
JP2004240821A (en) * | 2003-02-07 | 2004-08-26 | Nec Corp | Presence service system, presence server, and presence server program |
CN101146059A (en) * | 2007-11-06 | 2008-03-19 | 中国电信股份有限公司 | A mail system, method and terminal for supporting attachment format conversion |
US20090177601A1 (en) * | 2008-01-08 | 2009-07-09 | Microsoft Corporation | Status-aware personal information management |
CN101599161A (en) * | 2009-07-17 | 2009-12-09 | 用友软件股份有限公司 | Marketing support system |
CN101686212A (en) * | 2008-09-26 | 2010-03-31 | 阿尔卡特朗讯 | Method enabling interoperable communication between real and virtual communities |
CN102150443A (en) * | 2008-09-15 | 2011-08-10 | 微软公司 | System and methods for communication between instant message users and short message service users |
-
2011
- 2011-12-18 CN CN2011104265120A patent/CN102413075A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6549937B1 (en) * | 1999-07-21 | 2003-04-15 | Microsoft Corporation | System and method for multi-protocol communication in a computer network |
US20020120693A1 (en) * | 2001-02-27 | 2002-08-29 | Rudd Michael L. | E-mail conversion service |
JP2004240821A (en) * | 2003-02-07 | 2004-08-26 | Nec Corp | Presence service system, presence server, and presence server program |
CN101146059A (en) * | 2007-11-06 | 2008-03-19 | 中国电信股份有限公司 | A mail system, method and terminal for supporting attachment format conversion |
US20090177601A1 (en) * | 2008-01-08 | 2009-07-09 | Microsoft Corporation | Status-aware personal information management |
CN102150443A (en) * | 2008-09-15 | 2011-08-10 | 微软公司 | System and methods for communication between instant message users and short message service users |
CN101686212A (en) * | 2008-09-26 | 2010-03-31 | 阿尔卡特朗讯 | Method enabling interoperable communication between real and virtual communities |
CN101599161A (en) * | 2009-07-17 | 2009-12-09 | 用友软件股份有限公司 | Marketing support system |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103457825A (en) * | 2012-05-31 | 2013-12-18 | 华为技术有限公司 | Method, device and system for achieving instant message communication |
CN103685160A (en) * | 2012-09-05 | 2014-03-26 | 金蝶软件(中国)有限公司 | Communication method and system for terminals |
CN103279269B (en) * | 2013-05-31 | 2016-03-02 | 华为技术有限公司 | Data interactive method between a kind of application program and device, terminal device |
CN103279269A (en) * | 2013-05-31 | 2013-09-04 | 华为技术有限公司 | Method, device and terminal equipment for data interaction among application programs |
CN103491135B (en) * | 2013-09-02 | 2017-04-19 | 用友网络科技股份有限公司 | Device and method for conducting self-matching on data formats |
CN103559171A (en) * | 2013-11-04 | 2014-02-05 | 北京锐安科技有限公司 | Data format conversion method and device for use in network application |
WO2016019855A1 (en) * | 2014-08-08 | 2016-02-11 | 国家电网公司 | Data conversion method and apparatus |
CN104461516B (en) * | 2014-11-21 | 2018-03-06 | 北京锐安科技有限公司 | A kind of data processing method and device |
CN104461516A (en) * | 2014-11-21 | 2015-03-25 | 北京锐安科技有限公司 | Data processing method and device |
WO2018032130A1 (en) * | 2016-08-14 | 2018-02-22 | 何兰 | Data acquisition method for video conversion technology, and forwarding system |
WO2018032131A1 (en) * | 2016-08-14 | 2018-02-22 | 何兰 | Method for forwarding video information from computer to mobile phone, and forwarding system |
CN107707450A (en) * | 2017-08-22 | 2018-02-16 | 努比亚技术有限公司 | A kind of method, apparatus and computer-readable recording medium for transmitting file |
CN109428803A (en) * | 2017-08-22 | 2019-03-05 | 深圳艾派网络科技股份有限公司 | A kind of method for sending voice message and system |
CN107800764A (en) * | 2017-09-11 | 2018-03-13 | 新奥泛能网络科技股份有限公司 | Data sharing method, system, computer read/write memory medium and server |
CN109962755A (en) * | 2019-02-27 | 2019-07-02 | 深圳市元征科技股份有限公司 | A kind of data processing method and device |
CN116325703A (en) * | 2020-09-28 | 2023-06-23 | 华为技术有限公司 | Data format processing method and device |
CN114238234A (en) * | 2021-12-17 | 2022-03-25 | 平安养老保险股份有限公司 | File interaction method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102413075A (en) | Method and system for changing format during data transmission | |
CN1330207C (en) | Parameter allocating system and method for mobile station | |
CN104899325A (en) | APP (application) acquired data collection method, terminal, server and system | |
US9130804B2 (en) | Method and system for transmission of data packets from an IP-based network via a first network node to a second network node | |
CA3070449A1 (en) | Syndicated internet of things (iot) data systems and methods enabling enhanced iot supplier and application independent device functionality and services | |
CN101026850A (en) | Mobileterminal software autmatic upgrading method and system, mobile terminal and software management server | |
CN104092715A (en) | Synchronization application program method, server and system | |
CN101814971A (en) | Method for transmitting mobile phone file | |
CN106679095B (en) | A kind of method, apparatus and intelligent air-conditioning system of interconnection access | |
CN101471953A (en) | Information transmission method, system and device | |
US20110055154A1 (en) | Dual-synchronisation method for a mobile electronic device | |
CN111263338A (en) | Network distribution method of Bluetooth Mesh network and related network distribution equipment and system | |
KR20100042685A (en) | System for providing two-way push service based on dynamic ip in wireless network environment | |
CN105227736B (en) | A kind of update method of reserved phone number, apparatus and system | |
CN113098988B (en) | Data transmission method and data transmission system | |
CN101572957A (en) | Acquisition method and system of wireless terminal log based on WMMP | |
CN106648721A (en) | Method and device for upgrading software | |
KR100702704B1 (en) | Notification System and Method Using Messenger | |
CN103108293A (en) | Information identifying method and system thereof | |
CN111314895A (en) | Bluetooth-based wireless upgrading method and device, server and electronic equipment | |
CN110417875B (en) | Method, system, equipment and storage medium for docking between cloud servers | |
CN101599988A (en) | Realize the system and method for service of electronic picture frame | |
CN110809031A (en) | Method for transmitting file to mobile phone by computer | |
CN104854930A (en) | Method, control node, gateway and computer program for enabling communication with a newly detected device | |
CN107124760B (en) | APN information collection and synchronization method, terminal device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120411 |