CN104618874B - A kind of data capture method and electronic equipment - Google Patents

A kind of data capture method and electronic equipment Download PDF

Info

Publication number
CN104618874B
CN104618874B CN201510047458.7A CN201510047458A CN104618874B CN 104618874 B CN104618874 B CN 104618874B CN 201510047458 A CN201510047458 A CN 201510047458A CN 104618874 B CN104618874 B CN 104618874B
Authority
CN
China
Prior art keywords
communication identifier
electronic equipment
information
characteristic information
network
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.)
Active
Application number
CN201510047458.7A
Other languages
Chinese (zh)
Other versions
CN104618874A (en
Inventor
何旭
树柏涵
李雅芹
张蓓佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
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
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201510047458.7A priority Critical patent/CN104618874B/en
Publication of CN104618874A publication Critical patent/CN104618874A/en
Application granted granted Critical
Publication of CN104618874B publication Critical patent/CN104618874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The present invention relates to field of human-computer interaction, disclose a kind of data capture method and electronic equipment, when being communicated by communication identifier with other electronic equipments or it will lead to network flow to solve electronic equipment in the prior art and expend the less technical problem of relevant information that is more or leading to acquisition communication identifier.This method is applied in electronic equipment, comprising: when electronic equipment is communicated with the foundation of opposite end electronic equipment, determines the communication identifier of opposite end electronic equipment;Judge whether communication identifier meets preset condition;When communication identifier meets preset condition, controlling electronic devices obtains the fisrt feature information of communication identifier from network and exports fisrt feature information;When communication identifier is unsatisfactory for preset condition, the second feature information of communication identifier is determined from the off-line data packet that electronic equipment prestores and exports second feature information.The technical effect that can either be saved the network flow of electronic equipment consuming, the additional information of communication identifier can be obtained in time again simultaneously is reached.

Description

A kind of data capture method and electronic equipment
Technical field
The present invention relates to field of human-computer interaction more particularly to a kind of data capture methods and electronic equipment.
Background technique
Logical number is a based on search engine mass data, realizes the number tool-class software of intelligent intercept scheme. By the open call information in crawl internet, magnanimity number database is established, allows swindle, intermediary promotes etc. and to harass number It has no place to hide.The user corresponding to the strange harassing and wrecking communication identifier can be classified " label ", make full use of wisdom many Packet, allows the harassing call of slipping through the net except those databases to be marked one by one.When carrying out label to communication identifier, may include The label information (such as: intermediary, advertisement, house property etc.) of communication identifier can also include some additional informations of communication identifier (such as: add V certification, the head portrait of communication identifier etc.), however the program needs to network and just be able to achieve, so lead to the hand of user Machine flow expends higher.
Mobile data traffic is saved for help user and solves the problems, such as the in poor shape lower footpath between fields electricity identification of user network, and number leads to skill Offline packet technology has been increased newly again in art, and communication identifier and the corresponding label information packing of communication identifier are issued to user mobile phone On, such mobile phone is when receiving or dialing strange communication identifier, so that it may quickly show the communication mark in local offline packet The label information of knowledge, without consumed flow of networking every time.However, the program is only able to display out the label letter of communication identifier Breath, and can not show more additional informations, such as: number head portrait plus V certification etc..
It is being communicated by communication identifier with other electronic equipments it can be seen that electronic equipment exists in the prior art When or will lead to network flow and expend more or lead to the less technical problem of relevant information for obtaining communication identifier.
Summary of the invention
The present invention provides a kind of data capture method and electronic equipment, with solve in the prior art electronic equipment by logical Network flow of beacon knowing when being communicated with other electronic equipments or will lead to expends more or causes to obtain communication mark The less technical problem of the relevant information of knowledge.
In a first aspect, the embodiment of the present invention provides a kind of data capture method, it is applied in electronic equipment, comprising:
When the electronic equipment is communicated with the foundation of opposite end electronic equipment, the communication mark of the opposite end electronic equipment is determined Know;
Judge whether the communication identifier meets preset condition;
When the communication identifier meets the preset condition, the electronic equipment is controlled from network and obtains the communication mark The fisrt feature information of knowledge simultaneously exports the fisrt feature information, and the fisrt feature information includes the opposite end electronic equipment The label information and additional information of user;
When the communication identifier is unsatisfactory for the preset condition, from the off-line data packet that the electronic equipment prestores really The second feature information of the fixed communication identifier simultaneously exports the second feature information, comprising described in the second feature information Label information.
It is optionally, described to judge whether the communication identifier meets preset condition, specifically:
Judge whether comprising the additional information in the characteristic information of the communication identifier, in the feature of the communication identifier When in information including the additional information, it is determined that the communication identifier meets the preset condition.
Optionally, whether the characteristic information for judging the communication identifier includes the additional information, is specifically included:
Field corresponding to the communication identifier is obtained from the off-line data packet;
Judge whether the field is located at preset field range;
When the field is located at the preset field range, determine in the characteristic information of the communication identifier comprising described Additional information.
Optionally, the control electronic equipment obtains the fisrt feature information of the communication identifier from network, specifically Include:
Between the time and current time for determining the characteristic information that the last time obtains the communication identifier by the network Time interval;
Judge whether the time interval is greater than the preset threshold;
When the time interval is greater than the preset threshold, the fisrt feature information is obtained from the network;
When the time interval is not more than the preset threshold, the communication identifier that the electronic equipment prestores is obtained Characteristic information.
Optionally, the preset threshold and the renewal frequency of the characteristic information are in inverse correlation relationship.
Optionally, in the determination once by the network obtain the communication identifier characteristic information time with Before time interval between current time, the method also includes:
Whether judge in the characteristic information of the communication identifier comprising commenting what the user of the communication identifier was evaluated Valence interface;
When not including the evaluation interface in the characteristic information of the communication identifier, the time interval is determined;
When including the evaluation interface in the characteristic information of the communication identifier, the electronic equipment is directly controlled from net Network obtains the fisrt feature information of the communication identifier.
Optionally, comprising commenting the user of the communication identifier in the characteristic information corresponding to the communication identifier When the evaluation interface of valence, the preset threshold is zero.
Optionally, the control electronic equipment from network obtain the communication identifier fisrt feature information it Afterwards, the method also includes:
It is carried out more by characteristic information of the fisrt feature information to the communication identifier that the electronic equipment prestores Newly.
Optionally, the additional information of the communication identifier specifically includes: authentication information, recommendation information, head image information, to institute State at least one of the evaluation interface that the user of communication identifier is evaluated information.
Second aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising:
First determining module, for determining the opposite end when the electronic equipment is communicated with the foundation of opposite end electronic equipment The communication identifier of electronic equipment;
First judgment module, for judging whether the communication identifier meets preset condition;
Control module, for controlling the electronic equipment from network when the communication identifier meets the preset condition It obtains the fisrt feature information of the communication identifier and exports the fisrt feature information, the fisrt feature information includes described The label information and additional information of the user of opposite end electronic equipment;
Second determining module, it is pre- from the electronic equipment for when the communication identifier is unsatisfactory for the preset condition The second feature information of the communication identifier is determined in the off-line data packet deposited and exports the second feature information, described second It include the label information in characteristic information.
Optionally, the first judgment module, is specifically used for:
Judge whether comprising the additional information in the characteristic information of the communication identifier, in the feature of the communication identifier When in information including the additional information, it is determined that the communication identifier meets the preset condition.
Optionally, the first judgment module, specifically includes:
First acquisition unit, for obtaining field corresponding to the communication identifier from the off-line data packet;
First judging unit, for judging whether the field is located at preset field range;
First determination unit, for determining the communication identifier when the field is located at the preset field range It include the additional information in characteristic information.
Optionally, the control module, specifically includes:
Second determination unit, for determine the last characteristic information that the communication identifier is obtained by the network when Between time interval between current time;
Second judgment unit, for judging whether the time interval is greater than the preset threshold;
Second acquisition unit is used for when the time interval is greater than the preset threshold, described in network acquisition Fisrt feature information;
Third acquiring unit, for obtaining the electronic equipment when the time interval is not more than the preset threshold The characteristic information of the communication identifier prestored.
Optionally, the preset threshold and the renewal frequency of the characteristic information are in inverse correlation relationship.
Optionally, the electronic equipment further include:
Second judgment module, for once obtaining the characteristic information of the communication identifier by the network in determination Before time interval between time and current time, whether judge in the characteristic information of the communication identifier comprising to described logical The evaluation interface that the user that beacon is known is evaluated;
Second determination unit, when for not including the evaluation interface in the characteristic information of the communication identifier, Determine the time interval;
The control module is directly controlled when for including the evaluation interface in the characteristic information of the communication identifier Make the fisrt feature information that the electronic equipment obtains the communication identifier from network.
Optionally, comprising commenting the user of the communication identifier in the characteristic information corresponding to the communication identifier When the evaluation interface of valence, the preset threshold is zero.
Optionally, the electronic equipment further include:
Update module, for control the electronic equipment from network obtain the communication identifier fisrt feature information it Afterwards, it is updated by characteristic information of the fisrt feature information to the communication identifier that the electronic equipment prestores.
Optionally, the additional information of the communication identifier specifically includes: authentication information, recommendation information, head image information, to institute State at least one of the evaluation interface that the user of communication identifier is evaluated information.
The present invention has the beneficial effect that:
Due in embodiments of the present invention, when electronic equipment is communicated with the foundation of opposite end electronic equipment, it is first determined opposite end The communication identifier of electronic equipment;Then judge whether communication identifier meets preset condition;When communication identifier meets preset condition, Controlling electronic devices obtains the fisrt feature information of communication identifier from network and exports fisrt feature information, fisrt feature packet The label information and additional information of the user of the electronic equipment containing opposite end;When communication identifier is unsatisfactory for preset condition, set from electronics The second feature information of communication identifier is determined in the standby off-line data packet prestored and exports second feature information, second feature information In include the label information.That is, can come whether controlling electronic devices passes through according to the actual demand of electronic equipment Network obtains the characteristic information of communication identifier, to reach the network flow while again that can either save electronic equipment consuming The technical effect of the additional information of communication identifier can be obtained in time;
Also, in this scenario due to being for each communication identifier from the corresponding characteristic information of network acquisition, so When increasing a new content in the additional information of communication identifier, it is only necessary to be communicated in electronic equipment with corresponding electronic equipment When, corresponding characteristic information is downloaded, without being updated again to entire off-line data packet, so further drop The low network flow of the consuming of electronic equipment, and implementation process is also relatively simple.
Detailed description of the invention
Fig. 1 is the flow chart of data capture method in the embodiment of the present invention;
Fig. 2 is to judge whether the characteristic information of communication identifier includes additional information in data capture method of the embodiment of the present invention Flow chart;
Fig. 3 a is the first schematic diagram that additional information is authentication information in data capture method of the embodiment of the present invention;
Fig. 3 b is second of schematic diagram that additional information is authentication information in data capture method of the embodiment of the present invention;
Fig. 3 c is the schematic diagram that additional information is recommendation information in data capture method of the embodiment of the present invention;
Fig. 3 d is that additional information is the first that interface is evaluated when evaluating interface in data capture method of the embodiment of the present invention Schematic diagram;
Fig. 3 e is that additional information is second that interface is evaluated when evaluating interface in data capture method of the embodiment of the present invention Schematic diagram;
Fig. 4 is the first spy that controlling electronic devices obtains communication identifier from network in data capture method of the embodiment of the present invention The flow chart of reference breath;
Fig. 5 is that data capture method of embodiment of the present invention controlling electronic devices obtains fisrt feature information from network every time Schematic diagram;
Fig. 6 is the structure chart of electronic equipment in the embodiment of the present invention.
Specific embodiment
The present invention provides a kind of data capture method and electronic equipment, with solve in the prior art electronic equipment by logical Network flow of beacon knowing when being communicated with other electronic equipments or will lead to expends more or causes to obtain communication mark The less technical problem of the relevant information of knowledge.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present application:
Provide a kind of data capture method, comprising: when electronic equipment is communicated with the foundation of opposite end electronic equipment, first really Determine the communication identifier of opposite end electronic equipment;Then judge whether communication identifier meets preset condition;Meet in communication identifier default When condition, controlling electronic devices obtains the fisrt feature information of communication identifier from network and exports fisrt feature information, and first is special The label information and additional information of user of the reference breath comprising opposite end electronic equipment;When communication identifier is unsatisfactory for preset condition, The second feature information of communication identifier is determined from the off-line data packet that electronic equipment prestores and exports second feature information, second It include the label information in characteristic information.That is, controlling electronic devices can be carried out according to the actual demand of electronic equipment Whether the characteristic information of communication identifier is obtained by network, to reach the network flow that can either save electronic equipment consuming Measure while can obtain in time again the technical effect of the additional information of communication identifier;
Also, in this scenario due to being for each communication identifier from the corresponding characteristic information of network acquisition, so When increasing a new content in the additional information of communication identifier, it is only necessary to be communicated in electronic equipment with corresponding electronic equipment When, corresponding characteristic information is downloaded, without being updated again to entire off-line data packet, so further drop The low network flow of the consuming of electronic equipment, and implementation process is also relatively simple.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical solution of the present invention It is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the detailed of technical solution of the present invention Thin explanation, rather than the restriction to technical solution of the present invention, in the absence of conflict, the embodiment of the present invention and embodiment In technical characteristic can be combined with each other.
In a first aspect, the embodiment of the present invention provides a kind of data capture method, it is applied in electronic equipment, referring to FIG. 1, Include:
Step S101: when electronic equipment is communicated with the foundation of opposite end electronic equipment, the communication mark of opposite end electronic equipment is determined Know;
Step S102: judge whether communication identifier meets preset condition;
Step S103a: when communication identifier meets preset condition, controlling electronic devices obtains the of communication identifier from network One characteristic information simultaneously exports fisrt feature information, and fisrt feature information includes the label information of user of opposite end electronic equipment and attached Add information;
Step S103b: it when communication identifier is unsatisfactory for preset condition, is determined from the off-line data packet that electronic equipment prestores The second feature information of communication identifier simultaneously exports second feature information, includes label information in second feature information.
In step S101, electronic equipment (or opposite end electronic equipment) may is that fixed line phone, functional mobile phone, intelligent hand Machine, tablet computer, computer etc. have the electronic equipment of communication function, for electronic equipment (or opposite end electronic equipment) what are specifically Kind electronic equipment, the embodiment of the present application are not particularly limited.
Communication identifier can be with are as follows: the telephone number of opposite end electronic equipment or the Instant Messenger being mounted on the electronic equipment of opposite end Believe that the user account (such as: QQ number code, wechat account, the prosperous account of Ali etc.) of software, the instant communication software have communication Function.
The foundation of electronic equipment and opposite end electronic equipment, which communicate, can be divided into two kinds of situations, and a kind of situation is electronic equipment reception The communication request (such as: receiving the incoming call of opposite end electronic equipment, short message, multimedia message etc.) initiated to opposite end electronic equipment, In this case, the communication identifier in communication request just comprising opposite end electronic equipment;Another situation is that electronic equipment by pair Hold the communication identifier of electronic equipment to opposite end electronic equipment initiate communication request (such as: it is logical to initiate voice to opposite end electronic equipment Letter request sends short message, multimedia message etc. to opposite end electronic equipment), such as: opposite end electronic equipment is directly inputted in dialing interface Communication identifier then click to dial key, or in address list select opposite end electronic equipment contact person ID then click to dial Key or first point open short message interface, then select opposite end electronic equipment contact person ID etc., in such a case, it is possible to obtain Take the communication identifier of opposite end electronic equipment shown by the display unit of electronic equipment, or the connection by opposite end electronic equipment The communication identifier of people ID acquisition opposite end electronic equipment.
In step S102, judge whether communication identifier meets preset condition, specifically: judge the characteristic information of communication identifier In whether include additional information, when including additional information in the characteristic information of communication identifier, it is determined that communication identifier meets pre- If condition.
Due in this case, when only including additional information in the characteristic information of communication identifier, just being obtained from network The fisrt feature information of communication identifier is taken, the of communication identifier is otherwise obtained directly from the off-line data packet that electronic equipment prestores Two characteristic informations reduce electricity so having reached while not reducing the relevant information of communication identifier acquired in electronic equipment The technical effect of network flow spent by sub- equipment.
In the specific implementation process, whether can judge in several ways in the characteristic information of communication identifier comprising additional Information is set forth below two kinds therein and is introduced, and certainly, in the specific implementation process, is not limited to following two situation.
The first, judges whether the characteristic information of communication identifier includes additional information, referring to FIG. 2, specifically including:
Step S201: field corresponding to communication identifier is obtained from off-line data packet;
Step S202: judge whether field is located at preset field range;
Step S203a: it when field is located at preset field range, determines in the characteristic information of communication identifier comprising additional letter Breath;
Step S203b: it when field is not located at preset field range, determines in the characteristic information of communication identifier not comprising attached Add information.
In step S201, server can all be arranged all communication identifiers one time beyond the clouds, then by communication identifier It is divided into two classes, includes label information one is characteristic information and do not include additional information, another kind is that characteristic information had both included mark Sign information includes additional information again.Then add different fields to different types of communication identifier, such as: assuming that it is original from Line bag data format is " communication identifier tag ", then can add word to it for the communication identifier for only including label information Section " -1 ", and then be " communication identifier tag-1 " by corresponding offline bag data Format adjusting;For the communication comprising additional information Mark can be located at the field of nonnegative number range to its addition, such as: " 1 ", " 2 " etc., by taking field is " 1 " as an example, and then will Corresponding offline bag data Format adjusting is " communication identifier tag 1 ", is finally that the offline packet of modification upgrading issues agreement, supporting should Field issues, and then can include the field in off-line data packet received by electronic equipment.
Wherein, negative (such as-the 1 of aforementioned list, naturally it is also possible to be other negatives) represents and does not have in the above example Additional information, 0 and positive number represent there is additional information, be only citing, can also be indicated by other numerical value, as long as can be with There to be additional information and be distinguished without additional information.To determine the logical of opposite end electronic equipment in electronic equipment After beacon is known, so that it may determine the communication identifier institute in the off-line data packet that electronic equipment prestores by the communication identifier Corresponding off-line data, for example, it is assumed that including off-line data as shown in Table 1 in off-line data packet:
Table 1
It so, is " -1 " for its corresponding field of communication identifier " 158XXXXXXXX ", for communication identifier " 16854XXXX " its corresponding field is " 0 ", is " 3 " for its corresponding field of communication identifier " 159XXXXXXXX ".
Step S202, judges whether field is located at preset field range for example are as follows: judges whether field is located at non-negative number Segment limit;
In step S203, due to being directed to the field that sets to it of the communication identifier comprising additional information in step S201 as position In the field of nonnegative number range, so if field is located at nonnegative number field range, it is determined that in the characteristic information of communication identifier Comprising additional information, otherwise, it is determined that do not include additional information in the characteristic information of communication identifier.
Second, judges whether the characteristic information of communication identifier includes additional information, is specifically included: judging that communication identifier is It is no to be located at default communication identifier list, when communication identifier is located at default communication identifier list, it is determined that the feature of communication identifier It include additional information in information.
For example, server can all arrange all communication identifiers one time beyond the clouds, then by communication identifier point For two classes, includes label information one is characteristic information and do not include additional information, another kind is that characteristic information both includes label Information includes additional information again.Then it is by the communication identifier arrangement that characteristic information includes label information and do not include additional information One default communication identifier list, for example, it is assumed that including following communication identifier in default communication identifier list: 158XXXXXXXX, 7568XXXX, 63XXX etc., then it is default then to determine that communication identifier " 158XXXXXXXX " is located at Communication identifier list, communication identifier " 16854XXXX " " 159XXXXXXXX " are not located at default communication identifier list, and then can be with It determines not including additional information, communication identifier " 16854XXXX " in the characteristic information of communication identifier " 158XXXXXXXX " It include additional information in the characteristic information of " 159XXXXXXXX ".
In step S103a, for example, label information is for example are as follows: express delivery, food delivery, advertisement etc..
According to the difference of communication identifier, corresponding to additional information it is also different, several additional letters therein are set forth below Breath is introduced, and certainly, in the specific implementation process, is not limited to following several situations, in addition, in the absence of conflict, with Under several additional informations can be applied in combination.
The first, the additional information of communication identifier specifically includes: authentication information;
For example, authentication information is used to characterize the confidence level of user corresponding to the communication identifier, wherein authentication information It can be the authentication information of a variety of situations, be set forth below two kinds therein and be introduced, certainly, in the specific implementation process, no It is limited to following two situation.
1. authentication information specifically: add V to authenticate, if, comprising adding V certification, said in the additional information of communication identifier The confidence level of user corresponding to the bright communication identifier is higher, the user of electronic equipment can trust with opposite end electronic equipment User communicates, and is as shown in Figure 3a the schematic diagram of one plus V certification;
2. authentication information specifically: star certification, if including star certification in the additional information of communication identifier, such as The star of the certification of star corresponding to the fruit communication identifier is more, then illustrates that confidence level corresponding to the user of the communication identifier is got over Height, and then the user of electronic equipment can be authenticated by the star in the additional information in communication identifier to determine that opposite end electronics is set Whether standby user is credible, is as shown in Figure 3b the schematic diagram of star certification.
Through the above scheme, the confidence level that the user of opposite end electronic equipment can be judged by authentication information is realized Technical effect.
Second, the additional information of communication identifier specifically includes: recommendation information;
For example, cloud server can determine the user of electronic equipment by the communication identifier of opposite end electronic equipment Current demand, and then corresponding recommendation information is determined according to the current demand of the user of electronic equipment, such as: if opposite end The user of electronic equipment is a cuisines businessman, and in this case, then recommendation information can be with are as follows: cuisines businessman's purchases by group letter Breath, the classical dish information of cuisines businessman, at a distance from cuisines businessman less than pre-determined distance other cuisines businessmans group Purchase information etc..It as shown in Figure 3c, is the schematic diagram of a recommendation information.
Through the above scheme, it realizes through the communication identifier of opposite end electronic equipment come the demand of intellectual analysis user, and Recommendation information needed for exporting user to user, technical effect needed for meeting user.
The third, the additional information of communication identifier specifically includes: head image information;
For example, the head portrait of oneself can be uploaded to cloud server, and then cloud by the user of opposite end electronic equipment It may include the head image information of the user of opposite end electronic equipment in the additional information of the communication identifier stored in server.
4th kind, the additional information of communication identifier specifically includes: the evaluation interface evaluated the user of communication identifier.
For example, after electronic equipment and opposite end electronic equipment sign off, the user of electronic equipment can be with base The user of opposite end electronic equipment is evaluated in this communication, such as: estimation window is shown on the display unit, passes through electronics The selection operation of the user of equipment, and then determine the user of electronic equipment to the evaluation information of the user of opposite end electronic equipment (such as Shown in Fig. 3 d), or operation is inputted by the user of electronic equipment, and then determine electronic equipment to the use of opposite end electronic equipment The evaluation information (as shown in Figure 3 e) at family, or determined by the voice messaging of user's generation of electronic equipment to opposite end Evaluation information of user of electronic equipment etc., then by evaluation interface, by evaluation information, (selection operation of user, input are grasped Work or voice messaging) it is uploaded to network, and then complete the evaluation to this communication.
Through the above scheme, reached can be realized and the communication process of the user with opposite end electronic equipment evaluated Technical effect.
In step S103a, when determining that communication identifier meets preset condition, communication identifier directly can be obtained by network Fisrt feature information, and in order to further reduce the processing load of electronic equipment, controlling electronic devices obtains logical from network The fisrt feature information that beacon is known, referring to FIG. 4, specifically including:
Step S401: between the time and current time for determining the last characteristic information for obtaining communication identifier by network Time interval;
Step S402: judge whether time interval is greater than preset threshold;
Step S403a: when time interval is greater than preset threshold, fisrt feature information is obtained from network;
Step S403b: when time interval is not more than preset threshold, the feature for the communication identifier that electronic equipment prestores is obtained Information.
In step S401, it is assumed that the communication identifier of opposite end electronic equipment are as follows: 159XXXXXXXX, with opposite end electronic equipment When establishing communication, the communication established and communicated with opposite end electronic equipment can be obtained by the communication identifier of opposite end electronic equipment and is remembered Record, then by determining the time of the last characteristic information for obtaining opposite end electronic equipment by network, example in communications records Such as: 2014-12-22 (can certainly be other time, the embodiment of the present invention is with no restriction), and current time are as follows: 2014- 12-24, so determine that time interval is 2 days;
In step S402, preset threshold can be a fixed value, such as: for its preset threshold of all communication identifiers It is all 2,3 etc..
In addition, preset threshold can with judge communication identifier characteristic information in whether include additional information field pair It answers, such as: if field is " 0 ", illustrate that preset threshold is 0, if field is " 3 ", illustrates that preset threshold is 3 etc..
And the renewal frequency of embodiment as a further preference, preset threshold and characteristic information is in inverse correlation relationship.? In practical application, its renewal speed of different communication identifiers is not identical, such as: if communication identifier is the communication of courier Mark, and the time that courier more changes jobs is usually 3 months, then can set field to " 90 ", and then upper primary After characteristic information by obtaining communication identifier, it is further continued for obtaining the characteristic information of communication identifier by network after 90 days, And within this 90 days, then the characteristic information of communication identifier is no longer obtained by network;If communication identifier is the food delivery in certain restaurant Phone, and update within the menu in the restaurant one week once, so field can be set to " 7 ", and then obtained every 7 days by network Take the characteristic information etc. of communication identifier.
Since preset threshold and the renewal frequency of characteristic information are in inverse correlation relationship, so can guarantee to believe in feature as far as possible Characteristic information just is obtained from network when breath updates, and then the opportunity for obtaining characteristic information from network is more accurate.
It in the specific implementation process, may be comprising commenting the user of communication identifier in the additional information of communication identifier The evaluation interface of valence, in this case, then in order to can evaluate the user of communication identifier every time, so need every It is secondary to require to obtain fisrt feature information from network.It wherein, can be with when in the additional information of communication identifier comprising evaluation interface Guarantee to obtain fisrt feature information every time in several ways, is set forth below two kinds therein and is introduced, certainly, specific In implementation process, it is not limited to following two situation.
The first, between the time and current time for determining the upper primary characteristic information for obtaining communication identifier by network Time interval before, referring to FIG. 5, method further include:
Whether step S501: including the evaluation interface evaluated the user of communication identifier in judging characteristic information;
Step S502a: when not including evaluation interface in characteristic information, time interval is determined;
Step S502b: when in characteristic information comprising evaluation interface, electronic equipment is directly controlled from network and obtains communication mark The fisrt feature information of knowledge.
In step S501, for example, for the communication identifier comprising evaluation interface in characteristic information, off-line data packet Field corresponding to middle communication identifier can be set to a default value, such as: 0 (can certainly be other values).
If can be prestored from electronic equipment after determining that communication identifier meets preset condition based on step S102 Off-line data packet in obtain off-line data corresponding to communication identifier, for the communication identifier shown in the table 1, it is determined that lead to out Beacon knows " 6854XXXX " and " 159XXXXXXXX " and meets preset condition, so acquisition communication identifier " 6854XXXX " and Off-line data corresponding to " 159XXXXXXXX ";
In example in front, " 0 " indicates that, comprising evaluation interface in characteristic information, positive number indicates not including in characteristic information Evaluate interface, wherein the field that communication identifier " 6854XXXX " is determined according to the off-line data of each communication identifier is " 0 ", So determining in the additional information of communication identifier " 6854XXXX " comprising evaluation interface;And communication identifier " 159XXXXXXXX " Field be " 3 ", so determine not including evaluation interface in the additional information of communication identifier " 159XXXXXXXX ".
It certainly, in the specific implementation process, equally can be for packet when server arranges communication identifier beyond the clouds A communication identifier list is arranged in the communication identifier of the interface containing evaluation, and then directly by communication identifier and the communication identifier list Match, if communication identifier is located at the communication identifier list, illustrates to connect in the additional information of corresponding communication identifier comprising evaluation Mouthful, otherwise illustrate not including evaluation interface in the additional information of corresponding communication identifier.
In step S502a, due to not including evaluation interface in characteristic information, so then illustrate electronic equipment not every time It needs to obtain the characteristic information of communication identifier from network, in this case, then needs to obtain current time and last time first The time interval between the time of the characteristic information of communication identifier is obtained, by network to determine whether current time needs from net The characteristic information of network acquisition communication identifier.
In step S502b, due to comprising evaluation interface, then illustrating that electronic equipment is required every time from network in characteristic information The characteristic information of communication identifier is obtained, and then can be realized the evaluation of the user to opposite end electronic equipment, so do not need to obtain Time interval between current time and the time of the last characteristic information for obtaining communication identifier by network, but it is directly logical Cross the characteristic information that network obtains communication identifier.
Due in the above scheme, including the evaluation interface evaluated the user of communication identifier in characteristic information When, then do not need to determine again between the time and current time of the last characteristic information by network acquisition communication identifier when Between be spaced, do not need to judge whether time interval is greater than preset threshold, so having reached reduces electronic equipment processing load yet Technical effect.
Second, the evaluation in the characteristic information corresponding to communication identifier comprising being evaluated the user of communication identifier When interface, preset threshold zero.
For example, since preset threshold is 0, so regardless of the last characteristic information for obtaining communication identifier by network Time and current time between time interval be it is how many, preset threshold is both greater than, so can all directly acquire from network Fisrt feature information corresponding to communication identifier.
Due to, not needing that multiple judgment mechanism is arranged in the above scheme, simpler technology effect is realized so having Fruit.
Embodiment as a further preference obtains the fisrt feature information of communication identifier in controlling electronic devices from network Later, method further include:
It is updated by characteristic information of the fisrt feature information to the communication identifier that electronic equipment prestores.
For example, since fisrt feature information is newest characteristic information corresponding to communication identifier, so in order to make The user of electronic equipment it is subsequent communicated with opposite end electronic equipment when, can obtain communication identifier newest feature letter Breath, so need to be updated by characteristic information of the fisrt feature information to the communication identifier that electronic equipment prestores.
Wherein, if electronic equipment is not stored with the characteristic information of communication identifier, directly fisrt feature information is deposited It is stored in electronic equipment;If being stored with the characteristic information of communication identifier on electronic equipment, by fisrt feature information to electronics The characteristic information of the communication identifier stored in equipment is replaced.
Second aspect, based on the same inventive concept, the embodiment of the present invention provide a kind of electronic equipment, referring to FIG. 6, packet It includes:
First determining module 60, for determining that opposite end electronics is set when electronic equipment is communicated with the foundation of opposite end electronic equipment Standby communication identifier;
First judgment module 61, for judging whether communication identifier meets preset condition;
Control module 62, for when communication identifier meets preset condition, controlling electronic devices to obtain communication mark from network The fisrt feature information of knowledge simultaneously exports fisrt feature information, and fisrt feature information includes the label letter of the user of opposite end electronic equipment Breath and additional information;
Second determining module 63, the offline number for being prestored from electronic equipment when communication identifier is unsatisfactory for preset condition According to the second feature information for determining communication identifier in packet and second feature information is exported, is believed in second feature information comprising label Breath.
Optionally, first judgment module 61 are specifically used for:
Judge whether comprising additional information in the characteristic information of communication identifier, comprising attached in the characteristic information of communication identifier When adding information, it is determined that communication identifier meets preset condition.
Optionally, first judgment module 61 specifically include:
First acquisition unit, for obtaining field corresponding to communication identifier from off-line data packet;
First judging unit, for judging whether field is located at preset field range;
First determination unit, for determining in the characteristic information of communication identifier and wrapping when field is located at preset field range Containing additional information.
Optionally, control module 62 specifically include:
Second determination unit, for determine time of the last characteristic information that communication identifier is obtained by network with currently Time interval between time;
Second judgment unit, for judging whether time interval is greater than preset threshold;
Second acquisition unit, for obtaining fisrt feature information from network when time interval is greater than preset threshold;
Third acquiring unit, for obtaining the communication mark that electronic equipment prestores when time interval is not more than preset threshold The characteristic information of knowledge.
Optionally, preset threshold and the renewal frequency of characteristic information are in inverse correlation relationship.
Optionally, electronic equipment further include:
Second judgment module, for determining the upper once time by the characteristic information of network acquisition communication identifier and working as Before time interval between the preceding time, judge whether carry out comprising the user to communication identifier in the characteristic information of communication identifier The evaluation interface of evaluation;
Second determination unit determines time interval when for not including evaluation interface in the characteristic information of communication identifier;
Control module 62 directly controls electronic equipment when in the characteristic information of communication identifier comprising evaluation interface The fisrt feature information of communication identifier is obtained from network.
Optionally, the evaluation in the characteristic information corresponding to communication identifier comprising being evaluated the user of communication identifier When interface, preset threshold zero.
Optionally, electronic equipment further include:
Update module, for after the fisrt feature information that network obtains communication identifier, passing through in controlling electronic devices Fisrt feature information is updated the characteristic information for the communication identifier that electronic equipment prestores.
Optionally, the additional information of communication identifier specifically includes: authentication information, head image information, is marked communication recommendation information At least one of the evaluation interface that the user of knowledge is evaluated information.
One or more embodiment of the invention, at least has the advantages that
Due in embodiments of the present invention, when electronic equipment is communicated with the foundation of opposite end electronic equipment, it is first determined opposite end The communication identifier of electronic equipment;Then judge whether communication identifier meets preset condition;When communication identifier meets preset condition, Controlling electronic devices obtains the fisrt feature information of communication identifier from network and exports fisrt feature information, fisrt feature packet The label information and additional information of the user of the electronic equipment containing opposite end;When communication identifier is unsatisfactory for preset condition, set from electronics The second feature information of communication identifier is determined in the standby off-line data packet prestored and exports second feature information, second feature information In include the label information.That is, can come whether controlling electronic devices passes through according to the actual demand of electronic equipment Network obtains the characteristic information of communication identifier, to reach the network flow while again that can either save electronic equipment consuming The technical effect of the additional information of communication identifier can be obtained in time;
Also, in this scenario due to being for each communication identifier from the corresponding characteristic information of network acquisition, so When increasing a new content in the additional information of communication identifier, it is only necessary to be communicated in electronic equipment with corresponding electronic equipment When, corresponding characteristic information is downloaded, without being updated again to entire off-line data packet, so further drop The low network flow of the consuming of electronic equipment, and implementation process is also relatively simple.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (16)

1. a kind of data capture method is applied in electronic equipment characterized by comprising
When the electronic equipment is communicated with the foundation of opposite end electronic equipment, the communication identifier of the opposite end electronic equipment is determined;
Judge whether the communication identifier meets preset condition, specifically: judge in the characteristic information of the communication identifier whether The additional information of user comprising the opposite end electronic equipment;
When including the additional information in the characteristic information of the communication identifier, it is determined that the communication identifier meets described pre- If condition, controls the electronic equipment and obtain the fisrt feature information of the communication identifier from network and export the fisrt feature Information, the fisrt feature information include the label information and additional information of the user of the opposite end electronic equipment;
When not including the additional information in the characteristic information of the communication identifier, it is determined that the communication identifier is unsatisfactory for institute Preset condition is stated, the second feature information of the communication identifier and defeated is determined from the off-line data packet that the electronic equipment prestores The second feature information out includes the label information in the second feature information.
2. the method as described in claim 1, which is characterized in that the characteristic information for judging the communication identifier whether include The additional information, specifically includes:
Field corresponding to the communication identifier is obtained from the off-line data packet;
Judge whether the field is located at preset field range;
When the field is located at the preset field range, determine in the characteristic information of the communication identifier comprising described additional Information.
3. the method as described in claim 1, which is characterized in that the control electronic equipment obtains the communication from network The fisrt feature information of mark, specifically includes:
Determine last time the communication identifier is obtained by the network characteristic information time and current time between when Between be spaced;
Judge whether the time interval is greater than the preset threshold;
When the time interval is greater than the preset threshold, the fisrt feature information is obtained from the network;
When the time interval is not more than the preset threshold, the spy for the communication identifier that the electronic equipment prestores is obtained Reference breath.
4. method as claimed in claim 3, which is characterized in that the preset threshold and the renewal frequency of the characteristic information are in Inverse correlation relationship.
5. method as claimed in claim 3, which is characterized in that once obtained by the network in the determination described logical Before time interval between the time and current time of the characteristic information that beacon is known, the method also includes:
Judge whether the evaluation comprising being evaluated the user of the communication identifier connects in the characteristic information of the communication identifier Mouthful;
When not including the evaluation interface in the characteristic information of the communication identifier, the time interval is determined;
When including the evaluation interface in the characteristic information of the communication identifier, directly controls the electronic equipment and obtained from network Take the fisrt feature information of the communication identifier.
6. method as claimed in claim 3, which is characterized in that include pair in the characteristic information corresponding to the communication identifier When the evaluation interface that the user of the communication identifier is evaluated, the preset threshold is zero.
7. the method as described in claim 1-6 is any, which is characterized in that obtained in the control electronic equipment from network After the fisrt feature information of the communication identifier, the method also includes:
It is updated by characteristic information of the fisrt feature information to the communication identifier that the electronic equipment prestores.
8. the method as described in claim 1-6 is any, which is characterized in that the additional information of the communication identifier specifically includes: At least one of authentication information, recommendation information, head image information, evaluation interface that the user of the communication identifier is evaluated Information.
9. a kind of electronic equipment characterized by comprising
First determining module, for determining the opposite end electronics when the electronic equipment is communicated with the foundation of opposite end electronic equipment The communication identifier of equipment;
First judgment module, for judging whether the communication identifier meets preset condition, the first judgment module is specific to use In: judge in the characteristic information of the communication identifier whether the additional information of the user comprising the opposite end electronic equipment, in institute When stating in the characteristic information of communication identifier comprising the additional information, it is determined that the communication identifier meets the preset condition; When not including the additional information in the characteristic information of the communication identifier, it is determined that the communication identifier is unsatisfactory for described pre- If condition;
Control module is obtained for when the communication identifier meets the preset condition, controlling the electronic equipment from network The fisrt feature information of the communication identifier simultaneously exports the fisrt feature information, and the fisrt feature information includes the opposite end The label information and additional information of the user of electronic equipment;
Second determining module, for being prestored from the electronic equipment when the communication identifier is unsatisfactory for the preset condition The second feature information of the communication identifier is determined in off-line data packet and exports the second feature information, the second feature It include the label information in information.
10. electronic equipment as claimed in claim 9, which is characterized in that the first judgment module specifically includes:
First acquisition unit, for obtaining field corresponding to the communication identifier from the off-line data packet;
First judging unit, for judging whether the field is located at preset field range;
First determination unit, for determining the feature of the communication identifier when the field is located at the preset field range It include the additional information in information.
11. electronic equipment as claimed in claim 9, which is characterized in that the control module specifically includes:
Second determination unit, for determine the last characteristic information that the communication identifier is obtained by the network time and Time interval between current time;
Second judgment unit, for judging whether the time interval is greater than the preset threshold;
Second acquisition unit, for obtaining described first from the network when the time interval is greater than the preset threshold Characteristic information;
Third acquiring unit, for obtaining the electronic equipment and prestoring when the time interval is not more than the preset threshold The communication identifier characteristic information.
12. electronic equipment as claimed in claim 11, which is characterized in that the update of the preset threshold and the characteristic information Frequency is in inverse correlation relationship.
13. electronic equipment as claimed in claim 11, which is characterized in that the electronic equipment further include:
Second judgment module, the time of the characteristic information for once obtaining the communication identifier by the network in determination Before time interval between current time, whether judge in the characteristic information of the communication identifier comprising being marked to the communication The evaluation interface that the user of knowledge is evaluated;
Second determination unit determines when for not including the evaluation interface in the characteristic information of the communication identifier The time interval;
The control module directly controls institute when for including the evaluation interface in the characteristic information of the communication identifier State the fisrt feature information that electronic equipment obtains the communication identifier from network.
14. electronic equipment as claimed in claim 11, which is characterized in that in the characteristic information corresponding to the communication identifier When the evaluation interface evaluated comprising the user to the communication identifier, the preset threshold is zero.
15. the electronic equipment as described in claim 9-14 is any, which is characterized in that the electronic equipment further include:
Update module, for after controlling the electronic equipment and obtaining the fisrt feature information of the communication identifier from network, It is updated by characteristic information of the fisrt feature information to the communication identifier that the electronic equipment prestores.
16. the electronic equipment as described in claim 9-14 is any, which is characterized in that the additional information of the communication identifier is specific Include: authentication information, recommendation information, head image information, in the evaluation interface evaluated the user of the communication identifier extremely A kind of few information.
CN201510047458.7A 2015-01-29 2015-01-29 A kind of data capture method and electronic equipment Active CN104618874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510047458.7A CN104618874B (en) 2015-01-29 2015-01-29 A kind of data capture method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510047458.7A CN104618874B (en) 2015-01-29 2015-01-29 A kind of data capture method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104618874A CN104618874A (en) 2015-05-13
CN104618874B true CN104618874B (en) 2019-01-29

Family

ID=53153111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510047458.7A Active CN104618874B (en) 2015-01-29 2015-01-29 A kind of data capture method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104618874B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139761A (en) * 2013-01-17 2013-06-05 北京奇虎科技有限公司 Information real-time show method and mobile communication terminal
CN103220391A (en) * 2013-04-08 2013-07-24 北京小米科技有限责任公司 Cloud address book-based device, server and calling method
CN104023141A (en) * 2014-06-19 2014-09-03 北京奇虎科技有限公司 Communication contact information display method, client side and electronic equipment
CN104135563A (en) * 2014-07-04 2014-11-05 北京奇虎科技有限公司 A communication processing method and system
CN104216982A (en) * 2014-09-01 2014-12-17 北京搜狗科技发展有限公司 Information processing method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743694A (en) * 2012-01-31 2019-05-10 联想(北京)有限公司 Information output method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139761A (en) * 2013-01-17 2013-06-05 北京奇虎科技有限公司 Information real-time show method and mobile communication terminal
CN103220391A (en) * 2013-04-08 2013-07-24 北京小米科技有限责任公司 Cloud address book-based device, server and calling method
CN104023141A (en) * 2014-06-19 2014-09-03 北京奇虎科技有限公司 Communication contact information display method, client side and electronic equipment
CN104135563A (en) * 2014-07-04 2014-11-05 北京奇虎科技有限公司 A communication processing method and system
CN104216982A (en) * 2014-09-01 2014-12-17 北京搜狗科技发展有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN104618874A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN105930020B (en) A kind of method and device of the icon of management terminal application program
US10142279B2 (en) Method and system for presenting a listing of message logs
US20180248879A1 (en) Method and apparatus for setting access privilege, server and storage medium
CN110785970B (en) Techniques to automate robotic creation of web pages
CN104484486B (en) A kind of information recommendation method and electronic equipment
CN110321738A (en) Information processing method and device
CN105898085A (en) Harassment communication account identification method and device
US11244153B2 (en) Method and apparatus for processing information
CN105338154B (en) A kind of contact sequencing method, device and terminal
EP2894883B1 (en) Methods and systems for content consumption
CN109246741A (en) Wireless network connecting method for terminal
CN109639823A (en) Network node dispatching method and device, computer installation and storage medium
CN109152094A (en) Wireless network connecting method for terminal
CN108776692A (en) Method and apparatus for handling information
CN109756528A (en) Control method for frequency and device, equipment, storage medium, server
CN111224831B (en) Method and system for generating call ticket
CN110069919A (en) Information acquisition method and device
CN109688183A (en) Group control device recognition methods, device, equipment and computer readable storage medium
CN105827780B (en) A kind of incoming display method and device
CN108134811A (en) The methods, devices and systems that file destination is distributed or downloaded
CN104618874B (en) A kind of data capture method and electronic equipment
WO2019000468A1 (en) User location identification method and apparatus, storage medium, and electronic device
WO2023066258A1 (en) Data processing method and apparatus for private data, computer device and medium
CN104836881A (en) Information control method and electronic equipment
CN106714097B (en) Method for determining wireless local area network deployment information, method for positioning terminal and related device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant