CN102938806A - Method and device for obtaining call resources - Google Patents

Method and device for obtaining call resources Download PDF

Info

Publication number
CN102938806A
CN102938806A CN201210447703XA CN201210447703A CN102938806A CN 102938806 A CN102938806 A CN 102938806A CN 201210447703X A CN201210447703X A CN 201210447703XA CN 201210447703 A CN201210447703 A CN 201210447703A CN 102938806 A CN102938806 A CN 102938806A
Authority
CN
China
Prior art keywords
conversation
resource
telephone number
time started
conversation resource
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.)
Granted
Application number
CN201210447703XA
Other languages
Chinese (zh)
Other versions
CN102938806B (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 Xiaomi Technology Co Ltd
Original Assignee
Beijing Xiaomi Technology 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 Xiaomi Technology Co Ltd filed Critical Beijing Xiaomi Technology Co Ltd
Priority to CN201210447703.XA priority Critical patent/CN102938806B/en
Publication of CN102938806A publication Critical patent/CN102938806A/en
Application granted granted Critical
Publication of CN102938806B publication Critical patent/CN102938806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method and a device for obtaining call resources. The method includes obtaining a telephone number and call start time in a call log, and searching corresponding call resources according to the telephone number and the call start time, wherein the call resources are in associated storage with the telephone number and the call start time of the call. In an embodiment, the call log and the call resources can be uniquely matched through the telephone number and the call start time, and therefore the resources corresponding to the call log can be obtained accurately and reliably.

Description

A kind of method and device that obtains the conversation resource
Technical field
The present invention relates to technical field of information processing, more specifically, relate to a kind of method and device that obtains the conversation resource.
Background technology
At present, along with the development of smart mobile phone, it can provide increasing application and service for the user.For example, when the user uses smart mobile phone to be conversed, some smart mobile phones can provide sound-recording function or function of notepaper for the user, and sound-recording function can be recorded conversation, and function of notepaper is that the function of text entry is provided for the user in communication process.And system all can produce a message registration after each conversation, every message registration is understood the call-informations such as recording phone number, conversation time started, duration, on-state, simultaneously, if, while having the conversation resource relevant to this message registration, also there will be in message registration.
The current resource mode associated with message registration of conversing is the sign of ticketed call resource in message registration, when the sign of this conversation resource is this conversation resource generation, the unique numbering provided by operating system, this numbering such as the store path that can mean this conversation resource is the data-base recording coding etc. of this conversation resource maybe.This numbering can be reallocated when system empties resource.When checking message registration, if there is the conversation resource number in message registration, just in this message registration, show corresponding operation, such as checking calling record or checking note etc.
Yet, because the conversation resources such as recording, note are only associated with message registration by the numbering of system assignment, therefore there is following shortcoming:
1, associated unreliable.In operating system, the numbering of conversation resource can be reallocated because clear data usually.Therefore, when the conversation resource number is reallocated, the resource identification recorded in message registration will point to wrong conversation resource.
2, the conversation such as recording, note resource disperses to be difficult for checking.Check that the conversation resource needs first to be searched by message registration, can't concentrate and check.
3, the conversation such as recording, note resource is easily lost.When message registration is deleted, wherein the ticket call resource number also can be deleted together, and therefore, the conversation resources such as the recording of having stored, note have just lost effective organizational form.
Summary of the invention
In view of this, the purpose of the embodiment of the present invention is to propose a kind of method and device that obtains the conversation resource, and it can obtain the conversation resource that message registration is corresponding exactly.
In order to achieve the above object, the embodiment of the present invention proposes a kind of method of obtaining the conversation resource, comprises the following steps:
Obtain telephone number and conversation time started in message registration;
Search corresponding conversation resource according to described telephone number and conversation time started; Wherein, described conversation resource is and the telephone number of conversation and the time started association store of conversing.
In the embodiment of the present invention, owing to can mating uniquely by telephone number and conversation time started between message registration and conversation resource, thereby can obtain accurately, reliably the conversation resource that message registration is corresponding.
As technique scheme preferably, conversation resource and the telephone number of conversation and the method for the time started association store of conversing are comprised:
With document form storage conversation resource, and the filename of described conversation resource comprises telephone number and the conversation time started of the conversation while generating described conversation resource.
This programme has provided the preferred version of storage conversation resource.
As technique scheme preferably, also comprise unified sign in the filename of described conversation resource.
This programme is convenient to the conversation resource is managed.
As technique scheme preferably, described method also comprises:
Obtain corresponding conversation resource according to the conversation resource number in message registration, described conversation resource number be storage during described conversation resource by system assignment.
As technique scheme preferably, described method also comprises: the telephone number that the conversation resource number of the resource of converse is associated with this conversation resource and the time started association store of conversing.
As technique scheme preferably, the described conversation time started replaces with the end of conversation time.
The embodiment of the present invention also proposes a kind of device that obtains the conversation resource, comprising:
Acquisition module, for telephone number and the conversation time started of obtaining message registration;
First searches module, for for according to described telephone number and conversation, the time started searching corresponding conversation resource; Wherein, described conversation resource is and the telephone number of conversation and the time started association store of conversing.
As technique scheme preferably, described device also comprises:
The first memory module, for document form storage conversation resource, and telephone number and the conversation time started of the conversation of the filename of described conversation resource while comprising into described conversation resource.
As technique scheme preferably, also comprise unified sign in the filename of described conversation resource.
As technique scheme preferably, described device also comprises:
Second searches module, for the conversation resource number according to message registration, obtains corresponding conversation resource, described conversation resource number be storage during described conversation resource by system assignment.
As technique scheme preferably, described device also comprises:
The second memory module, the telephone number associated with this conversation resource and conversation time started association store for the conversation resource number of the resource of conversing.
As technique scheme preferably, the described conversation time started replaces with the end of conversation time.
The further feature of the embodiment of the present invention and advantage will be set forth in the following description, and, partly from specification, become apparent, or understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification write, claims and accompanying drawing.
Below by drawings and Examples, the technical scheme of the embodiment of the present invention is described in further detail.
The accompanying drawing explanation
Accompanying drawing is used to provide the further understanding to the embodiment of the present invention, and forms the part of specification, for explaining the present invention, does not form the restriction to the embodiment of the present invention together with embodiments of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the method for obtaining the conversation resource of preferred embodiment of the present invention proposition;
Fig. 2 is the flow chart of the method for obtaining the conversation resource of the present invention's one specific embodiment proposition;
Fig. 3 is the flow chart of the method for obtaining the conversation resource of another specific embodiment proposition of the present invention;
Fig. 4 is the schematic diagram of the mapping table in step S33 in Fig. 3;
Fig. 5 is the schematic diagram of the mapping table in step S35 in Fig. 3;
Fig. 6 upgrades the schematic diagram of the mapping table obtained after Fig. 4 according to Fig. 5;
Fig. 7 is the structural representation of the device that obtains the conversation resource of preferred embodiment of the present invention proposition;
Fig. 8 is the structural representation of the device that obtains the conversation resource of the present invention's one specific embodiment proposition.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein, only for the description and interpretation embodiment of the present invention, is not intended to limit the present invention embodiment.
Be illustrated in figure 1 a kind of method of obtaining the conversation resource in message registration that the preferred embodiment of the present invention proposes, comprise:
Step S11: obtain telephone number and conversation time started in message registration;
Step S12: according to described telephone number and conversation time started, search corresponding conversation resource; Wherein, described conversation resource is and the telephone number of conversation and the time started association store of conversing.
In the present embodiment, the resource that the conversation resource generates while referring to conversation, such as comprising: recording, label, picture etc.Wherein, recording is recorded the sound of both call sides, and label is the text entry in communication process.
In the present embodiment, because message registration and conversation resource can be mated uniquely by telephone number and conversation time started, thereby can obtain accurately, reliably the conversation resource that message registration is corresponding.
The method of obtaining the conversation resource embodiment of the present invention proposed below by other specific embodiments is elaborated.
Specific embodiment one
Be illustrated in figure 2 the method for obtaining the conversation resource that the present invention's one specific embodiment proposes, this embodiment comprises the following steps:
Step S21: receive the instruction that generates the conversation resource.
In this step, the instruction of this generation conversation resource is sent before can conversing, and can be also to send in communication process.
Which kind of conversation resource the user can select to generate on call interface.
Step S22: receive the instruction of storage conversation resource.
In this step, the instruction of storage conversation resource can be that the user sends, and in the time of also can being end of conversation, system is sent automatically.
Step S23: telephone number and the conversation time started of obtaining the conversation while generating this conversation resource.
The telephone number of conversation and conversation time started can identify conversation uniquely.
Step S24: with the form storage conversation resource of file, and filename comprises obtained telephone number and conversation time started.
Preferably, can also in filename, add unified sign, the effect of this unification sign means that this document is the conversation resource, can easily file be sorted out, and facilitates program search.For example, add " call_note " sign in the foremost of filename.
In addition, can also further can add the information such as end of conversation time and the duration of call in filename, mark further corresponding message registration.
Step S25: when message registration is checked, obtain telephone number and conversation time started in message registration.
Step S26: according to described telephone number and conversation time started, search corresponding conversation resource.
Step S27: when finding corresponding conversation resource, show executable operation in message registration.
Wherein, executable operation comprises demonstration conversation resource, opens conversation resource etc.
Specific embodiment two
Be illustrated in figure 3 the method for obtaining the conversation resource that another specific embodiment of the present invention proposes.In the present embodiment, the conversation resource can also be associated with corresponding message registration by the conversation resource number, and conversation resource number telephone number and the conversation time started association store associated with this conversation resource.Particularly, the present embodiment comprises the following steps:
Step S31: receive the instruction that generates the conversation resource.
Step S32: receive the instruction of storage conversation resource.
Step S33: for this conversation resource assigns talk resource number and with message registration, conversation resource content association store.
After completing this step, by conversation resource number in message registration, can check the conversation resource.Particularly, can set up the numbering " Call-ID " of message registration as shown in Figure 4 and the corresponding relation of conversation resource number " Note-ID " and conversation resource content.When checking a certain message registration, according to the numbering of this message registration, search whether corresponding conversation resource number is arranged.
Step S34: telephone number and the conversation time started of obtaining the conversation while generating this conversation resource.
Step S35: will converse resource number and the telephone number obtained and conversation time started, the resource content association store of conversing.
In this step, can set up conversation resource number " Note-ID " and conversation telephone number as shown in Figure 5, the corresponding relation of converse time started and conversation resource content.
The foundation of two mapping tables in above-mentioned steps S33 and step S35 is separate.Both corresponding conversation resource can be found by the conversation resource number in Fig. 4, also corresponding conversation resource can be found by the call-information in Fig. 5.Information in all right two mapping tables of real-time update, for example, when system empties resource, the conversation resource number is reallocated, and the conversation resource number after upgrading in Fig. 5 can be updated in Fig. 4 according to " telephone number " and " call starting constantly ".Fig. 4 after renewal as shown in Figure 6.So, still, can find according to the conversation resource number in message registration corresponding conversation resource.
Step S36: when message registration is checked, obtain the conversation resource number in message registration;
Step S37: with the conversation resource number obtained, search corresponding conversation resource.
Step S38: when finding corresponding conversation resource, show the executable operation for the conversation resource in message registration.
The embodiment of the present invention associates message registration and conversation resource by call-information, current message registration and the problem of losing associated conversation resource after conversation resource, deletion message registration have not only been solved, the conversation resource can also be managed independently, and can obtain call-information by the conversation resource.The efficiency of management and the service efficiency of conversation resource have been promoted.
Correspondingly, as shown in Figure 7, the embodiment of the present invention also proposes a kind of device that obtains the conversation resource, comprising:
Acquisition module 701, for telephone number and the conversation time started of obtaining message registration;
First searches module 702, for according to described telephone number and conversation time started, searching corresponding conversation resource; Wherein, described conversation resource is and the telephone number of conversation and the time started association store of conversing.
As shown in Figure 8, described device can also comprise:
The first memory module 703, for the resource of conversing with the document form storage, and the filename of described conversation resource comprises telephone number and the conversation time started of the conversation while generating described conversation resource.
Can also comprise unified sign in the filename of described conversation resource.
Preferably, described device can also comprise:
Second searches module, for the conversation resource number according to message registration, obtains corresponding conversation resource, described conversation resource number be storage during described conversation resource by system assignment.
Preferably, described device can also comprise:
The second memory module, the telephone number associated with this conversation resource and conversation time started association store for the conversation resource number of the resource of conversing.
Preferably, the above-mentioned conversation time started can replace with the end of conversation time.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code one or more.
The present invention describes with reference to flow chart and/or the block diagram of method, equipment (system) and computer program according to the embodiment of the present invention.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction be stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make and carry out the sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out on computer or other programmable devices is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. a method of obtaining the conversation resource, is characterized in that, comprises the following steps:
Obtain telephone number and conversation time started in message registration;
Search corresponding conversation resource according to described telephone number and conversation time started; Wherein, described conversation resource is and the telephone number of conversation and the time started association store of conversing.
2. method according to claim 1, is characterized in that, the method for the telephone number of conversation resource and conversation and conversation time started association store is comprised:
With document form storage conversation resource, and the filename of described conversation resource comprises telephone number and the conversation time started of the conversation while generating described conversation resource.
3. method according to claim 2, is characterized in that, also comprises unified sign in the filename of described conversation resource.
4. method according to claim 1, is characterized in that, described method also comprises:
Obtain corresponding conversation resource according to the conversation resource number in message registration, described conversation resource number be storage during described conversation resource by system assignment.
5. method according to claim 4, is characterized in that, described method also comprises:
By the conversation resource number of conversation resource and this converse associated telephone number of resource and the time started association store of conversing.
6. method according to claim 1, is characterized in that, the described conversation time started replaces with the end of conversation time.
7. a device that obtains the conversation resource, is characterized in that, comprising:
Acquisition module, for telephone number and the conversation time started of obtaining message registration;
First searches module, for according to described telephone number and conversation time started, searching corresponding conversation resource; Wherein, described conversation resource is and the telephone number of conversation and the time started association store of conversing.
8. device according to claim 7, is characterized in that, described device also comprises:
The first memory module, for the resource of conversing with the document form storage, and the filename of described conversation resource comprises telephone number and the conversation time started of the conversation while generating described conversation resource.
9. device according to claim 8, is characterized in that, also comprises unified sign in the filename of described conversation resource.
10. device according to claim 7, is characterized in that, described device also comprises:
Second searches module, for the conversation resource number according to message registration, obtains corresponding conversation resource, described conversation resource number be storage during described conversation resource by system assignment.
11. device according to claim 10, is characterized in that, described device also comprises:
The second memory module, the telephone number associated with this conversation resource and conversation time started association store for the conversation resource number of the resource of conversing.
12. device according to claim 7, is characterized in that, the described conversation time started replaces with the end of conversation time.
CN201210447703.XA 2012-11-09 2012-11-09 A kind of method and device obtaining call resource Active CN102938806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210447703.XA CN102938806B (en) 2012-11-09 2012-11-09 A kind of method and device obtaining call resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210447703.XA CN102938806B (en) 2012-11-09 2012-11-09 A kind of method and device obtaining call resource

Publications (2)

Publication Number Publication Date
CN102938806A true CN102938806A (en) 2013-02-20
CN102938806B CN102938806B (en) 2016-03-30

Family

ID=47697672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210447703.XA Active CN102938806B (en) 2012-11-09 2012-11-09 A kind of method and device obtaining call resource

Country Status (1)

Country Link
CN (1) CN102938806B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872183A (en) * 2016-03-28 2016-08-17 努比亚技术有限公司 Sound record processing method and terminal
CN109246282A (en) * 2018-10-30 2019-01-18 北京网众共创科技有限公司 The storage method and device of call-information, storage medium, electronic device
CN109246244B (en) * 2018-10-30 2021-06-15 北京网众共创科技有限公司 Message synchronization detection method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874365A (en) * 2005-06-02 2006-12-06 孙文华 Recording unit of mobile phone
CN101282375A (en) * 2008-04-07 2008-10-08 中兴通讯股份有限公司 Method and mobile terminal for mapping multimedia documents based on call record

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874365A (en) * 2005-06-02 2006-12-06 孙文华 Recording unit of mobile phone
CN101282375A (en) * 2008-04-07 2008-10-08 中兴通讯股份有限公司 Method and mobile terminal for mapping multimedia documents based on call record

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872183A (en) * 2016-03-28 2016-08-17 努比亚技术有限公司 Sound record processing method and terminal
CN109246282A (en) * 2018-10-30 2019-01-18 北京网众共创科技有限公司 The storage method and device of call-information, storage medium, electronic device
CN109246244B (en) * 2018-10-30 2021-06-15 北京网众共创科技有限公司 Message synchronization detection method, device and system

Also Published As

Publication number Publication date
CN102938806B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN103646656B (en) Sound effect treatment method, device, plugin manager and audio plug-in unit
CN105681566A (en) Incoming call number processing method and device
CN101901111A (en) Method and device for realizing automatic operation on mobile terminal
CN103400592A (en) Recording method, playing method, device, terminal and system
CN102323923A (en) Method for processing historical record and equipment
CN105187733A (en) Video processing method, device and terminal
CN103716346A (en) Management method and device of application on android handset client
CN105184552A (en) Enterprise management process optimization method based on voice command control
CN102938806B (en) A kind of method and device obtaining call resource
CN104219356A (en) Method and device for displaying and searching contact man information and mobile terminal
CN103944805A (en) Information updating method and system based on Wechat platform
CN103561147A (en) Address-book updating method and system of mobile equipment
CN103049244A (en) Method and device for transmitting operating instructions
CN102970401A (en) Method and device for recoding contact information
CN102799423B (en) Method and the device of dynamic approach is performed in JSF
CN102457498A (en) Method and device for switching instant messaging session
CN103309677A (en) Built-in resource management method, device and terminal
CN104111864A (en) Recording method, playback method, recording device and playback device for application operations
CN105957542A (en) Audio file editing method and audio file editing device
CN109614442A (en) Data synchronous data listing maintenance, device, storage medium and electronic equipment
CN104951506A (en) Method and device for acquiring multimedia file
CN102752525B (en) It is a kind of that the method and device for broadcasting list is created based on script
CN112905464B (en) Application running environment data processing method and device
CN105743939A (en) Message push method and device
CN111880896B (en) Method and device for rapidly restoring container and running state data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100085, No. 50, block B, building No. 12, winding stone world building, Wangjing West Road, Beijing, Chaoyang District

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant