CN108513012B - Data processing method, data processing device and mobile terminal - Google Patents

Data processing method, data processing device and mobile terminal Download PDF

Info

Publication number
CN108513012B
CN108513012B CN201810283368.1A CN201810283368A CN108513012B CN 108513012 B CN108513012 B CN 108513012B CN 201810283368 A CN201810283368 A CN 201810283368A CN 108513012 B CN108513012 B CN 108513012B
Authority
CN
China
Prior art keywords
preset function
mobile terminal
data
data corresponding
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810283368.1A
Other languages
Chinese (zh)
Other versions
CN108513012A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810283368.1A priority Critical patent/CN108513012B/en
Publication of CN108513012A publication Critical patent/CN108513012A/en
Application granted granted Critical
Publication of CN108513012B publication Critical patent/CN108513012B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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

Abstract

The application is applicable to the technical field of mobile terminals, and provides a data processing method, a data processing device, a mobile terminal and a computer readable storage medium, comprising the following steps: detecting data corresponding to a preset function in a first mobile terminal in the process of transmitting data in the first mobile terminal to a second mobile terminal; acquiring a transmission state of data corresponding to the preset function; and if the transmission state of the data corresponding to the preset function is successful, performing silent processing on the preset function. The method and the device can solve the problem that the old mobile terminal can suddenly make a sound after the old mobile terminal transmits data to the new mobile terminal in the prior art.

Description

Data processing method, data processing device and mobile terminal
Technical Field
The present application belongs to the technical field of mobile terminals, and in particular, relates to a data processing method, a data processing apparatus, a mobile terminal, and a computer-readable storage medium.
Background
With the development of information technology, mobile terminals such as mobile phones and tablet computers are more and more popular, and people's life is more and more convenient. In the face of fast iteration of the mobile terminal, the user frequently changes the mobile terminal. In order to migrate data in the old mobile terminal to the new mobile terminal, moving software suitable for the mobile terminal is developed, all data such as address lists, short messages, call records, schedules, pictures, audios, videos, ringtones, alarm clocks, notebooks and the like in the old mobile terminal can be transmitted to the new mobile terminal by using the moving software, and therefore the new mobile terminal and the old mobile terminal can have the same functions and settings. However, after the data transmission is complete, the user will typically not use the old mobile terminal, but some volume settings may still be present in the old mobile terminal, which may suddenly make a sound.
Therefore, it is necessary to provide a new technical solution to solve the above technical problems.
Disclosure of Invention
In view of the above, the present application provides a data processing method, a data processing apparatus, a mobile terminal and a computer readable storage medium to solve the problem in the prior art that an old mobile terminal may suddenly make a sound after the old mobile terminal transmits data to a new mobile terminal.
A first aspect of the present application provides a data processing method, including:
detecting data corresponding to a preset function in a first mobile terminal in the process of transmitting data in the first mobile terminal to a second mobile terminal;
acquiring a transmission state of data corresponding to the preset function;
and if the transmission state of the data corresponding to the preset function is successful, performing silent processing on the preset function.
A second aspect of the present application provides a data processing apparatus comprising:
the data detection module is used for detecting data corresponding to a preset function in a first mobile terminal in the process of transmitting data in the first mobile terminal to a second mobile terminal;
the state acquisition module is used for acquiring the transmission state of the data corresponding to the preset function;
and the silent processing module is used for carrying out silent processing on the preset function if the transmission state of the data corresponding to the preset function is successful.
A third aspect of the present application provides a mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the data processing method according to the first aspect when executing the computer program.
A fourth aspect of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the data processing method according to the first aspect as described above.
A fifth aspect of the application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the data processing method as described in the first aspect above.
Therefore, according to the scheme, in the process of transmitting the data in the first mobile terminal to the second mobile terminal, the data corresponding to the preset function in the first mobile terminal are detected, so that the transmission state of the data corresponding to the preset function is obtained, and when the transmission state is successful, the preset function is subjected to silent processing. According to the scheme, whether the relevant setting of the preset function in the first mobile terminal is successfully transmitted to the second mobile terminal or not can be detected in the moving process of the mobile terminal, and the relevant setting of the preset function is subjected to silent processing when the transmission is successful, so that the first mobile terminal cannot make a sound suddenly after finishing data transmission.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an implementation of a data processing method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of an implementation of a data processing method provided in the second embodiment of the present application;
fig. 3 is a schematic flow chart of an implementation of a data processing method provided in the third embodiment of the present application;
FIG. 4 is a schematic diagram of a data processing apparatus according to a fourth embodiment of the present disclosure;
fig. 5 is a schematic diagram of a mobile terminal according to a fifth embodiment of the present application;
fig. 6 is a schematic diagram of a mobile terminal according to a sixth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the mobile terminals described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a mobile terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The mobile terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the mobile terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
It should be noted that, in this embodiment, the first mobile terminal refers to a certain mobile terminal, and the "first" is only used for convenience of expression and reference herein, and does not mean that there is a first mobile terminal corresponding to the first mobile terminal in a specific implementation manner of the present application. Similarly, the term "second" in the second mobile terminal is also used for convenience of expression and reference, and does not mean that there is necessarily a second mobile terminal corresponding thereto in a specific implementation of the present application.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Referring to fig. 1, which is a schematic diagram of an implementation flow of a data processing method provided in an embodiment of the present application, as shown in the figure, the data processing method may include the following steps:
step S101, in the process of transmitting data in a first mobile terminal to a second mobile terminal, detecting data corresponding to a preset function in the first mobile terminal.
In this embodiment, the first mobile terminal may refer to a device that transmits data, and the second mobile terminal may refer to a device that receives data. The data in the first mobile terminal may refer to all data in the first mobile terminal, or may refer to data selected by a user in the first mobile terminal and to be transmitted to a second mobile terminal. The preset function may be a function of prohibiting the first mobile terminal from being restarted after the first mobile terminal successfully transmits data to the second mobile terminal, and specifically may be a function of sounding in the first mobile terminal. The preset function includes, but is not limited to, functions of an alarm clock, a ring tone, and the like, which can make a sound, and the data corresponding to the preset function may refer to related setting parameters of the alarm clock, the ring tone, and the like, for example, the ringing time of the alarm clock, the volume when ringing, the ring tone type, and the like. The user can set the specific function of the preset function according to actual needs, which is not limited herein.
In this embodiment of the present application, in order to improve the efficiency of performing silent processing on a preset function in a first mobile terminal, before transmitting data in the first mobile terminal to a second mobile terminal or during transmitting data in the first mobile terminal to the second mobile terminal, it may be detected whether the preset function in the first mobile terminal is capable of generating sound, and if it is detected that the preset function in the first mobile terminal is incapable of generating sound, data corresponding to the preset function in the first mobile terminal is no longer detected, and subsequent operations S102 and S103 are not performed, because the preset function in the first mobile terminal is not capable of generating sound suddenly; if it is detected that the preset function in the first mobile terminal can sound, in order to avoid that the preset function in the first mobile terminal suddenly sounds after the data transmission is completed, data corresponding to the preset function in the first mobile terminal may be detected, and subsequent operations S102 and S103 may be performed.
And step S102, acquiring the transmission state of the data corresponding to the preset function.
In the embodiment of the application, in the process of transmitting the data stored by the first mobile terminal to the second mobile terminal, the first mobile terminal may detect the transmission condition of the data corresponding to the preset function in the background, so as to obtain the transmission state of the data corresponding to the preset function. The transmission state may be used to indicate which transmission stage the data corresponding to the preset function is in, including but not limited to non-transmission, transmission in progress, transmission failure, transmission success, and the like.
Step S103, if the transmission state of the data corresponding to the preset function is successful, performing silent processing on the preset function.
In this embodiment, if the transmission state of the data corresponding to the preset function is successful, it indicates that the first mobile terminal has successfully transmitted the data corresponding to the preset function to the second mobile terminal, and in order to avoid a sudden sound emission of the preset function in the first mobile terminal subsequently, the preset function in the first mobile terminal may be subjected to a silent processing, so as to prohibit the preset function in the first mobile terminal from emitting a sound, for example, after an old mobile phone moves all data to a new mobile phone, an alarm clock in the old mobile phone is prohibited from ringing.
According to the embodiment of the application, whether the relevant setting of the preset function in the first mobile terminal is successfully transmitted to the second mobile terminal or not can be detected in the moving process of the mobile terminal, and the relevant setting of the preset function is subjected to silent processing when the transmission is successful, so that the first mobile terminal cannot make a sound suddenly after finishing data transmission.
Referring to fig. 2, it is a schematic diagram of an implementation flow of a data processing method provided in the second embodiment of the present application, and as shown in the figure, the data processing method may include the following steps:
step S201, in a process of transmitting data in a first mobile terminal to a second mobile terminal, detecting data corresponding to a preset function in the first mobile terminal.
The step is the same as step S101, and reference may be made to the related description of step S101, which is not repeated herein.
Step S202, acquiring the transmission state of the data corresponding to the preset function.
The step is the same as step S102, and reference may be made to the related description of step S102, which is not repeated herein.
Step S203, if the transmission state of the data corresponding to the preset function is successful, sending a silent processing instruction to the first mobile terminal.
And step S204, after the soundless processing instruction is received, carrying out soundless processing on the preset function.
In this embodiment of the application, if the transmission state of the data corresponding to the preset function is successful, it indicates that the first mobile terminal has successfully transmitted the data corresponding to the preset function to the second mobile terminal, at this time, a generation of a mute processing instruction may be triggered, and the mute processing instruction is sent to the first mobile terminal, and after receiving the mute processing instruction, the first mobile terminal may perform mute processing on the preset function in the first mobile terminal, so that after a user no longer uses the first mobile terminal, the preset function in the first mobile terminal is prohibited from sounding, for example, after an old mobile phone moves all data to a new mobile phone, an alarm clock in the old mobile phone is prohibited from sounding. The silent processing instruction may be an instruction for controlling the first mobile terminal to perform silent processing on a preset function of the first mobile terminal.
Optionally, the performing the silent processing on the preset function includes:
and closing the preset function.
Optionally, the turning off the preset function includes:
and changing the switch attribute of the preset function from a first state to a second state.
Optionally, the performing the silent processing on the preset function includes:
and setting the volume corresponding to the preset function to be zero or setting the first mobile terminal to be mute.
In this embodiment of the present application, performing silent processing on a preset function in a first mobile terminal may be to close the preset function in the first mobile terminal, or may also be to set a volume option of the preset function in the first mobile terminal to zero or set the first mobile terminal to be silent, so as to ensure that the preset function in the first mobile terminal cannot sound. For example, the preset function is an alarm clock, when the alarm clock in the first mobile terminal is turned OFF, the code segment may change a switching attribute of the alarm clock from a first state to a second state, where the first state may refer to turning ON the alarm clock, and the second state may refer to turning OFF the alarm clock, for example, the first state is "ON" and the second state is "OFF".
In this embodiment of the present application, in order to improve the efficiency of performing silent processing on a preset function in a first mobile terminal, before transmitting data in the first mobile terminal to a second mobile terminal or in the process of transmitting data in the first mobile terminal to the second mobile terminal, it may be detected whether the preset function in the first mobile terminal is turned off, or whether a volume corresponding to the preset function in the first mobile terminal is zero, or whether the first mobile terminal is silent, and if the preset function in the first mobile terminal is turned off, or the volume corresponding to the preset function in the first mobile terminal is zero, or the first mobile terminal is silent, data corresponding to the preset function in the first mobile terminal is no longer detected, and subsequent steps S202 to S204 are not executed; if the preset function in the first mobile terminal is not closed, the volume corresponding to the preset function in the first mobile terminal is not zero and the first mobile terminal is not silent, in order to avoid that the preset function in the first mobile terminal suddenly makes a sound after data transmission is completed, data corresponding to the preset function in the first mobile terminal may be detected, and subsequent operations S202 to S204 are performed.
According to the embodiment of the application, whether the relevant setting of the preset function in the first mobile terminal is successfully transmitted to the second mobile terminal or not can be detected in the moving process of the mobile terminal, and the preset function in the first mobile terminal is closed or the volume option corresponding to the preset function is set to be zero when the transmission is successful, so that silent processing of the relevant setting of the preset function is realized, and the first mobile terminal is ensured not to suddenly make a sound after data transmission is completed.
Referring to fig. 3, which is a schematic diagram of an implementation flow of a data processing method provided in the third embodiment of the present application, as shown in the figure, the data processing method may include the following steps:
step S301, a silent processing function for the preset function in the first mobile terminal is started.
In the embodiment of the application, the user can select whether to start the silent processing function of the preset function in the first mobile terminal according to actual needs. For example, after the mobile phone is replaced, if the user still uses the alarm clock of the old mobile phone, the user can choose not to turn on or turn off the silence processing function of the alarm clock in the old mobile phone; if the user puts the old mobile phone aside and does not use the old mobile phone any more, the user can select to start the silence processing function of the alarm clock in the old mobile phone.
Step S302, in the process of transmitting the data in the first mobile terminal to the second mobile terminal, detecting data corresponding to a preset function in the first mobile terminal.
The step is the same as step S101, and reference may be made to the related description of step S101, which is not repeated herein.
Step S303, acquiring a transmission state of the data corresponding to the preset function.
The step is the same as step S102, and reference may be made to the related description of step S102, which is not repeated herein.
Step S304, if the transmission state of the data corresponding to the preset function is successful, prompting the user to perform silent processing on the preset function.
And step S305, after receiving the confirmation instruction, performing silent processing on the preset function.
In this embodiment of the application, if the transmission state of the data corresponding to the preset function in the first mobile terminal is successful, it indicates that the first mobile terminal has successfully transmitted the data corresponding to the preset function to the second mobile terminal, at this time, the user may be prompted to perform silent processing on the preset function, after seeing the prompt, the user may automatically select whether to perform silent processing on the preset function, if the user still wants to use the preset function in the first mobile terminal, the user may select not to perform silent processing on the preset function, the user inputs a negative instruction to the first mobile terminal, and after receiving the negative instruction, the first mobile terminal does not perform silent processing on the preset function; if the user does not use the preset function in the first mobile terminal any more, the preset function may be selected to be subjected to silent processing, the user inputs a confirmation instruction to the first mobile terminal, and the first mobile terminal performs silent processing on the preset function after receiving the confirmation instruction. The prompting mode can be that a prompting box is displayed, the prompting box comprises two options of 'negation' and 'confirmation', and a user can input a negation instruction or a confirmation instruction to the first mobile terminal by clicking the options.
According to the embodiment of the application, when the data corresponding to the preset function in the first mobile terminal is successfully transmitted, the prompt message is sent to the user, and after the confirmation instruction input by the user is received, the preset function of the first mobile terminal is subjected to silent processing, so that silent processing of relevant settings of the preset function according to the selection of the user can be realized, and the first mobile terminal is ensured not to suddenly make a sound after the data transmission is completed.
Fig. 4 is a schematic diagram of a data processing apparatus provided in the fourth embodiment of the present application, and for convenience of description, only the portions related to the embodiment of the present application are shown.
The data processing apparatus includes:
the data detection module 41 is configured to detect data corresponding to a preset function in a first mobile terminal in a process of transmitting data in the first mobile terminal to a second mobile terminal;
a state obtaining module 42, configured to obtain a transmission state of data corresponding to the preset function;
a silence processing module 43, configured to perform silence processing on the preset function if the transmission state of the data corresponding to the preset function is transmission success.
Optionally, the silence processing module 43 includes:
a sending unit, configured to send a silent processing instruction to the first mobile terminal if the transmission state of the data corresponding to the preset function is successful;
and the first processing unit is used for carrying out silent processing on the preset function after receiving the silent processing instruction.
In this embodiment of the application, if the transmission state of the data corresponding to the preset function is successful, the sending unit may generate a silent processing instruction, and send the silent processing instruction to the processing unit.
Optionally, the silence processing module 43 is specifically configured to:
and closing the preset function.
Optionally, the silence processing module 43 is specifically configured to:
and changing the switch attribute of the preset function from a first state to a second state.
Optionally, the silence processing module 43 is specifically configured to:
and setting the volume corresponding to the preset function to be zero or setting the first mobile terminal to be mute.
Optionally, the silence processing module 43 includes:
the prompting unit is used for prompting a user to carry out silent processing on the preset function if the transmission state of the data corresponding to the preset function is successful;
and the second processing unit is used for carrying out silent processing on the preset function after receiving the confirmation instruction.
When the features defined by the sending unit, the first processing unit, the prompting unit and the second processing unit in the silence processing module 43 are combined, the second processing unit may be deleted, and the features defined by the sending unit may be modified, that is, the sending unit is configured to send a silence processing instruction to the first mobile terminal after receiving a confirmation instruction, and the features defined by the prompting unit and the first processing unit are not changed.
Optionally, the data processing apparatus further includes:
and the function starting module 44 is used for starting the silence processing function of the preset function.
The data processing apparatus provided in the embodiment of the present application may be applied to the first, second, and third embodiments of the data processing method, and for details, refer to the description of the first, second, and third embodiments of the method, which is not described herein again.
Fig. 5 is a schematic diagram of a mobile terminal according to a fifth embodiment of the present application. The mobile terminal as shown in the figure may include: one or more processors 501 (only one shown); one or more input devices 502 (only one shown), one or more output devices 503 (only one shown), and a memory 504. The processor 501, the input device 502, the output device 503, and the memory 504 are connected by a bus 505. The memory 504 is used for storing instructions and the processor 501 is used for executing the instructions stored by the memory 504. Wherein:
the processor 501 is configured to detect data corresponding to a preset function in a first mobile terminal in a process of transmitting data in the first mobile terminal to a second mobile terminal; acquiring a transmission state of data corresponding to the preset function; and if the transmission state of the data corresponding to the preset function is successful, performing silent processing on the preset function.
Optionally, the processor 501 is specifically configured to:
if the transmission state of the data corresponding to the preset function is successful, sending a silent processing instruction to the first mobile terminal;
and after receiving the silent processing instruction, carrying out silent processing on the preset function.
Optionally, the processor 501 is specifically configured to:
and closing the preset function.
Optionally, the processor 501 is specifically configured to:
and changing the switch attribute of the preset function from a first state to a second state.
Optionally, the processor 501 is specifically configured to:
and setting the volume corresponding to the preset function to be zero or setting the first mobile terminal to be mute.
Optionally, the processor 501 is specifically configured to:
if the transmission state of the data corresponding to the preset function is successful, prompting a user to carry out silent processing on the preset function;
and after receiving a confirmation instruction, carrying out silent processing on the preset function.
Optionally, before detecting data corresponding to a preset function in the first mobile terminal, the processor 501 is further configured to:
and starting a silent processing function of the preset function.
It should be understood that, in the embodiment of the present Application, the Processor 501 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 502 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, a data receiving interface, and the like. The output device 503 may include a display (LCD, etc.), a speaker, a data transmission interface, and the like.
The memory 504 may include a read-only memory and a random access memory, and provides instructions and data to the processor 501. A portion of the memory 504 may also include non-volatile random access memory. For example, the memory 504 may also store device type information.
In a specific implementation, the processor 501, the input device 502, the output device 503, and the memory 504 described in this embodiment of the present application may execute the implementation described in the embodiment of the data processing method provided in this embodiment of the present application, or may execute the implementation described in the data processing apparatus described in the fourth embodiment of the present application, which is not described herein again.
Fig. 6 is a schematic diagram of a mobile terminal according to a sixth embodiment of the present application. As shown in fig. 6, the mobile terminal 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60. The processor 60, when executing the computer program 62, implements the steps in the various data processing method embodiments described above, such as the steps S101 to S103 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 41 to 44 shown in fig. 4.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the mobile terminal 6. For example, the computer program 62 may be divided into a data detection module, a status acquisition module, a silence processing module, and a function activation module, each module having the following specific functions:
the data detection module is used for detecting data corresponding to a preset function in a first mobile terminal in the process of transmitting data in the first mobile terminal to a second mobile terminal;
the state acquisition module is used for acquiring the transmission state of the data corresponding to the preset function;
and the silent processing module is used for carrying out silent processing on the preset function if the transmission state of the data corresponding to the preset function is successful.
Optionally, the silence processing module includes:
a sending unit, configured to send a silent processing instruction to the first mobile terminal if the transmission state of the data corresponding to the preset function is successful;
and the first processing unit is used for carrying out silent processing on the preset function after receiving the silent processing instruction.
In this embodiment of the application, if the transmission state of the data corresponding to the preset function is successful, the sending unit may generate a silent processing instruction, and send the silent processing instruction to the processing unit.
Optionally, the silence processing module is specifically configured to:
and closing the preset function.
Optionally, the silence processing module is specifically configured to:
and changing the switch attribute of the preset function from a first state to a second state.
Optionally, the silence processing module is specifically configured to:
and setting the volume corresponding to the preset function to be zero or setting the first mobile terminal to be mute.
Optionally, the silence processing module includes:
the prompting unit is used for prompting a user to carry out silent processing on the preset function if the transmission state of the data corresponding to the preset function is successful;
and the second processing unit is used for carrying out silent processing on the preset function after receiving the confirmation instruction.
When the features defined by the sending unit, the first processing unit, the prompting unit and the second processing unit in the silence processing module are combined, the second processing unit can be deleted, and the features defined by the sending unit can be modified, that is, the sending unit is used for sending a silence processing instruction to the first mobile terminal after receiving a confirmation instruction, and the features defined by the prompting unit and the first processing unit are not changed.
Optionally, the method further includes:
and the function starting module is used for starting the silent processing function of the preset function.
The mobile terminal 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The mobile terminal may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of a mobile terminal 6 and is not intended to limit the mobile terminal 6 and may include more or fewer components than those shown, or some components may be combined, or different components, e.g., the mobile terminal may also include input-output devices, network access devices, buses, etc.
The processor 60 may be a central processing unit CPU, but may also be other general purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the mobile terminal 6, such as a hard disk or a memory of the mobile terminal 6. The memory 61 may also be an external storage device of the mobile terminal 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the mobile terminal 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the mobile terminal 6. The memory 61 is used for storing the computer program and other programs and data required by the mobile terminal. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/mobile terminal and method may be implemented in other ways. For example, the above-described apparatus/mobile terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A data processing method, characterized in that the data processing method comprises:
in the process of transmitting data in a first mobile terminal to a second mobile terminal, detecting data corresponding to a preset function in the first mobile terminal, wherein the preset function is a function of making the first mobile terminal sound, and the data corresponding to the preset function is related setting parameters of the preset function;
acquiring a transmission state of data corresponding to the preset function;
and if the transmission state of the data corresponding to the preset function is successful, performing silent processing on the preset function.
2. The data processing method of claim 1, wherein the performing the silent processing on the preset function if the transmission status of the data corresponding to the preset function is successful comprises:
if the transmission state of the data corresponding to the preset function is successful, sending a silent processing instruction to the first mobile terminal;
and after receiving the silent processing instruction, carrying out silent processing on the preset function.
3. The data processing method of claim 1, wherein said silently processing said preset function comprises:
and closing the preset function.
4. The data processing method of claim 3, wherein said turning off the preset function comprises:
and changing the switch attribute of the preset function from a first state to a second state.
5. The data processing method of claim 1, wherein said silently processing said preset function comprises:
and setting the volume corresponding to the preset function to be zero or setting the first mobile terminal to be mute.
6. The data processing method of claim 1, wherein the performing the silent processing on the preset function if the transmission status of the data corresponding to the preset function is successful comprises:
if the transmission state of the data corresponding to the preset function is successful, prompting a user to carry out silent processing on the preset function;
and after receiving a confirmation instruction, carrying out silent processing on the preset function.
7. The data processing method according to any of claims 1 to 6, further comprising, before detecting data corresponding to a preset function in the first mobile terminal:
and starting a silent processing function of the preset function.
8. A data processing apparatus, characterized in that the data processing apparatus comprises:
the data detection module is used for detecting data corresponding to a preset function in a first mobile terminal in the process of transmitting data in the first mobile terminal to a second mobile terminal, wherein the preset function is a function of enabling the first mobile terminal to make a sound, and the data corresponding to the preset function is related setting parameters of the preset function;
the state acquisition module is used for acquiring the transmission state of the data corresponding to the preset function;
and the silent processing module is used for carrying out silent processing on the preset function if the transmission state of the data corresponding to the preset function is successful.
9. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the data processing method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the data processing method according to any one of claims 1 to 7.
CN201810283368.1A 2018-04-02 2018-04-02 Data processing method, data processing device and mobile terminal Active CN108513012B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810283368.1A CN108513012B (en) 2018-04-02 2018-04-02 Data processing method, data processing device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810283368.1A CN108513012B (en) 2018-04-02 2018-04-02 Data processing method, data processing device and mobile terminal

Publications (2)

Publication Number Publication Date
CN108513012A CN108513012A (en) 2018-09-07
CN108513012B true CN108513012B (en) 2020-05-01

Family

ID=63379786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810283368.1A Active CN108513012B (en) 2018-04-02 2018-04-02 Data processing method, data processing device and mobile terminal

Country Status (1)

Country Link
CN (1) CN108513012B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104267811A (en) * 2014-09-22 2015-01-07 联想(北京)有限公司 Terminal device and method for controlling terminal device
CN106201597A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of method and terminal carrying out application management based on Data Migration
CN106454805A (en) * 2016-09-14 2017-02-22 广东欧珀移动通信有限公司 Data migration method and mobile terminal
CN106714143A (en) * 2015-07-21 2017-05-24 华为终端(东莞)有限公司 Terminal and synchronization method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015170242A (en) * 2014-03-10 2015-09-28 富士通株式会社 Relay program, relay method and relay device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104267811A (en) * 2014-09-22 2015-01-07 联想(北京)有限公司 Terminal device and method for controlling terminal device
CN106714143A (en) * 2015-07-21 2017-05-24 华为终端(东莞)有限公司 Terminal and synchronization method thereof
CN106201597A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of method and terminal carrying out application management based on Data Migration
CN106454805A (en) * 2016-09-14 2017-02-22 广东欧珀移动通信有限公司 Data migration method and mobile terminal

Also Published As

Publication number Publication date
CN108513012A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN108900770B (en) Method and device for controlling rotation of camera, smart watch and mobile terminal
CN108733342B (en) Volume adjusting method, mobile terminal and computer readable storage medium
WO2022001900A1 (en) Information sending method and apparatus, and electronic device
US9037455B1 (en) Limiting notification interruptions
CN108566634B (en) Method and device for reducing continuous awakening delay of Bluetooth sound box and Bluetooth sound box
RU2689203C2 (en) Flexible circuit for adjusting language model
CN107193598B (en) Application starting method, mobile terminal and computer readable storage medium
US9203252B2 (en) Redirecting notifications to a wearable computing device
WO2018043998A1 (en) Electronic device and control method therefor
US20140189597A1 (en) Method and electronic device for presenting icons
CN109495871B (en) Bluetooth connection control method, electronic device and computer readable storage medium
US9766852B2 (en) Non-audio notification of audible events
CN109471626B (en) Page logic structure, page generation method, page data processing method and device
CN109032727B (en) Application program starting method, application program starting device and terminal equipment
CN110175015B (en) Method and device for controlling volume of terminal equipment and terminal equipment
WO2018169572A1 (en) Outputting reengagement alerts by a computing device
CN110086941B (en) Voice playing method and device and terminal equipment
CN112394901A (en) Audio output mode adjusting method and device and electronic equipment
CN104737128A (en) Re-use of binaries for multiple user accounts
CN111079438A (en) Identity authentication method and device, electronic equipment and storage medium
WO2019179068A1 (en) Risk detection method and device, and mobile terminal and storage medium
CN110780913B (en) Cross-machine type differential upgrading method and system, storage medium and electronic equipment
CN104571856A (en) Terminal
CN108536512B (en) Interface switching method and device and terminal equipment
CN108513012B (en) Data processing method, data processing device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

GR01 Patent grant
GR01 Patent grant