CN106506828A - Limit the way of recording, device and portable mobile termianl - Google Patents

Limit the way of recording, device and portable mobile termianl Download PDF

Info

Publication number
CN106506828A
CN106506828A CN201610958039.3A CN201610958039A CN106506828A CN 106506828 A CN106506828 A CN 106506828A CN 201610958039 A CN201610958039 A CN 201610958039A CN 106506828 A CN106506828 A CN 106506828A
Authority
CN
China
Prior art keywords
recording
dialog context
restriction
encryption
file
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
CN201610958039.3A
Other languages
Chinese (zh)
Other versions
CN106506828B (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610958039.3A priority Critical patent/CN106506828B/en
Publication of CN106506828A publication Critical patent/CN106506828A/en
Application granted granted Critical
Publication of CN106506828B publication Critical patent/CN106506828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0625Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation with splitting of the data block into left and right halves, e.g. Feistel based algorithms, DES, FEAL, IDEA or KASUMI

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of limit method, the device that records, the method for restriction recording includes:In communication process, the request instruction of the restriction recording that is initiated by initiating terminal is received;In response to the request instruction for limiting recording, to the authority of the exclusive playback interface module of background system application, after confirmation obtains the authority, dialog context is sent to playback interface module, limit when the dialog context is played other programs by amplifying, hands-free or earphone passage play the dialog context.Additionally, present invention also offers a kind of portable mobile termianl is used for executing the restriction way of recording.The present invention protects a kind of restriction way of recording, and which meets the actual demand that user records for limiting call.

Description

Limit the way of recording, device and portable mobile termianl
Technical field
The present invention relates to network communication technology field, the way of recording, device and portable is limited more particularly, to a kind of Formula mobile terminal.
Background technology
The networking telephone is to realize new telephonic communication by internet, WiFi or other IP technology, but therewith Come is the safety problem of Internet phone-calling, and relative to traditional call mode, Internet phone-calling encryption measures are short of, and call is easily supervised Monitoring is listened, for example, monitor is sent a telegram here or is directly designed by broadcast reception come monitoring telephone.With carrying for people's awareness of safety Height, increasing user are thirsted for reaching the effect to call secrecy by way of limiting the side's of answering recording, so as to protect Shield individual privacy.
At present for restriction recording has a lot of examples, the existing technology of one of which to disclose a kind of encryption call method, When mobile terminal is initiated or when answering call, the program process that retrieval is currently being moved, if it is determined that to currently there is recording The process of module is currently running, then close the process of recording module, sets up call, ensure that dialog context in this way It is not recorded and propagates, protects individual privacy and safety.
By above-mentioned forbid recording module process by way of and reach that to prevent from monitoring be a kind of mode of violence, moreover, still The purpose for recording call can be reached by other software or external application sound pick-up outfit so, dialog context remains able to be stolen, It is thus impossible to reach the effect for preferably limiting recording.
Content of the invention
In view of the above problems, the present invention proposes a kind of method for limiting recording, device and portable mobile termianl, and which leads to Cross restriction interface and forbid amplifying, forbid out that the mode such as hands-free comprehensively protects dialog context not enrolled, meet user The requirement of recording is limited, user satisfaction is improve.
In a first aspect, the invention provides a kind of restriction way of recording, comprises the steps:
In communication process, the request instruction of the restriction recording that is initiated by initiating terminal is received;Recording is limited in response to described Request instruction, to the authority of the exclusive playback interface module of background system application, after confirmation obtains the authority, send call Content to playback interface module, limit when the dialog context is played other programs by amplifying, hands-free or earphone passage is broadcast Put the dialog context.When any user initiates the restriction recording request to this receiving terminal, the machine will be executed and limit recording phase Instruction is closed, playback interface broadcasting is controlled by obtaining playback interface play right, so as to reach the purpose for limiting recording.
In conjunction with a first aspect, in one embodiment of first aspect, also including following subsequent step:
When the playback interface recording dialog context described in other routine calls has been detected, the machine interactive function is called Interface is providing the window for user input mandate schematic message;The mandate schematic message that user is input into is obtained in the window, The mandate schematic message is sent to initiating terminal;The license confirmation message that initiating terminal sends is obtained, when determination receives mandate Confirm to decrypt during message the encryption file into dialog context.It is logical by calling playback interface to record when other programs have been detected During words content, the machine interactive function interface is called, so as to pass through the form for providing a user with the window that input authorizes schematic message Provide the user decryption channel.
In conjunction with a first aspect, in second embodiment of first aspect:
When the transmission dialog context is to the playback interface module, the encryption caching dialog context file is into encryption text Part, and replace the dialog context to play with preset audio.Played by replacing dialog context with preset audio, even if there are other When program gets recording by certain technological means, also obtain less than real recording, therefore, call is played with preset audio Content can be further up to the good result for limiting recording.
In conjunction with second embodiment of first aspect, in the 3rd embodiment of first aspect, the preset audio text Part includes any one in noise, nursery rhymes, popular song.
In conjunction with second embodiment of first aspect, in the 4th embodiment of first aspect, encryption caching is described logical When words content file is into encryption file, using the account information of the initiating terminal and the machine as encryption key.By in call Terminal account information contributes to quick decryption as encryption key.
In conjunction with second embodiment of first aspect, in the 5th embodiment of first aspect, the encryption caching institute State dialog context file and specifically include following steps:
The dialog context file is converted to clear-text message;
Determine the digit of encrypted data chunk, the clear-text message is filled so as to extending the digit of the cleartext information so that The digit of the cleartext information after filling is the integral multiple of the digit of the data block;
Split the cleartext information after the filling at least one encrypted data chunk;
According to three initial keys that random algorithm generates 3DES algorithms, and according to 3DES algorithms to the encrypted data chunk It is encrypted so as to generating encryption file.3DES algorithms are triple DEAs, and relative to DES, (tuple evidence adds Close algorithm) there is higher security, in an embodiment of the present invention, data safety ensure that using 3DES encryption algorithm.
In conjunction with the 5th embodiment of first aspect, in the 6th embodiment of first aspect, described according to 3DES calculations Method is encrypted to the encrypted data chunk and specifically includes, and successively the encrypted data chunk is entered using three initial keys Row encryption, the ciphering process of the encrypted data chunk is included using single initial key will be defeated according to default displacement rule table The encrypted data chunk step-by-step displacement for entering, by displacement after output result be divided into two parts after carry out successive ignition computing, and will be repeatedly Output result after for computing carries out inverse permutation so as to generating encryption file.By carrying out to data block according to 3DES algorithmic rules The encryptions such as step-by-step displacement, interative computation, inverse permutation so that the characteristics of file after encryption has safer.
In conjunction with a first aspect, and first aspect one embodiment to first aspect the 6th embodiment, In 7th embodiment of one side, also include:
After the request instruction of the restriction recording that is initiated by initiating terminal is received, show and forbid canned alert message.
In conjunction with a first aspect, and first aspect one embodiment to first aspect the 6th embodiment, In 8th embodiment of one side, also include:
Described play the dialog context when, play the dialog context in the way of the change of voice, modified tone, frequency conversion.Using Call-information can be further protected in the change of voice, frequency conversion, modified tone, protect the tone of secret telephony promoter, while also improving logical Enjoyment during words.
In conjunction with a first aspect, and first aspect one embodiment to first aspect the 6th embodiment, In 9th embodiment of one side, also include:
The account of the initiating terminal is corresponding with the cell-phone number of initiating terminal SIM;
The machine account is corresponding with the cell-phone number of the machine SIM.
In conjunction with a first aspect, and first aspect one embodiment to first aspect the 6th embodiment, In tenth embodiment of one side, also include:When the request instruction of the restriction recording that is initiated by initiating terminal is received, hidden Hide telephone number or show temporary phone number corresponding with the cell-phone number of the initiating terminal SIM.Hiding telephone number or Show that temporary number contributes to the privacy for further protecting the user for initiating to limit recording.
In conjunction with a first aspect, and first aspect one embodiment to first aspect the 6th embodiment, In the tenth one embodiment of one side, also include:
The initiating terminal and the machine are in communication process using 4G or WiFi network.
Second aspect, embodiments provides a kind of restriction recording device, and the restriction recording device has to be realized State the function that way of recording behavior is limited in first aspect.The function can be realized by hardware, it is also possible to held by hardware The corresponding software of row is realized.The hardware or software include one or more modules corresponding with above-mentioned functions, the restriction record Mixer is included such as lower module:
Receiver module, for communication process in, receive by initiating terminal initiate restriction recording request instruction;
Module is limited, in response to the request instruction for limiting recording, to the exclusive playback interface of background system application The authority of module, after confirmation obtains the authority, sends dialog context to playback interface module, is playing the dialog context When limit other programs by amplifying, hands-free or earphone passage play the dialog context.When any user is initiated to this reception During the restriction recording request at end, the machine will be executed and limit recording dependent instruction, be controlled by obtaining playback interface play right Playback interface is played, so as to reach the purpose for limiting recording.When any user initiates the restriction recording request to this receiving terminal, The machine will be executed and limit recording dependent instruction, control playback interface broadcasting by obtaining playback interface play right, so as to reach To the purpose for limiting recording.
In conjunction with second aspect, in one embodiment of second aspect, the restriction recording device also includes following mould Block:
Detection module, for when the playback interface recording dialog context described in other routine calls has been detected, adjusting With the machine interactive function interface providing the window for user input mandate schematic message;
Sending module, for obtaining the mandate schematic message that user is input in the window, sends the mandate signal and disappears Cease to initiating terminal;
Deciphering module, for obtaining the license confirmation message of initiating terminal transmission, when determination receives license confirmation message The decryption encryption file is into dialog context.When other programs have been detected by calling playback interface recording dialog context, The machine interactive function interface is called, the form so as to pass through the window for providing a user with input mandate schematic message is provided the user Decryption channel.
In conjunction with second aspect, in second embodiment of second aspect, the restriction module includes:
The encryption caching dialog context file is into encryption file, and replaces the dialog context to play with preset audio. Played by replacing dialog context with preset audio, even if having other programs to get recording by certain technological means, Obtain less than real recording, therefore, playing dialog context with preset audio can be further up to the good effect for limiting recording Really.
In conjunction with second embodiment of second aspect, in the 3rd embodiment of second aspect, the preset audio text Part includes any one in noise, nursery rhymes, popular song.
In conjunction with second embodiment of second aspect, in the 4th embodiment of second aspect, encryption caching is described logical When words content file is into encryption file, using the account information of the initiating terminal and the machine as encryption key.By in call Terminal account information contributes to quick decryption as encryption key.
In conjunction with second embodiment of second aspect, in the 5th embodiment of second aspect, the restriction module is also Including:
Converting unit, for being converted to clear-text message by the dialog context file;
Fills unit, for determining the digit of encrypted data chunk, fills the clear-text message and believes so as to extend the plaintext The digit of breath so that the digit of the cleartext information after filling is the integral multiple of the digit of the data block;
Cutting unit, for splitting the cleartext information after the filling at least one encrypted data chunk;
Signal generating unit, for generating three initial keys of 3DES algorithms, and according to 3DES algorithms pair according to random algorithm The encrypted data chunk is encrypted so as to generating encryption file.3DES algorithms are triple DEAs, relative to DES (a weight DEA) has higher security, in an embodiment of the present invention, can using 3DES encryption algorithm Guarantee data security.
In conjunction with the 5th embodiment of second aspect, in the 6th embodiment of second aspect, the signal generating unit tool Body includes:
Successively the encrypted data chunk is encrypted using three initial keys, is added to described using single initial key The ciphering process of ciphertext data block is included the encrypted data chunk step-by-step displacement being input into according to default displacement rule table, after replacing Output result be divided into two parts after carry out successive ignition computing, and by interative computation after output result carry out inverse permutation so as to Generate encryption file.By carrying out at the encryptions such as step-by-step displacement, interative computation, inverse permutation to data block according to 3DES algorithmic rules Reason so that the characteristics of file after encryption has safer.
In conjunction with second aspect, and one embodiment of second aspect is to the 6th embodiment, the of second aspect In seven embodiments, also include:
After the request instruction of the restriction recording that is initiated by initiating terminal is received, show and forbid canned alert message.
In conjunction with second aspect, and one embodiment of second aspect is to the 6th embodiment, the of second aspect In eight embodiments, also include:
Described play the dialog context when, play the dialog context in the way of the change of voice, modified tone, frequency conversion.Using Call-information can be further protected in the change of voice, frequency conversion, modified tone, protect the tone of secret telephony promoter, while also improving logical Enjoyment during words.
In conjunction with second aspect, and one embodiment of second aspect is to the 6th embodiment, the of second aspect In nine embodiments, also include:
The account of the initiating terminal is corresponding with the cell-phone number of initiating terminal SIM;
The machine account is corresponding with the cell-phone number of the machine SIM.
In conjunction with the 9th embodiment of second aspect, in the tenth embodiment of second aspect, also include:When receiving During the request instruction of the restriction recording that is initiated by initiating terminal, hide telephone number or show and the initiating terminal SIM The corresponding temporary phone number of cell-phone number.Hiding telephone number shows that temporary number contributes to further protecting initiation to limit record The privacy of the user of sound.
In conjunction with second aspect, and one embodiment of second aspect is to the 6th embodiment, the of second aspect In ten one embodiment, also include:
The initiating terminal and the machine are in communication process using 4G or WiFi network.
In a possible design, the structure for limiting recording device includes processor and memory, the memory For storing the program for supporting R-T unit to execute the above-mentioned restriction way of recording, it is described that the processor is configurable for execution The program stored in memory.Described restriction recording device can also include communication interface, for the restriction recording device and its His equipment or communication.
The third aspect, the invention provides a kind of portable mobile termianl, including:
Touch-sensitive display, instructs for sense operation and shows corresponding interface according to the instruction;
Memory, for storing the program for supporting R-T unit to execute the above-mentioned restriction way of recording;
Communication interface, for above-mentioned restriction recording device and other equipment or communication;
One or more processors, for executing the program stored in the memory;
One or more application programs, wherein one or more of application programs are stored in the memory and quilt It is configured to by one or more of computing devices, one or more of programs are configurable for executing the restriction record Sound method.
Fourth aspect, embodiments provides a kind of computer-readable storage medium, for saving as above-mentioned restriction recording Computer software instructions used by device, it is to limit the program designed by recording device which includes for executing above-mentioned aspect.
Relative to the scheme that prior art, the present invention are provided, the user in call can limit the side of answering and oneself is said Dialog context recorded.The instruction for limiting recording initiated by user's terminal device used in communication process, when answering terminal When receiving the instruction that restriction is recorded, then apply for the authority of playback interface to backstage, so as to control the premise of playback interface Under calling record is limited, in Recording Process is limited, other programs cannot by amplifying, hands-free or earphone passage etc. Mode plays the dialog context.In the present invention, the broadcasting of dialog context is limited according to the mode of control playback interface System, with quick, safe, easy to operate the characteristics of, further, since in one embodiment of the invention using 3DES algorithms to converse Content-encrypt, further ensures the validity for limiting recording, and when receiving terminal receives dialog context and plays, also adopts Secrecy provision has been taken, so as to protect the dialog context of user maliciously not stolen to greatest extent, the interests of user has been maintained.
The aspects of the invention or other in terms of can more straightforward in the following description.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, on the premise of not paying creative work, can be other attached to be obtained according to these accompanying drawings Figure.
Fig. 1 shows the system architecture diagram for limiting recording according to an embodiment of the invention.
Fig. 2 shows the flow chart for limiting the way of recording according to an embodiment of the invention.
Fig. 3 shows restriction way of recording subsequent step flow chart according to an embodiment of the invention.
Fig. 4 shows the method flow diagram of encryption caching dialog context according to an embodiment of the invention.
Fig. 5 shows restriction recording device block diagram according to an embodiment of the invention.
Fig. 6 shows restriction recording device block diagram in accordance with another embodiment of the present invention.
Fig. 7 shows the composition frame chart for limiting module according to an embodiment of the invention.
Fig. 8 shows a kind of composition frame chart of portable mobile termianl according to an embodiment of the invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention in Accompanying drawing, to the embodiment of the present invention in technical scheme be clearly and completely described.
In some flow processs of description in description and claims of this specification and above-mentioned accompanying drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be according to the suitable of its appearance herein Executing or executed in parallel, sequence number such as 101,102 of operation etc. is only used for distinguishing each different operation, sequence number sequence Any execution sequence is not represented itself.In addition, these flow processs can include more or less of operation, and these operations can To execute in order or executed in parallel.It should be noted that " first ", " second " herein etc. description, be for distinguish not Message together, equipment, module etc., do not represent sequencing, and it is different types also not limit " first " and " second ".
Inventor notices that the networking telephone has very big potential safety hazard up till now, relative to traditional talking mode, network Call encryption measures shortcoming, dialog context easily monitored monitoring need a kind of networking telephone of communication security badly.
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiment.It is based on Embodiment in the present invention, the every other enforcement obtained under the premise of creative work is not made by those skilled in the art Example, belongs to the scope of protection of the invention.
The noun lexical or textual analysis being related in the present invention is explained as follows:
Playback interface:In the present invention, playback interface refers to for playing the interface of audio frequency, and those skilled in that art can be with Be understood by, whatsoever audio frequency, calling system function is required for when playing, the power of carried playback interface in the present invention Limit refers to that control playback interface function calls authority, and those skilled in that art are being it is understood that obtaining the call function In the case of authority, audio frequency cannot be played.
Interactive function interface:In the present invention, interactive function interface refers to the interface controlled about man-machine interaction part, example Such as interface display, by key control etc..
Account information:In the present invention, call is set up on the basis of Internet phone-calling, different in Internet phone-calling application program User has different account informations for distinguishing the identity of different user, and the account information is not only able to verify user's body Part, and can as AES in encryption key a part.
The phone number of SIM:When the mobile terminal in call has the function of the networking telephone and plain old telephone simultaneously, then Contain SIM in the mobile terminal, record has the phone number of mobile terminal, the i.e. phone number of SIM on SIM.
The networking telephone, i.e. IP phone (VoIP, Voice over Internet Protocol), can pass through internet or Other realize telephonic communication using the network of IP technology.As shown in figure 1, the both sides of network telephone communication by internet or Other IP networks obtain connection, and then source 2000 is transmission such as the digitization of speech signals process, compressed encoding packing for obtaining To network, and process through net background server 1000, the decompression compressed encoding of receiving terminal 2000, so that data signal is reduced into Sound is played.
Speech from source 2000 reach receiving terminal 2000 basic process be:First will by similar devices such as piezoelectric ceramics Sound wave is transformed to electric signal;Then analog electrical signal is converted into digital letter according to certain method of sampling such as pulse code modulation Number;The voice signal after the digitlization of certain time length is combined as a frame again;Subsequently, according to the standard of International Telecommunication Association, these Speech frame is packaged in a live transmission protocol message, and is further encapsulated in UDP messages and IP messages;Then IP Message is delivered to 2000 Key dithering of receiving terminal in IP network by source 2000, finally receives IP messages by receiving terminal 2000, and will Signals revivification is played into sound.
In cell phone system, usual audio frequency is played to be realized by some fixation playback interfaces, for example, exist In android.media bags, the playback interface of relevant Andriod recording is deposited.Such as MediaRecorder in the bag and Audio file can be read out and play into audio stream by MediaPlayer classes;And AudioRecord and AudioTrack classes Obtaining and during playing audio-fequency data stream without the need for being preserved by file and file reads, can dynamically direct access and broadcasting sound Frequency flows, and can process audio stream in real time.
All it is that the call voice for initiating voice side is recorded into recording file in call, then the side of answering is taken from file Obtain audio stream to play out, so as to directly play using MediaRecorder and MediaPlayer classes.In the present invention, when During the playback interface authority of acquirement MediaRecorder and MediaPlayer classes, it is possible to the broadcasting of control recording, so as to limit Other routine calls class functions is made, realizes limiting the purpose for recording dialog context.
In first embodiment of the invention, as shown in Fig. 2 comprising the steps:
S101, in communication process, receives the request instruction of the restriction recording that is initiated by initiating terminal.The present invention is built upon On the basis of call, before call is initiated, user can preset restriction recording, can also send out at any time in communication process Rise and limit recording, when user initiates to limit from the terminal that initiation limits recording records request instruction, request is referred to by initiating terminal Order is sent to the machine, and the machine limits by recognizing to the request instruction of recording, and executes subsequent operations.
S102, in response to the request instruction for limiting recording, to the power of the exclusive playback interface module of background system application Limit, after confirmation obtains the authority, sends dialog context to playback interface module, limits which when the dialog context is played His program is by amplifying, hands-free or earphone passage plays the dialog context.In an embodiment of the present invention, arrive when locally received When limiting the request instruction that records, the authority of playback interface is monopolized first to background system application, when confirmation obtains the authority Afterwards send dialog context to playback interface module, and play the dialog context when limit other programs pass through amplify, hands-free Or earphone passage plays the dialog context.Those skilled in that art are it is understood that arbitrarily audio content is all by system In fixed playback interface realize that and the function interface for opening this playback interface is by background system control authority , only obtain playback interface can be controlled with arbitrary form broadcasting dialog context using the authority of playback interface.When appoint When meaning user initiates the restriction recording request to this receiving terminal, the machine will be executed and limit recording dependent instruction, be played by obtaining Interface play right and control playback interface broadcasting, so as to reach limit recording purpose.
Further, also include following subsequent step:
S201, when the playback interface recording dialog context described in other routine calls has been detected, calls the machine to hand over Mutually functional interface is providing the window for user input mandate schematic message.In the present embodiment, playback interface is being obtained In the case of authority, when finding to have this interface of other routine calls, then explanation has other programs to want to record by playback interface Dialog context processed, will now call the machine interactive function interface, to provide the window for user input mandate schematic message.For example When finding that other programs are intended to dialog context be recorded by playback interface, call the machine interactive function interface, in the machine display screen Display window, points out whether to send request in the window.
S202, obtains the mandate schematic message that user is input in the window, sends the mandate schematic message to initiation Terminal.In the present embodiment, after user input mandate schematic message, the machine will send and authorize schematic message to initiating terminal, So as to decrypt encryption file in the case where the approval for initiating the user for limiting recording is obtained into dialog context.
S203, obtains the license confirmation message that initiating terminal sends, and decrypts when determination receives license confirmation message described Encryption file is into dialog context.After the user input license confirmation message for initiating to limit recording, locally received award to described Power message, will decrypt the encryption file into dialog context.In the present embodiment, pass through to call broadcasting when other programs have been detected When interface records dialog context, the machine interactive function interface is called, so as to pass through to provide a user with input mandate schematic message The form of window provides the user decryption channel.
Further, when the transmission dialog context is to the playback interface module, the encryption caching dialog context text Part is into encryption file, and replaces the dialog context to play with preset audio.By replacing dialog context to broadcast with preset audio Put, even if there are other programs recording to be got by certain technological means, also obtain less than real recording, therefore, with pre- Can be further up to the good result for limiting recording if audio frequency plays dialog context.
Preferably, the preset audio file includes any one in noise, nursery rhymes, popular song.The default sound Frequency can both be the preset audio of system default, it is also possible to which, by user setup, its audio frequency includes noise, nursery rhymes, popular song etc..
Preferably, when the encryption caching dialog context file is into encryption file, by the initiating terminal and the account of the machine Number information is used as encryption key.In the present embodiment, the terminal account information for limiting recording the method such as is changed by digitlization Key is converted into, contributes to quick decryption.Those skilled in that art are appreciated that the font lattice such as any Chinese character, letter, numeral The account information of formula can be converted into the font of set form, in one embodiment of the invention, by account information Character is converted into string of binary characters, and causes to generate account information by the form for filling the digit strings, so as to this Account information is encrypted to dialog context.
Further, as shown in figure 4, the encryption caching dialog context file specifically includes following steps:
The dialog context file is converted to clear-text message by S301.
In the present embodiment, the dialog context file is converted into cleartext information, this includes for audio file entering line number The process of wordization process.Analog signal is changed into data signal and can improve efficiency of transmission, with more preferable transmission quality, and And it is also easy to the realization of AES.
S302, determines the digit of encrypted data chunk, fills the clear-text message so as to extend the digit of the cleartext information, So that the digit of the cleartext information after filling is the integral multiple of the digit of the data block.
The length of encrypted data chunk for example can be calculated according to 64 data blocks by pre-setting, and needing will be bright Literary information extends to 64 integral multiple, and the cleartext information after being so beneficial to filling is divided into integer number of data blocks just, for example Cleartext information length is 6350, then fill 50 0 or 1 so as to which the length of cleartext information is exactly 6400, in follow-up step In, the cleartext information after the prolongation will be divided into 10 data blocks.
S303, it is at least one encrypted data chunk to split the cleartext information after the filling.
So that data block is 64 as an example, carry out after the filling of cleartext information according to S202 steps, the length of cleartext information is 64 integral multiple, cleartext information is now divided into the data block of several 64 bit lengths.
S304, according to three initial keys that random algorithm generates 3DES algorithms, and according to 3DES algorithms to the encryption Data block is encrypted so as to generating encryption file.3DES algorithms are triple DEAs, relative to DES (weights DEA) there is higher security, in an embodiment of the present invention, data ensure that using 3DES encryption algorithm Safety.According to three initial keys that random algorithm generates 3DES algorithms, and 3DES algorithm for encryption is adopted according to these three keys The encrypted data chunk is into encryption file.Those skilled in that art are appreciated that 3DES algorithms are than traditional des encryption algorithm The more preferable algorithm of cipher round results, can hardly decode.Which carries out three des encryptions respectively using three keys to each data block Computing, is symmetric key encryption algorithm.
Further, the described encrypted data chunk being encrypted according to 3DES algorithms specifically includes, and adopts three Individual initial key is encrypted to the encrypted data chunk successively, using encryption of the single initial key to the encrypted data chunk Process include according to default displacement rule table by be input into encrypted data chunk step-by-step displacement, by displacement after output result be divided into Carry out successive ignition computing after two parts, and by interative computation after output result carry out inverse permutation so as to generating encryption file. By carrying out the encryptions such as step-by-step displacement, interative computation, inverse permutation according to 3DES algorithmic rules to data block so that after encryption File the characteristics of have safer.In the present embodiment, the default displacement rule table is set in advance, according to this Cleartext information can be resequenced by individual form, for example, will be located at the numeric sorting to the 2nd of the 30th, then by displacement after Output result is divided into two parts and carries out successive ignition computing and reaches the effect that further encrypts, and finally carries out inverse permutation so as to life Into encryption file.
Further, in one embodiment, after the request instruction of the restriction recording that is initiated by initiating terminal is received, Show and forbid canned alert message.In the present embodiment, the display screen in the machine shows the reminder message for forbidding recording, and reminds and uses Family has been introduced into limiting recording mode, improves Consumer's Experience.
Preferably, in an embodiment of the invention, described when the dialog context is played, with the change of voice, modified tone, frequency conversion Mode play the dialog context.Call-information can further be protected using the change of voice, frequency conversion, modified tone, secret telephony is protected The tone of promoter, while also improve the enjoyment in communication process.In one embodiment of the invention, in order to prevent from recording By the admission of other programs as evidence etc., when receiving terminal plays the audio file, appointed using the change of voice, frequency conversion, modified tone Meaning mode plays audio frequency, is further ensured that secret telephony.
Preferably, in one embodiment of the invention, the mobile phone of the account of the initiating terminal and initiating terminal SIM Number corresponding;The machine account is corresponding with the cell-phone number of the machine SIM.
In another embodiment of the present invention, when the request instruction for receiving the restriction recording that is initiated by initiating terminal When, hide telephone number or show temporary phone number corresponding with the cell-phone number of the initiating terminal SIM.Hiding phone number Code shows that temporary number contributes to the privacy for further protecting the user for initiating to limit recording.
Preferably, the initiating terminal and the machine adopt 4G or WiFi network in communication process.
In an embodiment of the invention, secret telephony is the communication shown based on internet or other IP networks;? In another embodiment of the present invention, it is contemplated that the present invention may be use with normal movement communication;Preferably, in the present invention using 4G or WiFi network.
Another embodiment of the present invention provide a kind of limit recording device, the restriction recording device has realizes above-mentioned the The function of way of recording behavior is limited in one embodiment.The function can be realized by hardware, it is also possible to held by hardware The corresponding software of row is realized.The hardware or software include one or more modules corresponding with above-mentioned functions, such as Fig. 5 institutes Show, the restriction recording device is included such as lower module:
Receiver module 101, for communication process in, receive by initiating terminal initiate restriction recording request instruction.This On the basis of invention is built upon call, before call is initiated, user can preset restriction recording, in communication process User can also initiate to limit recording, when user initiates to limit recording request instruction from the terminal for initiating restriction recording, initiation Request instruction is sent to the machine by terminal, and locally received module 101 limits by recognizing to the request instruction of recording, and executes postorder behaviour Make.
Module 102 is limited, in response to the request instruction for limiting recording, connecing to the exclusive broadcasting of background system application The authority of mouth mold block, after confirmation obtains the authority, sends dialog context to playback interface module, is playing in the call Limit during appearance other programs by amplifying, hands-free or earphone passage play the dialog context.In an embodiment of the present invention, when When the machine receiving module 101 receives the request instruction for limiting recording, limiting module 102 will be only to background system application first The authority of playback interface is accounted for, and dialog context is sent after confirming to obtain the authority to playback interface module, and described logical playing Words content timeline system other programs are by amplifying, hands-free or earphone passage plays the dialog context.Those skilled in that art It is understood that arbitrarily audio content is realized by the playback interface that fixed in system, and open this broadcasting and connect The function interface of mouth is by background system control authority, only obtains and can control to play using the authority of playback interface Interface plays dialog context with arbitrary form.When any user initiates the restriction recording request to this receiving terminal, the machine will be held Row limits recording dependent instruction, controls playback interface broadcasting by obtaining playback interface play right, limits record so as to reach The purpose of sound.When any user initiates the restriction recording request to this receiving terminal, the machine will be executed and limit recording dependent instruction, Playback interface broadcasting is controlled by obtaining playback interface play right, so as to reach the purpose for limiting recording.
Further, as shown in fig. 6, the restriction recording device is also included such as lower module:
Detection module 201, for when having detected described in other routine calls playback interface and having recorded the dialog context, Call the machine interactive function interface to provide the window for user input mandate schematic message.In the present embodiment, obtaining In the case of taking playback interface authority, when finding to have this interface of other routine calls, then explanation has other programs to want to pass through Playback interface records dialog context, will now call the machine interactive function interface, to provide for user input mandate schematic message Window.For example when detection module 201 is when finding that other programs are intended to record dialog context by playback interface, the machine is called to hand over Mutually functional interface, in the machine display screen display window, points out whether to send request in the window.
Sending module 202, for obtaining the mandate schematic message that user is input in the window, sends described mandate and illustrates Message is to initiating terminal.In the present embodiment, after user input mandate schematic message, sending module 202 shows mandate is sent Message of anticipating encrypts file into call to initiating terminal so as to decrypt in the case of the approval of the user that acquisition initiation limits recording Content.
Deciphering module 203, for obtaining the license confirmation message of initiating terminal transmission, when determination receives license confirmation message Described in Shi Xiemi, encryption file is into dialog context.After initiation limits the user input of recording license confirmation message, the machine connects The authorization messages are received, deciphering module 203 will decrypt the encryption file into dialog context.In the present embodiment, when detecting When there are other programs dialog context to be recorded by calling playback interface, call the machine interactive function interface, so as to pass through to user The form for providing the window that input authorizes schematic message provides the user decryption channel.
In another embodiment of the present invention, the restriction module 102 includes:
The encryption caching dialog context file is into encryption file, and replaces the dialog context to play with preset audio. Played by replacing dialog context with preset audio, even if having other programs to get recording by certain technological means, Obtain less than real recording, therefore, playing dialog context with preset audio can be further up to the good effect for limiting recording Really.
Preferably, the preset audio file includes any one in noise, nursery rhymes, popular song.The default sound Frequency can both be the preset audio of system default, it is also possible to which, by user setup, its audio frequency includes noise, nursery rhymes, popular song etc..
In another embodiment of the presently claimed invention, when the encryption caching dialog context file is into encryption file, by institute The account information of initiating terminal and the machine is stated as encryption key.Terminal account information in call is helped as encryption key In quick decryption.In the present embodiment, the terminal account information for limiting recording the method migration Cheng Mi such as is changed by digitlization Key, contributes to quick decryption.Those skilled in that art are appreciated that the account of the font formats such as any Chinese character, letter, numeral Information can be converted into the font of set form, in one embodiment of the invention, the character in account information be changed Into string of binary characters, and cause to generate account information by the form for filling the digit strings, so as to use the account information Dialog context is encrypted.
In another embodiment of the presently claimed invention, as shown in fig. 7, the restriction module 102 also includes:
Converting unit 301, for being converted to clear-text message by the dialog context file.In the present embodiment, change single The dialog context file is converted into cleartext information by unit 301, and this includes the process that audio file is digitized process.Will Analog signal changes into data signal and can improve efficiency of transmission, with more preferable transmission quality, and is also easy to AES Realization.
Fills unit 302, for determining the digit of encrypted data chunk, fills the clear-text message so as to extending the plaintext The digit of information so that the digit of the cleartext information after filling is the integral multiple of the digit of the data block.Encrypted data chunk Length for example can be calculated according to 64 data blocks, needs cleartext information is extended to 64 integer by pre-setting Times, the cleartext information after being so beneficial to filling is divided into integer number of data blocks just, and such as cleartext information length is 6350, then Filling 50 0 or 1 so as to which the length of cleartext information is exactly 6400, in subsequent steps, cleartext information after the prolongation 10 data blocks will be divided into.
Cutting unit 303, for splitting the cleartext information after the filling at least one encrypted data chunk.With data block As a example by for 64, carry out after the filling of cleartext information according to S202 steps, the length of cleartext information is 64 integral multiple, this time-division Cut the data block that cleartext information is divided into unit 303 several 64 bit lengths.
Signal generating unit 304, for generating three initial keys of 3DES algorithms, and according to 3DES algorithms according to random algorithm The encrypted data chunk is encrypted so as to generating encryption file.3DES algorithms are triple DEAs, relative There is higher security in DES (a weight DEA), in an embodiment of the present invention, using 3DES encryption algorithm energy Enough guarantee data security.3DES algorithms are triple DEAs, have relative to DES (a weight DEA) higher Security, in an embodiment of the present invention, data safety ensure that using 3DES encryption algorithm.Generated according to random algorithm Three initial keys of 3DES algorithms, and literary into encryption using encrypted data chunk described in 3DES algorithm for encryption according to these three keys Part.Those skilled in that art be appreciated that 3DES algorithms be than the more preferable algorithm of traditional des encryption algorithm for encryption effect, several Can not decode.Which carries out three des encryption computings respectively using three keys to each data block, is that symmetric key encryption is calculated Method.
Further, the signal generating unit 304 is specifically included:
Successively the encrypted data chunk is encrypted using three initial keys, is added to described using single initial key The ciphering process of ciphertext data block is included the encrypted data chunk step-by-step displacement being input into according to default displacement rule table, after replacing Output result be divided into two parts after carry out successive ignition computing, and by interative computation after output result carry out inverse permutation so as to Generate encryption file.By carrying out at the encryptions such as step-by-step displacement, interative computation, inverse permutation to data block according to 3DES algorithmic rules Reason so that the characteristics of file after encryption has safer.In the present embodiment, the default displacement rule table is advance Set, cleartext information can be resequenced according to this form, such as by the numeric sorting for being located at the 30th to the 2nd, Then by displacement after output result be divided into two parts and carry out successive ignition computing and reach the effect that further encrypts, most laggard Row inverse permutation is so as to generating encryption file.
Further, after the request instruction of the restriction recording that is initiated by initiating terminal is received, show and forbid that recording is carried Awake message.In the present embodiment, the display screen in the machine shows the reminder message for forbidding recording, and reminds user to have been introduced into limiting Recording mode processed, improves Consumer's Experience.
Preferably, described when the dialog context is played, played in the way of the change of voice, modified tone, frequency conversion in the call Hold.Call-information can further be protected using the change of voice, frequency conversion, modified tone, the tone of secret telephony promoter is protected, while also carrying The enjoyment in communication process is risen.In one embodiment of the invention, testify to prevent from recording being worked as by other program admissions According to etc., when receiving terminal plays the audio file, audio frequency is played using the any-mode of the change of voice, frequency conversion, modified tone, further Ensure secret telephony.
Further, in an embodiment of the invention, the mobile phone of the account of the initiating terminal and initiating terminal SIM Number corresponding;The machine account is corresponding with the cell-phone number of the machine SIM.
Further, when receive by initiating terminal initiate restriction recording request instruction when, hide telephone number or Show temporary phone number corresponding with the cell-phone number of the initiating terminal SIM.Hiding telephone number shows temporary number Contribute to the privacy for further protecting the user for initiating to limit recording.
Preferably, the initiating terminal and the machine adopt 4G or WiFi network in communication process.
In an embodiment of the invention, secret telephony is the communication shown based on internet or other IP networks;? In another embodiment of the present invention, it is contemplated that the present invention may be use with normal movement communication;Preferably, in the present invention using 4G or WiFi network.
In another embodiment, the structure for limiting recording device includes processor and memory, described deposits Reservoir is used for storing the program for supporting R-T unit to execute the above-mentioned restriction way of recording, and the processor is configurable for executing The program stored in the memory.The restriction recording device can also include communication interface, for the restriction recording device With other equipment or communication.
The embodiment of the present invention additionally provides a kind of portable mobile termianl, as shown in figure 8, for convenience of description, only illustrates The part related to the embodiment of the present invention, particular technique details are not disclosed, and refer to present invention method part.Should Terminal can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS The arbitrarily terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, so that terminal is as mobile phone as an example:
Fig. 8 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention.With reference to figure 8, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 810, memory 820, input block 830, display unit 840, Sensor 850, voicefrequency circuit 860, Wireless Fidelity (wireless fidelity, WiFi) module 870, processor 880 and 890 grade part of power supply.It will be understood by those skilled in the art that the handset structure illustrated in Fig. 8 does not constitute the restriction to mobile phone, Can include than illustrating more or less of part, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 8:
RF circuits 810 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, process to processor 880;In addition, up data is activation will be designed to base station.Generally, RF circuits 810 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 810 can also be communicated with network and other equipment by radio communication. Above-mentioned radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 820 can be used to store software program and module, and processor 880 is stored in memory 820 by operation Software program and module, so as to execute various function application and the data processing of mobile phone.Memory 820 mainly can include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and be created according to using for mobile phone Data (such as voice data, phone directory etc.) etc..Additionally, memory 820 can include high-speed random access memory, can be with Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states Part.
Input block 830 can be used for the numeral of receives input or character information, and produce with the user setup of mobile phone with And the key signals input that function control is relevant.Specifically, input block 830 may include that contact panel 831 and other inputs set Standby 832.Contact panel 831, also referred to as touch-screen, can collect user thereon or neighbouring touch operation (such as user's use The operation of any suitable object such as finger, stylus or annex on contact panel 831 or near the contact panel 831), and root Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 831 may include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation brings is detected, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinates, then give processor 880, and the order sent of receiving processor 880 can be executed.Furthermore, it is possible to using electricity The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 831.Except contact panel 831, input Unit 830 can also include other input equipments 832.Specifically, other input equipments 832 can include but is not limited to secondary or physical bond One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 840 can be used for show by user input information or be supplied to user information and mobile phone various Menu.Display unit 840 may include display floater 841, optionally, can adopt liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) aobvious to configure Show panel 841.Further, contact panel 831 can cover display floater 841, when contact panel 831 detect thereon or attached After near touch operation, processor 880 is sent to determine the type of touch event, with preprocessor 880 according to touch event Type corresponding visual output is provided on display floater 841.Although in fig. 8, contact panel 831 and display floater 841 It is the part independent as two realizing input and the input function of mobile phone, but in some embodiments it is possible to by touch-control Panel 831 is integrated with display floater 841 and realizes mobile phone input and output function.
Mobile phone may also include at least one sensor 850, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display floater 841, proximity transducer can cut out display floater 841 when mobile phone is moved in one's ear And/or backlight.Used as one kind of motion sensor, accelerometer sensor can detect (generally three axles) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as the gyroscope of configuration, barometer, hygrometer, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 860, loudspeaker 861, microphone 862 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data for receiving conversion can be transferred to loudspeaker 861, is converted to sound by loudspeaker 861 by road 860 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 862, is turned after being received by voicefrequency circuit 860 Voice data is changed to, then after voice data output processor 880 is processed, through RF circuits 88 to be sent to such as another mobile phone, Or export voice data to memory 820 further to process.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 870 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 8 shows WiFi module 870, but it is understood that, which is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Omit in the scope of the essence for becoming invention.
Processor 880 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, leads to Cross operation or execute the software program and/or the module that are stored in memory 820, and call and be stored in memory 820 Data, execute the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 880 can be wrapped Include one or more processing units;Preferably, processor 880 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, and modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 880.
Mobile phone also includes the power supply 890 (such as battery) that powers to all parts, it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 880, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be described here.
In embodiments of the present invention, the processor 880 included by the terminal also has following functions:
In communication process, the request instruction of the restriction recording that is initiated by initiating terminal is received;
In response to the request instruction for limiting recording, to the authority of the exclusive playback interface module of background system application, After confirmation obtains the authority, dialog context is sent to playback interface module, limit other journeys when the dialog context is played Sequence is by amplifying, hands-free or earphone passage plays the dialog context.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematic, for example, the unit Divide, only a kind of division of logic function can have other dividing mode, for example multiple units or component when actually realizing Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or not execute.Another, shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
One of ordinary skill in the art will appreciate that realize that all or part of step in above-described embodiment method is can be with The hardware for being instructed correlation by program is completed, and described program can be stored in a kind of computer-readable recording medium, on It can be read-only storage, disk or CD etc. to state the storage medium that mentions.
In sum, technical solutions according to the invention are summarized as follows:
A1, a kind of restriction way of recording, comprise the steps:
In communication process, the request instruction of the restriction recording that is initiated by initiating terminal is received;
In response to the request instruction for limiting recording, to the authority of the exclusive playback interface module of background system application, After confirmation obtains the authority, dialog context is sent to playback interface module, limit other journeys when the dialog context is played Sequence is by amplifying, hands-free or earphone passage plays the dialog context.
A2, the restriction way of recording according to claim A1, also comprise the steps:
When the playback interface recording dialog context described in other routine calls has been detected, the machine interactive function is called Interface is providing the window for user input mandate schematic message;
The mandate schematic message that user is input in the window is obtained, and the mandate schematic message is sent to initiating terminal;
The license confirmation message that initiating terminal sends is obtained, and the encryption text is decrypted when determination receives license confirmation message Part is into dialog context.
A3, the restriction way of recording according to claim A1, the transmission dialog context is to the playback interface mould During block, the encryption caching dialog context file is into encryption file, and replaces the dialog context to play with preset audio.
A4, the restriction way of recording according to claim A3, the preset audio file include noise, nursery rhymes, stream Any one in row song.
A5, the restriction way of recording according to claim A3, the encryption caching dialog context file is into encryption text During part, using the account information of the initiating terminal and the machine as encryption key.
A6, the restriction way of recording according to claim A3, it is concrete that the encryption caches the dialog context file Comprise the steps:
The dialog context file is converted to clear-text message;
Determine the digit of encrypted data chunk, the clear-text message is filled so as to extending the digit of the cleartext information so that The digit of the cleartext information after filling is the integral multiple of the digit of the data block;
Split the cleartext information after the filling at least one encrypted data chunk;
According to three initial keys that random algorithm generates 3DES algorithms, and according to 3DES algorithms to the encrypted data chunk It is encrypted so as to generating encryption file.
A7, the restriction way of recording according to claim A6, described according to 3DES algorithms to the encrypted data chunk It is encrypted and specifically includes:
Successively the encrypted data chunk is encrypted using three initial keys, is added to described using single initial key The ciphering process of ciphertext data block is included the encrypted data chunk step-by-step displacement being input into according to default displacement rule table, after replacing Output result be divided into two parts after carry out successive ignition computing, and by interative computation after output result carry out inverse permutation so as to Generate encryption file.
A8, the restriction way of recording according to any one in claim A1~A7, also include:
After the request instruction of the restriction recording that is initiated by initiating terminal is received, show and forbid canned alert message.
A9, the restriction way of recording according to any one in claim A1~A7, also include:
Described play the dialog context when, play the dialog context in the way of the change of voice, modified tone, frequency conversion.
A10, the restriction way of recording according to any one in claim A1~A7, also include:
The account of the initiating terminal is corresponding with the cell-phone number of initiating terminal SIM;
The machine account is corresponding with the cell-phone number of the machine SIM.
A11, the restriction way of recording according to claim A10, also include:Initiated by initiating terminal when receiving When limiting the request instruction that records, hide telephone number or show corresponding with the cell-phone number of the initiating terminal SIM interim Telephone number.
A12, the restriction way of recording according to any one in claim A1~A7, also include:
The initiating terminal and the machine are in communication process using 4G or WiFi network.
B13, a kind of restriction recording device, including such as lower module:
Receiver module, for communication process in, receive by initiating terminal initiate restriction recording request instruction;
Module is limited, in response to the request instruction for limiting recording, to the exclusive playback interface of background system application The authority of module, after confirmation obtains the authority, sends dialog context to playback interface module, is playing the dialog context When limit other programs by amplifying, hands-free or earphone passage play the dialog context.
B14, the restriction recording device according to claim B13, are also included such as lower module:
Detection module, for when the playback interface recording dialog context described in other routine calls has been detected, adjusting With the machine interactive function interface providing the window for user input mandate schematic message;
Sending module, for obtaining the mandate schematic message that user is input in the window, sends the mandate signal and disappears Cease to initiating terminal;
Deciphering module, for obtaining the license confirmation message of initiating terminal transmission, when determination receives license confirmation message The decryption encryption file is into dialog context.
15th, restriction recording device according to claim 13, the restriction module include:
The encryption caching dialog context file is into encryption file, and replaces the dialog context to play with preset audio.
B16, the restriction recording device according to claim B15, the preset audio file include noise, nursery rhymes, Any one in popular song.
B17, the restriction recording device according to claim B15, the encryption caching dialog context file is into encryption During file, using the account information of the initiating terminal and the machine as encryption key.
B18, the restriction recording device according to claim B15, the restriction module also include:
Converting unit, for being converted to clear-text message by the dialog context file;
Fills unit, for determining the digit of encrypted data chunk, fills the clear-text message and believes so as to extend the plaintext The digit of breath so that the digit of the cleartext information after filling is the integral multiple of the digit of the data block;
Cutting unit, for splitting the cleartext information after the filling at least one encrypted data chunk;
Signal generating unit, for generating three initial keys of 3DES algorithms, and according to 3DES algorithms pair according to random algorithm The encrypted data chunk is encrypted so as to generating encryption file.
B19, the restriction recording device according to claim B18, the signal generating unit are specifically included:
Successively the encrypted data chunk is encrypted using three initial keys, is added to described using single initial key The ciphering process of ciphertext data block is included the encrypted data chunk step-by-step displacement being input into according to default displacement rule table, after replacing Output result be divided into two parts after carry out successive ignition computing, and by interative computation after output result carry out inverse permutation so as to Generate encryption file.
B20, the restriction recording device according to any one in claim B13~B19, also include:
After the request instruction of the restriction recording that is initiated by initiating terminal is received, show and forbid canned alert message.
B21, the restriction recording device according to any one in claim B13~B19, also include:
Described play the dialog context when, play the dialog context in the way of the change of voice, modified tone, frequency conversion.
B22, the restriction recording device according to any one in claim B13~B19, also include:
The account of the initiating terminal is corresponding with the cell-phone number of initiating terminal SIM;
The machine account is corresponding with the cell-phone number of the machine SIM.
B23, the restriction recording device according to claim B22, also include:Initiated by initiating terminal when receiving When limiting the request instruction that records, hide telephone number or show corresponding with the cell-phone number of the initiating terminal SIM interim Telephone number.
B24, the restriction recording device according to any one in claim B13~B19, also include:
The initiating terminal and the machine are in communication process using 4G or WiFi network.
C25, a kind of portable mobile termianl, including:
Touch-sensitive display, instructs for sense operation and shows corresponding interface according to the instruction;
Memory, for storing the program for supporting R-T unit to execute the above-mentioned restriction way of recording;
Communication interface, for above-mentioned restriction recording device and other equipment or communication;
One or more processors, for executing the program stored in the memory;
One or more application programs, wherein one or more of application programs are stored in the memory and quilt It is configured to by one or more of computing devices, one or more of programs are configurable for executing and are wanted according to right Seek the method described in any one of A1 to A12.
Above a kind of Portable movable terminal provided by the present invention is described in detail, for the one of this area As technical staff, according to the embodiment of the present invention thought, will change in specific embodiments and applications, comprehensive Upper described, this specification content should not be construed as limiting the invention.

Claims (10)

1. one kind limits the way of recording, it is characterised in that comprise the steps:
In communication process, the request instruction of the restriction recording that is initiated by initiating terminal is received;
In response to the request instruction for limiting recording, to the authority of the exclusive playback interface module of background system application, confirming After obtaining the authority, dialog context is sent to playback interface module, limit other programs when the dialog context is played and lead to Cross amplify, hands-free or earphone passage plays the dialog context.
2. the restriction way of recording according to claim 1, it is characterised in that also comprise the steps:
When the playback interface recording dialog context described in other routine calls has been detected, the machine interactive function interface is called To provide the window for user input mandate schematic message;
The mandate schematic message that user is input in the window is obtained, and the mandate schematic message is sent to initiating terminal;
Obtain initiating terminal send license confirmation message, decrypt when determination receives license confirmation message described encryption file into Dialog context.
3. the restriction way of recording according to claim 1, it is characterised in that the transmission dialog context is connect to described broadcasting During mouth mold block, the encryption caching dialog context file is into encryption file, and replaces the dialog context to play with preset audio.
4. the restriction way of recording according to claim 3, it is characterised in that the preset audio file includes noise, youngster Any one in song, popular song.
5. the restriction way of recording according to claim 3, it is characterised in that the encryption caching dialog context file into plus During ciphertext part, using the account information of the initiating terminal and the machine as encryption key.
6. the restriction way of recording according to claim 3, it is characterised in that the encryption caches the dialog context file Specifically include following steps:
The dialog context file is converted to clear-text message;
Determine the digit of encrypted data chunk, the clear-text message is filled so as to extending the digit of the cleartext information so that filling The digit of cleartext information afterwards is the integral multiple of the digit of the data block;
Split the cleartext information after the filling at least one encrypted data chunk;
According to three initial keys that random algorithm generates 3DES algorithms, and the encrypted data chunk is carried out according to 3DES algorithms Encryption is so as to generating encryption file.
7. the restriction way of recording according to claim 6, it is characterised in that described according to 3DES algorithms to the encryption number It is encrypted according to block and specifically includes:
Successively the encrypted data chunk is encrypted using three initial keys, using single initial key to the encryption number According to the ciphering process of block include according to default displacement rule table by be input into encrypted data chunk step-by-step displacement, by displacement after defeated Go out, and by interative computation after output result carry out inverse permutation so as to generating Encryption file.
8. the restriction way of recording according to any one in claim 1~7, it is characterised in that also include:
After the request instruction of the restriction recording that is initiated by initiating terminal is received, show and forbid canned alert message.
9. one kind limits recording device, it is characterised in that include such as lower module:
Receiver module, for communication process in, receive by initiating terminal initiate restriction recording request instruction;
Module is limited, in response to the request instruction for limiting recording, to the exclusive playback interface module of background system application Authority, after confirmation obtains the authority, send dialog context to playback interface module, playing the dialog context time limit Make other programs by amplifying, hands-free or earphone passage play the dialog context.
10. a kind of portable mobile termianl, it is characterised in that include:
Touch-sensitive display, instructs for sense operation and shows corresponding interface according to the instruction;
Memory, for storing the program for supporting R-T unit to execute the above-mentioned restriction way of recording;
Communication interface, for above-mentioned restriction recording device and other equipment or communication;
One or more processors, for executing the program stored in the memory;
One or more application programs, wherein one or more of application programs are stored in the memory and are configured It is that one or more of programs are configurable for executing according to claim 1 by one or more of computing devices To the method described in 8 any one.
CN201610958039.3A 2016-10-27 2016-10-27 Limit the way of recording, device and portable mobile termianl Active CN106506828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610958039.3A CN106506828B (en) 2016-10-27 2016-10-27 Limit the way of recording, device and portable mobile termianl

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610958039.3A CN106506828B (en) 2016-10-27 2016-10-27 Limit the way of recording, device and portable mobile termianl

Publications (2)

Publication Number Publication Date
CN106506828A true CN106506828A (en) 2017-03-15
CN106506828B CN106506828B (en) 2019-08-06

Family

ID=58321526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610958039.3A Active CN106506828B (en) 2016-10-27 2016-10-27 Limit the way of recording, device and portable mobile termianl

Country Status (1)

Country Link
CN (1) CN106506828B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820210A (en) * 2017-11-14 2018-03-20 广东欧珀移动通信有限公司 One kind is registered method, mobile terminal and computer-readable recording medium
CN111782174A (en) * 2020-06-30 2020-10-16 联想(北京)有限公司 Electronic equipment
CN113676440A (en) * 2020-05-15 2021-11-19 华为技术有限公司 Authority negotiation method and device in communication process and electronic equipment
WO2023093300A1 (en) * 2021-11-29 2023-06-01 中兴终端有限公司 Communication method, terminal and computer-readable storage medium
CN117857686A (en) * 2024-02-07 2024-04-09 荣耀终端有限公司 Communication method, communication system and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070105129A (en) * 2006-04-25 2007-10-30 주식회사 케이티프리텔 Management method for fraud use of mobile terminal
CN101720088A (en) * 2009-12-28 2010-06-02 中兴通讯股份有限公司 Method and mobile phone for preventing interception in mobile phone communicating process
CN102045712A (en) * 2011-01-04 2011-05-04 奇智软件(北京)有限公司 Anti-monitoring method and system for mobile terminal
CN103108084A (en) * 2011-01-04 2013-05-15 北京奇虎科技有限公司 Anti-monitor method and system used for mobile terminal
CN103379482A (en) * 2012-04-26 2013-10-30 腾讯科技(深圳)有限公司 Method and device for preventing recording in process of communicating by telephone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070105129A (en) * 2006-04-25 2007-10-30 주식회사 케이티프리텔 Management method for fraud use of mobile terminal
CN101720088A (en) * 2009-12-28 2010-06-02 中兴通讯股份有限公司 Method and mobile phone for preventing interception in mobile phone communicating process
CN102045712A (en) * 2011-01-04 2011-05-04 奇智软件(北京)有限公司 Anti-monitoring method and system for mobile terminal
CN103108084A (en) * 2011-01-04 2013-05-15 北京奇虎科技有限公司 Anti-monitor method and system used for mobile terminal
CN103152740A (en) * 2011-01-04 2013-06-12 北京奇虎科技有限公司 Method and system for preventing monitoring of mobile terminal
CN103379482A (en) * 2012-04-26 2013-10-30 腾讯科技(深圳)有限公司 Method and device for preventing recording in process of communicating by telephone

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820210A (en) * 2017-11-14 2018-03-20 广东欧珀移动通信有限公司 One kind is registered method, mobile terminal and computer-readable recording medium
CN113676440A (en) * 2020-05-15 2021-11-19 华为技术有限公司 Authority negotiation method and device in communication process and electronic equipment
CN111782174A (en) * 2020-06-30 2020-10-16 联想(北京)有限公司 Electronic equipment
WO2023093300A1 (en) * 2021-11-29 2023-06-01 中兴终端有限公司 Communication method, terminal and computer-readable storage medium
CN117857686A (en) * 2024-02-07 2024-04-09 荣耀终端有限公司 Communication method, communication system and related device

Also Published As

Publication number Publication date
CN106506828B (en) 2019-08-06

Similar Documents

Publication Publication Date Title
CN106506828B (en) Limit the way of recording, device and portable mobile termianl
CN104836664B (en) A kind of methods, devices and systems executing business processing
CN103731810B (en) access point sharing method and device
CN106845177A (en) Cipher management method and system
CN108769027A (en) Safety communicating method, device, mobile terminal and storage medium
CN103699309B (en) A kind of method for recording of synchronization video, device and mobile terminal
CN107547142A (en) Communication means, device and computer-readable recording medium based on ultrasonic wave
US10454905B2 (en) Method and apparatus for encrypting and decrypting picture, and device
TW200705944A (en) Protect method thereof
CN108733811A (en) A kind of file access method, terminal and computer readable storage medium
CN107395850A (en) A kind of social communication information guard method, device and computer-readable recording medium
CN105681032A (en) Key storage method and device as well as key management method and device
CN108616878A (en) A kind of encrypting and decrypting method, equipment and computer storage media
CN106709347A (en) Application running method and application running device
CN107154935A (en) service request method and device
CN106973168A (en) Speech playing method, device and computer equipment
CN107360139A (en) A kind of mobile terminal, data ciphering method and computer-readable recording medium
CN104092680B (en) The coding of a kind of audio signal, coding/decoding method and Apparatus and system
CN108196762A (en) A kind of terminal control method, terminal and computer readable storage medium
CN107317680A (en) Labeling method, system and the computer-readable recording medium of secured account numbers
CN106331379A (en) Communication security method and device and portable mobile terminal
CN107707554A (en) A kind of login method and mobile terminal of application program account
CN107770368A (en) A kind of based reminding method and terminal of the alarm clock application based on terminal
CN107682541A (en) Audio control method, mobile terminal and the storage medium of screen prjection
CN107592409A (en) Application control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170719

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUNSHIJI TECHNOLOGY Co.,Ltd.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231031

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100102 1801, 18 / F, building 2, Wangjing street, Chaoyang District, Beijing

Patentee before: BEIJING ANYUNSHIJI TECHNOLOGY Co.,Ltd.