CN109525716B - Information processing method and device, equipment and storage medium - Google Patents

Information processing method and device, equipment and storage medium Download PDF

Info

Publication number
CN109525716B
CN109525716B CN201811281029.6A CN201811281029A CN109525716B CN 109525716 B CN109525716 B CN 109525716B CN 201811281029 A CN201811281029 A CN 201811281029A CN 109525716 B CN109525716 B CN 109525716B
Authority
CN
China
Prior art keywords
application
terminal
signal
attribute information
key
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
CN201811281029.6A
Other languages
Chinese (zh)
Other versions
CN109525716A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811281029.6A priority Critical patent/CN109525716B/en
Publication of CN109525716A publication Critical patent/CN109525716A/en
Application granted granted Critical
Publication of CN109525716B publication Critical patent/CN109525716B/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
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • 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
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • 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/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
    • 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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Abstract

The embodiment of the application discloses an information processing method, which comprises the following steps: a first terminal receives a first signal sent by a second terminal, wherein the first signal is a signal for controlling the running state of a first application installed on the first terminal, and the first application is an application correspondingly connected with the second terminal; acquiring attribute information of foreground application on the first terminal, wherein the foreground application is different from the first application; when the key value of the attribute information is a preset value, generating a first operation instruction according to the first signal, wherein the first operation instruction is an instruction for controlling the running state of the foreground application; and executing the first operation instruction. The embodiment of the application also provides an information processing device, equipment and a storage medium.

Description

Information processing method and device, equipment and storage medium
Technical Field
The embodiment of the application relates to electronic technology, and relates to but is not limited to an information processing method, an information processing device, information processing equipment and a storage medium.
Background
In recent years, with the rapid development of electronic technology, various intelligent terminal devices, such as mobile phones and tablet computers, have become essential parts of people's lives. The intelligent terminal equipment is provided with a camera photographing function generally, wherein whether an operation mode is convenient, quick and diversified when the camera is used for photographing directly influences performance evaluation of the photographing function of the intelligent terminal camera by a user. However, in the prior art, although the remote photographing can be realized by a selfie stick (for example, a bluetooth selfie stick), the photographing distance is still limited by the length of the selfie stick, the hardware investment cost of the user is increased, and meanwhile, the carrying inconvenience of the user is also caused, and the shaking easily occurs during photographing, so that the photograph cannot reach the expected effect.
Therefore, a photographing mode is urgently needed, which can realize convenient and diversified photographing and reduce the economic cost of the user so as to improve the photographing experience of the user.
Disclosure of Invention
In view of this, embodiments of the present application provide an information processing method and apparatus, a device, and a storage medium to solve at least one problem in the prior art, so as to provide more convenient and practical functions to other devices connected to a terminal, and improve user experience.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides an information processing method, where the method includes:
a first terminal receives a first signal sent by a second terminal, wherein the first signal is a signal for controlling the running state of a first application installed on the first terminal, and the first application is an application correspondingly connected with the second terminal;
acquiring attribute information of foreground application on the first terminal, wherein the foreground application is different from the first application;
when the key value of the attribute information is a preset value, generating a first operation instruction according to the first signal, wherein the first operation instruction is an instruction for controlling the running state of the foreground application;
and executing the first operation instruction.
In an embodiment of the present application, the method further includes:
when the key value of the attribute information is a non-preset value, the first terminal generates a second operation instruction according to the first signal, wherein the second operation instruction is an instruction for controlling the running state of the first application;
and the first terminal executes the second operation instruction.
In an embodiment of the present application, the method further includes:
setting the key value of the attribute information of the foreground application as a preset value;
or adding attribute information for the foreground application, and setting a key value of the attribute information as a preset value;
the key value of the attribute information is a preset value, and the preset value is used for indicating that the first terminal operates foreground application after receiving the first signal; and the key value of the attribute information is a non-preset value, and the non-preset value is used for indicating that the first terminal operates the first application after receiving the first signal.
In an embodiment of the present application, the method further includes:
and when the foreground application runs in the background, setting the key value of the attribute information of the foreground application as a non-preset value.
In this embodiment of the application, the foreground application is a camera, and correspondingly, the attribute information of the foreground application on the first terminal is obtained, including: when the camera is in a preview state, the first terminal acquires attribute information of the camera on the first terminal;
the first signal is a signal sent by a wireless headset, and correspondingly, the method further includes: and determining whether to turn on a switch of the photographing function of the wireless headset.
In an embodiment of the present application, the method further includes:
receiving a second signal sent by the wireless earphone, wherein the second signal is a signal for controlling a photographing mode of a camera;
determining a photographing mode according to the second signal and a preset rule;
and taking a picture according to the picture taking mode.
In an embodiment of the application, determining a photographing mode according to the second signal and a preset rule includes:
determining a key operation mode on the wireless earphone according to the second signal, wherein the key operation mode corresponds to different photographing modes of the camera;
determining a corresponding photographing mode of the camera according to the key operation mode and a preset rule;
wherein, the key operation mode comprises: different key type operations, different key times operations, and different key durations operations.
In a second aspect, an embodiment of the present application provides an information processing apparatus, including: receiving unit, acquisition unit, generating unit and execution unit, wherein:
the receiving unit is used for a first terminal to receive a first signal sent by a second terminal, wherein the first signal is a signal for controlling the running state of a first application installed on the first terminal, and the first application is an application correspondingly connected with the second terminal;
the acquiring unit is configured to acquire attribute information of a foreground application on the first terminal, where the foreground application is a different application from the first application;
the generating unit is used for generating a first operating instruction according to the first signal when the key value of the attribute information is a preset value, wherein the first operating instruction is an instruction for controlling the running state of the foreground application;
the execution unit is used for executing the first operation instruction.
In an embodiment of the present application, the apparatus further includes: a second generation unit and a second execution unit, wherein:
the second generating unit is configured to generate a second operation instruction according to the first signal when the key value of the attribute information is a non-preset value, where the second operation instruction is an instruction for controlling the running state of the first application;
the second execution unit is used for executing the second operation instruction.
In an embodiment of the present application, the apparatus further includes: a first setting unit and a second setting unit, wherein:
the first setting unit is used for setting the key value of the attribute information of the foreground application as a preset value;
the second setting unit is used for adding attribute information to the foreground application and setting a key value of the attribute information as a preset value;
the key value of the attribute information is a preset value, and the preset value is used for indicating that the first terminal operates foreground application after receiving the first signal; and the key value of the attribute information is a non-preset value, and the non-preset value is used for indicating that the first terminal operates the first application after receiving the first signal.
In an embodiment of the present application, the apparatus further includes: a third setting unit, wherein:
and the third setting unit is used for setting the key value of the attribute information of the foreground application as a non-preset value when the foreground application runs in a background mode.
In an embodiment of the present application, the foreground application is a camera, and correspondingly, the obtaining unit includes an obtaining module, where:
the acquisition module is used for acquiring the attribute information of the camera on the first terminal when the camera is in a preview state;
the first signal is a signal sent by a wireless headset, and correspondingly, the device further comprises: a determination unit, wherein:
the determining unit is used for determining whether to turn on a switch of the photographing function of the wireless earphone.
In an embodiment of the present application, the apparatus further includes: receiving unit, judgement unit and processing unit, wherein:
the receiving unit is used for receiving a second signal sent by the wireless earphone, wherein the second signal is a signal for controlling the photographing mode of the camera;
the judging unit is used for determining a photographing mode according to the second signal and a preset rule;
and the processing unit is used for photographing according to the photographing mode.
In an embodiment of the present application, the determining unit includes a first determining module and a second determining module, where:
the first determining module is used for determining a key operation mode on the wireless headset according to the second signal, wherein the key operation mode corresponds to different photographing modes of the camera;
the second determining module is used for determining a corresponding photographing mode of the camera according to the key operation mode and a preset rule;
wherein, the key operation mode comprises: different key type operations, different key times operations, and different key durations operations.
In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the steps in the information processing method as described above when executing the program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the information processing method as described above.
The embodiment of the application provides an information processing method, an information processing device, information processing equipment and a storage medium, wherein a first terminal receives a first signal sent by a second terminal, the first signal is a signal for controlling the running state of a first application installed on the first terminal, and the first application is an application correspondingly connected with the second terminal; acquiring attribute information of foreground application on the first terminal, wherein the foreground application is different from the first application; when the key value of the attribute information is a preset value, generating a first operation instruction according to the first signal, wherein the first operation instruction is an instruction for controlling the running state of the foreground application; and executing the first operation instruction, so that more convenient and practical functions can be given to other equipment connected with the terminal, and the user experience is improved.
Drawings
Fig. 1 is a first schematic flow chart illustrating an implementation of an information processing method according to an embodiment of the present application;
FIG. 2A is a schematic diagram of a second implementation flow of the information processing method according to the embodiment of the present application;
fig. 2B is a schematic diagram of a network architecture according to an embodiment of the present application;
FIG. 2C is a schematic diagram of a mobile phone interface according to an embodiment of the present disclosure;
FIG. 3 is a third schematic flow chart illustrating an implementation of the information processing method according to the embodiment of the present application;
FIG. 4 is a schematic diagram of a component structure of an information processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware entity of an information processing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the following will describe the specific technical solutions of the present application in further detail with reference to the accompanying drawings in the embodiments of the present application. The following examples are intended to illustrate the present application only and are not intended to limit the scope of the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
Generally, a terminal may be various types of devices having information processing capability in the implementation process, for example, the terminal may include a mobile phone, a tablet computer, a smart watch, a smart bracelet, a bluetooth headset, a desktop computer, a Personal Digital Assistant (PDA), a navigator, a Digital phone, a video phone, a television, a sensing device, and the like.
The embodiment of the application provides an information processing method, which is applied to a computing device, the functions realized by the method can be realized by calling a program code through a processor in a server, of course, the program code can be stored in a computer storage medium, and the server at least comprises the processor and the storage medium. Fig. 1 is a first schematic flow chart of an implementation of an information processing method according to an embodiment of the present application, and as shown in fig. 1, the method includes:
step S101, a first terminal receives a first signal sent by a second terminal, wherein the first signal is a signal for controlling the running state of a first application installed on the first terminal, and the first application is an application correspondingly connected with the second terminal;
in the embodiment of the application, the first terminal can be a mobile phone, a tablet computer and other devices of a user, and the second terminal can be a wireless earphone (including a bluetooth earphone), an intelligent bracelet and other devices of the user. Generally, the relationship between the first terminal and the second terminal is that the first terminal and the second terminal are connected in a wired or wireless manner, and the second terminal can control the running state of the first terminal or the application on the first terminal. For example, the first terminal may be a mobile phone, the second terminal may be a bluetooth headset, and when the bluetooth headset is connected to the mobile phone, functions of making and receiving calls, listening to music, and the like may be implemented.
For example, when the first terminal is a mobile phone and the second terminal is a bluetooth headset, and the user is listening to music played on a music APP (Application, mobile software) by using the bluetooth headset, the user presses a pause button on the bluetooth headset, then the bluetooth headset will send a pause signal to the mobile phone through bluetooth, where the pause signal is a first signal, the music APP is a first Application, and the pause signal can control the running state of the music APP installed on the mobile phone.
Step S102, acquiring attribute information of foreground application on the first terminal, wherein the foreground application and the first application are different applications;
in this embodiment, the foreground application may be all other applications that are different from the first application and are placed on the foreground on the first terminal. The attribute information is used for identifying whether the foreground application is an application currently used by a user or an application to be used immediately.
For example, when the first terminal is a mobile phone, the second terminal is a bluetooth headset, and the first application is a music APP, the foreground application may be all other applications placed on the foreground, such as a recorder APP. Correspondingly, the attribute information of the foreground application may be remote use state attribute information of the audio recorder APP, and a key value of the remote use state attribute information may be set to "yes" or "no", or may be set to "0" or "1", or may be set to two or more values. When the key value of the attribute information of the remote use state is 'yes', the fact that the user is listening to the song and simultaneously using the sound recorder is indicated, and the second terminal Bluetooth headset connected with the first terminal mobile phone can control the application which is not connected with the second terminal Bluetooth headset, namely the running state of the sound recorder. When the key value of the remote use state attribute information is 'no', the remote control attribute of the sound recorder is closed, namely, the sound recorder can only control the running state of the sound recorder through the operation of a user on a mobile phone screen or a mobile phone key. At this moment, bluetooth headset also can only control the application of having carried out the connection with it, operates bluetooth headset promptly, also can only control operations such as the play of music APP, pause, cut song.
In other embodiments of the present application, the foreground application is a camera, and correspondingly, the step S102 of obtaining attribute information of the foreground application on the first terminal includes:
step S1021, when the camera is in a preview state, the first terminal acquires attribute information of the camera on the first terminal;
here, when the camera is in the preview state, it indicates that the user has turned on the camera APP, and the camera APP is set to the photographing waiting state. At this time, the key value of the attribute information of the camera APP becomes a preset value.
In other embodiments of the present application, the first signal is a signal sent by a wireless headset, and correspondingly, the method further includes: and determining whether to turn on a switch of the photographing function of the wireless headset.
Here, in the setting function of the first terminal, when the switch of the wireless headset photographing function is turned on, the first terminal starts to process the received first signal sent by the wireless headset by using the information processing method.
Step S103, when the key value of the attribute information is a preset value, generating a first operation instruction according to the first signal, wherein the first operation instruction is an instruction for controlling the running state of the foreground application;
for example, the first terminal is a mobile phone, the second terminal is a bluetooth headset, the first application is a music APP, the foreground application is a recorder, and the bluetooth headset is connected with the music APP through bluetooth. The user is listening to the song through music APP, and at the in-process of listening to the song, has opened recorder APP (at this moment, the key value of recorder APP's attribute information just becomes the default), and at this moment, the user has pressed the pause button on the bluetooth headset, then the cell-phone begins to judge whether the key value of recorder APP's attribute information is the default, and when being the default, the cell-phone generates the instruction that begins the recording according to the pause signal that bluetooth headset sent, controls recording APP recording.
And step S104, executing the first operation instruction.
In the embodiment of the application, a first signal sent by a second terminal is received through a first terminal, wherein the first signal is a signal for controlling the running state of a first application installed on the first terminal, and the first application is an application correspondingly connected with the second terminal; acquiring attribute information of foreground application on the first terminal, wherein the foreground application is different from the first application; when the key value of the attribute information is a preset value, generating a first operation instruction according to the first signal, wherein the first operation instruction is an instruction for controlling the running state of the foreground application; and executing the first operation instruction, so that more convenient and practical functions can be given to other equipment connected with the terminal, and the user experience is improved.
Based on the foregoing embodiments, an information processing method is further provided in the embodiments of the present application, and fig. 2A is a schematic flow chart illustrating an implementation of the information processing method in the embodiments of the present application, as shown in fig. 2A, the method includes:
step S201, a first terminal receives a first signal sent by a second terminal, wherein the first signal is a signal for controlling the running state of a first application installed on the first terminal, and the first application is an application correspondingly connected with the second terminal;
step S202, acquiring attribute information of foreground application on the first terminal, wherein the foreground application and the first application are different applications;
step S203, when the key value of the attribute information is a preset value, generating a first operation instruction according to the first signal, wherein the first operation instruction is an instruction for controlling the running state of the foreground application;
for example, the first terminal is a mobile phone, the second terminal is a bluetooth headset, the first application is a music APP, the foreground application is a recorder, and the bluetooth headset is connected with the music APP through bluetooth. The user is listening to the song through music APP, and at the in-process of listening to the song, has opened recorder APP (at this moment, the key value of recorder APP's attribute information just becomes the default), and at this moment, the user has pressed the pause button on the bluetooth headset, then the cell-phone begins to judge whether the key value of recorder APP's attribute information is the default, and when being the default, the cell-phone generates the instruction that begins the recording according to the pause signal that bluetooth headset sent, controls recording APP recording.
Step S204, executing the first operation instruction;
step S205, when the key value of the attribute information is a non-preset value, the first terminal generates a second operation instruction according to the first signal, wherein the second operation instruction is an instruction for controlling the running state of the first application;
for example, the first terminal is a mobile phone, the second terminal is a bluetooth headset, the first application is a music APP, the foreground application is a recorder, and the bluetooth headset is connected with the music APP through bluetooth. The user is listening to the song through music APP, and at the in-process of listening to the song, the recorder APP that will open has closed again or has switched to the backstage (at this moment, the key value of the attribute information of recorder APP just becomes non-default), and at this moment, the user has pressed the pause button on the bluetooth headset, then the cell-phone begins to judge whether the key value of the attribute information of recorder APP is the default, and when being non-default, the cell-phone has carried out the pause to the music that the user is listening according to the pause signal that the bluetooth headset sent.
And step S206, the first terminal executes the second operation instruction.
In other embodiments of the present application, the method further comprises:
step S21a, setting the key value of the attribute information of the foreground application as a preset value;
step S22a, adding attribute information for the foreground application, and setting the key value of the attribute information as a preset value;
the key value of the attribute information is a preset value, and the preset value is used for indicating that the first terminal operates foreground application after receiving the first signal; and the key value of the attribute information is a non-preset value, and the non-preset value is used for indicating that the first terminal operates the first application after receiving the first signal.
Here, when the foreground application itself contains attribute information, only the key value of the attribute information of the foreground application may be set to a preset value; when the foreground application does not contain the attribute information, the attribute information may be added to the foreground application first, and then the key value of the attribute information is set to a preset value. For example, applications carried by the mobile phone itself, such as a camera, a recorder, a voice assistant, etc., may set the attribute information into the application during production, so that when the application runs in foreground, only the key value of the attribute information may be set as a preset value. Applications such as WeChat, Paibao, tremble and the like which are downloaded by a user after the mobile phone leaves a factory can be added with attribute information when the applications are operated in the foreground, and then key values of the added attribute information are set as preset values.
In other embodiments of the present application, the method further comprises:
step S21b, when the foreground application runs in the background, setting the key value of the attribute information of the foreground application to be a non-preset value.
In the embodiment of the application, a first signal sent by a second terminal is received through a first terminal, wherein the first signal is a signal for controlling the running state of a first application installed on the first terminal, and the first application is an application correspondingly connected with the second terminal; acquiring attribute information of foreground application on the first terminal, wherein the foreground application is different from the first application; when the key value of the attribute information is a preset value, generating a first operation instruction according to the first signal, wherein the first operation instruction is an instruction for controlling the running state of the foreground application; executing the first operation instruction; when the key value of the attribute information is a non-preset value, the first terminal generates a second operation instruction according to the first signal, wherein the second operation instruction is an instruction for controlling the running state of the first application; and the first terminal executes the second operation instruction, so that more convenient and practical functions can be given to other equipment connected with the terminal, and the user experience is improved.
An embodiment of the present application provides a schematic diagram of a network architecture, and fig. 2B is a schematic diagram of a network architecture in an embodiment of the present application, as shown in fig. 2B, the network architecture includes a mobile phone 21 and a wireless headset 22, wherein a camera APP and a music APP are installed in the mobile phone 21. Cell-phone 21 and wireless headset 22 can carry out communication connection through wireless technologies such as bluetooth, and the user can use the wireless headset 22 after connecting to listen to the song on music APP to when listening to the song, can adjust the running state of music APP and the sound size of broadcast through multi-functional button, the volume adjustment key on the control wireless headset 22.
Based on the foregoing embodiment, with reference to the network architecture diagram shown in fig. 2B, an embodiment of the present application further provides an information processing method, where the method includes:
step S211, a mobile phone receives a first signal sent by a wireless earphone, wherein the first signal is a signal for controlling the running state of a music APP installed on the mobile phone, and the music APP is correspondingly connected with the wireless earphone;
step S212, obtaining attribute information of a camera APP on the mobile phone, wherein the camera APP is in a foreground operation waiting photographing state;
step S213, when the key value of the attribute information is a preset value, generating a first operation instruction according to the first signal, wherein the first operation instruction is an instruction for controlling the running state of the camera APP;
step S214, executing the first operation instruction;
for example, fig. 2C is a schematic diagram of a mobile phone interface in the embodiment of the present application, as shown in fig. 2C, when a user listens to a song through a wireless headset (which may be a bluetooth headset), the camera APP 23 is turned on, and the state of the camera APP 23 is set to a waiting-to-photograph state, that is, the camera APP 23 is a preview state, and a portrait 24 of the user can be previewed in the camera APP 23. At this time, the user presses a pause button on the wireless headset, the mobile phone does not pause the music being listened to by the user, but controls the operating system to send a photographing instruction to a Central Processing Unit (CPU), and controls the camera APP 23 to photograph.
Certainly, in the process that the user is listening to the song by using the wireless headset, if the camera APP is in the off state, or the camera APP is in the background running state, the key value of the attribute information of the current camera APP is a non-preset value, at this moment, the mobile phone generates a second operation instruction according to the first signal, and the second operation instruction is an original instruction for controlling the running state of the music APP.
Step S215, receiving a second signal sent by the wireless earphone, wherein the second signal is a signal for controlling a photographing mode of a camera APP;
step S216, determining a photographing mode of the camera according to the second signal and a preset rule;
step S217, photographing according to the photographing mode;
in other embodiments of the present application, the step S216 of determining a photographing mode of the camera according to the second signal and a preset rule includes:
step S2161, determining a key operation mode on the wireless earphone according to the second signal, wherein the key operation mode corresponds to different photographing modes of the camera;
here, the key operation mode refers to different operations performed on different keys on the wireless headset by the user. For example, a common bluetooth headset includes three basic keys: one is a multi-function key, e.g., a key to implement music pause/start, connect/hang-up functions; the other two keys are volume increasing and decreasing keys, and the keys for realizing the functions of increasing and decreasing the volume are provided. On the three keys, the user can perform different operations on different keys respectively, for example, pressing the keys for different times, only pressing the keys, or continuously pressing the keys for two times, or pressing the keys for two times at intervals; the operation of the key press duration, and the like.
Step S2162, determining a corresponding photographing mode of the camera according to the key operation mode and a preset rule;
wherein, the key operation mode comprises: different key type operations, different key times operations, and different key durations operations.
For example, when the first signal is a signal sent by a user pressing a multifunctional key of a bluetooth headset once, and the mobile phone receives a common photographing instruction, the mobile phone photographs according to default settings of the camera. Or, when the first signal is a signal sent by the user pressing the multifunctional key of the bluetooth headset once, the mobile phone receives the photographing waiting instruction, and if the user does not perform other operations on the bluetooth headset or the mobile phone after 2 seconds, the mobile phone photographs according to the default setting of the camera. If in 2 seconds, the user has carried out a key operation again to bluetooth headset's multi-functional button, and has carried out a press operation to the volume increase button, and has carried out a press operation to the volume decrease button, then the cell-phone selects leading camera, adopts the portrait mode, under the state of adding the filter, takes a picture the operation. That is, at this time (i.e., within 2 seconds after the first signal is sent), different operations on the multifunction key may correspond to the selection mode of the camera; the different operations of the volume increasing key can correspond to the selection mode of the image pickup mode; different operations on the volume down key may correspond to the selection of photo processing. For example, when the multifunctional key is pressed down, the front camera can be used for taking a picture, and when the multifunctional key is pressed down twice, the rear camera can be used for taking a picture; when the volume increasing key is pressed for a short time, the photo can be taken in a portrait mode, when the volume increasing key is continuously pressed for two times in a short time, the photo can be taken in a landscape mode, when the volume increasing key is pressed for a long time, the photo can be taken in a panoramic mode, and when the volume increasing key is pressed for two times, the photo can be taken in a semi-landscape mode; the volume-down button can be pressed for a short time to perform a filter process on the picture, and the volume-down button can be pressed for two times in succession for a short time to perform a black-and-white process on the picture, and so on.
It should be noted that, the types of the key operation manners, the types of the photographing manners, and the corresponding relationships between the different key operation manners and the different photographing manners may be selected by those skilled in the art according to the requirements in practical applications, and are not limited to the contents described in this application, and are not described herein again.
Based on the foregoing embodiments, an information processing method is further provided in an embodiment of the present application, and fig. 3 is a schematic flow chart illustrating implementation of the information processing method in the embodiment of the present application, where as shown in fig. 3, the method includes:
step S301, when the camera APP enters a preview state, the current state of the camera is indicated in a mode of setting an attribute;
step S302, when receiving the play pause key sent by the earphone, the Bluetooth protocol stack determines whether to convert the play pause key into a photographing key by inquiring the attribute value set by the camera.
In this embodiment of the application, the mode of setting an attribute may be a mode of adding an AVRCP (Audio Video Remote Control Profile, Audio/Video Remote Control configuration file) to the camera APP.
In other embodiments of the present application, the method further comprises:
step S31, when the current state of the camera is the preview state, the playing pause key is converted into the photographing key;
and step S32, when the current state of the camera is in background operation or the current state of the camera is in an off state, the conversion is not carried out.
According to the embodiment of the application, the play pause/key on the Bluetooth headset is utilized, the key for controlling music pause and play sent by the headset is converted into the photographing key according to the current camera using state, and if the current camera is in a preview state, the play pause key of the headset is converted into the photographing key.
According to the embodiment of the application, the functions of the common Bluetooth headset are enriched, so that when the hardware cost is not increased, a user can take pictures through the common Bluetooth headset.
According to the embodiment of the application, a switch for turning on the Bluetooth photographing function can be added in the detail setting of the mobile phone Bluetooth to determine whether to turn on the function. And if the Bluetooth photographing function is started and the camera is in a preview state, switching the key.
In the embodiment of the application, when the camera APP enters the preview state, the current state of the camera is indicated by setting an attribute; the bluetooth protocol stack receives the earphone and sends the broadcast pause button when, through the attribute value that the inquiry camera set up, whether confirm will broadcast pause button and convert the button into the button of shooing, so, can solve the user and carry the problem that the shake appears easily from rapping bar inconveniently and manually of shooing, the user need not purchase a bluetooth from rapping bar again, only with existing earphone just can realize from rapping bar function, economical and practical, convenient to carry. And more convenient and practical functions of the mobile phone Bluetooth are given, and the user experience is improved.
An information processing apparatus according to an embodiment of the present application is provided, and fig. 4 is a schematic diagram of a composition structure of the information processing apparatus according to the embodiment of the present application, and as shown in fig. 4, the apparatus 400 includes: a receiving unit 401, an obtaining unit 402, a generating unit 403 and an executing unit 404, wherein:
the receiving unit 401 is configured to receive, by a first terminal, a first signal sent by a second terminal, where the first signal is a signal for controlling an operation state of a first application installed on the first terminal, and the first application is an application correspondingly connected to the second terminal;
the obtaining unit 402 is configured to obtain attribute information of a foreground application on the first terminal, where the foreground application is a different application from the first application;
the generating unit 403 is configured to generate a first operation instruction according to the first signal when the key value of the attribute information is a preset value, where the first operation instruction is an instruction for controlling an operation state of the foreground application;
the execution unit 404 is configured to execute the first operation instruction.
In other embodiments of the present application, the apparatus further comprises: a second generation unit and a second execution unit, wherein:
the second generating unit is configured to generate a second operation instruction according to the first signal when the key value of the attribute information is a non-preset value, where the second operation instruction is an instruction for controlling the running state of the first application;
the second execution unit is used for executing the second operation instruction.
In other embodiments of the present application, the apparatus further comprises: a first setting unit and a second setting unit, wherein:
the first setting unit is used for setting the key value of the attribute information of the foreground application as a preset value;
the second setting unit is used for adding attribute information to the foreground application and setting a key value of the attribute information as a preset value;
the key value of the attribute information is a preset value, and the preset value is used for indicating that the first terminal operates foreground application after receiving the first signal; and the key value of the attribute information is a non-preset value, and the non-preset value is used for indicating that the first terminal operates the first application after receiving the first signal.
In other embodiments of the present application, the apparatus further comprises: a third setting unit, wherein:
and the third setting unit is used for setting the key value of the attribute information of the foreground application as a non-preset value when the foreground application runs in a background mode.
In other embodiments of the present application, the foreground application is a camera, and correspondingly, the obtaining unit 402 includes an obtaining module, where:
the acquisition module is used for acquiring the attribute information of the camera on the first terminal when the camera is in a preview state;
the first signal is a signal sent by a wireless headset, and correspondingly, the device further comprises: a determination unit, wherein:
the determining unit is used for determining whether to turn on a switch of the photographing function of the wireless earphone.
In other embodiments of the present application, the apparatus further comprises: receiving unit, judgement unit and processing unit, wherein:
the receiving unit is used for receiving a second signal sent by the wireless earphone, wherein the second signal is a signal for controlling the photographing mode of the camera;
the judging unit is used for determining a photographing mode according to the second signal and a preset rule;
and the processing unit is used for photographing according to the photographing mode.
In other embodiments of the present application, the determining unit includes a first determining module and a second determining module, where:
the first determining module is used for determining a key operation mode on the wireless headset according to the second signal, wherein the key operation mode corresponds to different photographing modes of the camera;
the second determining module is used for determining a corresponding photographing mode of the camera according to the key operation mode and a preset rule;
wherein, the key operation mode comprises: different key type operations, different key times operations, and different key durations operations.
Here, it should be noted that: the above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
In the embodiment of the present application, if the information processing method is implemented in the form of a software functional module and sold or used as a standalone product, the information processing method may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, which includes several instructions for causing a computing device to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a ROM (Read Only Memory), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, the embodiment of the application provides a computer device, which comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor realizes the steps in the information processing method when executing the program.
Correspondingly, the embodiment of the application provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the information processing method.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that fig. 5 is a schematic diagram of a hardware entity of an information processing apparatus according to an embodiment of the present application, and as shown in fig. 5, the hardware entity of the information processing apparatus 500 includes: a memory 501, a communication bus 502, and a processor 503, wherein,
the Memory 501 is configured to store instructions and applications executable by the processor 503, and may also cache data to be processed or already processed by the processor 503 and each module in the information processing apparatus 500, and may be implemented by a FLASH Memory (FLASH Memory) or a Random Access Memory (RAM).
The communication bus 502 enables the information processing apparatus 500 to communicate with other terminals or servers through a network, and also enables connection communication between the processor 503 and the memory 501.
The processor 503 generally controls the overall operation of the information processing apparatus 500.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (9)

1. An information processing method, characterized in that the method comprises:
a first terminal receives a first signal sent by a second terminal, wherein the first signal is a signal for controlling the running state of a first application installed on the first terminal, and the first application is an application correspondingly connected with the second terminal;
acquiring attribute information of foreground application on the first terminal, wherein the foreground application is different from the first application;
when the key value of the attribute information is a preset value, generating a first operation instruction according to the first signal, wherein the first operation instruction is an instruction for controlling the running state of the foreground application;
executing the first operation instruction;
wherein the method further comprises:
when the key value of the attribute information is a non-preset value, the first terminal generates a second operation instruction according to the first signal, wherein the second operation instruction is an instruction for controlling the running state of the first application;
and the first terminal executes the second operation instruction.
2. The method of claim 1, further comprising:
setting the key value of the attribute information of the foreground application as a preset value;
or adding attribute information for the foreground application, and setting a key value of the attribute information as a preset value;
the key value of the attribute information is a preset value, and the preset value is used for indicating that the first terminal operates foreground application after receiving the first signal; and the key value of the attribute information is a non-preset value, and the non-preset value is used for indicating that the first terminal operates the first application after receiving the first signal.
3. The method of claim 2, further comprising:
and when the foreground application runs in the background, setting the key value of the attribute information of the foreground application as a non-preset value.
4. The method according to any one of claims 1 to 3, wherein the foreground application is a camera, and correspondingly, acquiring the attribute information of the foreground application on the first terminal comprises: when the camera is in a preview state, the first terminal acquires attribute information of the camera on the first terminal;
the first signal is a signal sent by a wireless headset, and correspondingly, the method further includes: and determining whether to turn on a switch of the photographing function of the wireless headset.
5. The method of claim 4, further comprising:
receiving a second signal sent by the wireless earphone, wherein the second signal is a signal for controlling a photographing mode of a camera;
determining a photographing mode according to the second signal and a preset rule;
and taking a picture according to the picture taking mode.
6. The method according to claim 5, wherein the determining a photographing mode according to the second signal and a preset rule comprises:
determining a key operation mode on the wireless earphone according to the second signal, wherein the key operation mode corresponds to different photographing modes of the camera;
determining a corresponding photographing mode of the camera according to the key operation mode and a preset rule;
wherein, the key operation mode comprises: different key type operations, different key times operations, and different key durations operations.
7. An information processing apparatus characterized in that the apparatus comprises: receiving unit, acquisition unit, generating unit and execution unit, wherein:
the receiving unit is used for a first terminal to receive a first signal sent by a second terminal, wherein the first signal is a signal for controlling the running state of a first application installed on the first terminal, and the first application is an application correspondingly connected with the second terminal;
the acquiring unit is configured to acquire attribute information of a foreground application on the first terminal, where the foreground application is a different application from the first application;
the generating unit is used for generating a first operating instruction according to the first signal when the key value of the attribute information is a preset value, wherein the first operating instruction is an instruction for controlling the running state of the foreground application;
the execution unit is used for executing the first operation instruction;
wherein the apparatus further comprises: a second generation unit and a second execution unit, wherein:
the second generating unit is configured to generate a second operation instruction according to the first signal when the key value of the attribute information is a non-preset value, where the second operation instruction is an instruction for controlling the running state of the first application;
the second execution unit is used for executing the second operation instruction.
8. A computer device comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor implements the steps in the information processing method according to any one of claims 1 to 6 when executing the program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the information processing method according to any one of claims 1 to 6.
CN201811281029.6A 2018-10-30 2018-10-30 Information processing method and device, equipment and storage medium Active CN109525716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811281029.6A CN109525716B (en) 2018-10-30 2018-10-30 Information processing method and device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811281029.6A CN109525716B (en) 2018-10-30 2018-10-30 Information processing method and device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109525716A CN109525716A (en) 2019-03-26
CN109525716B true CN109525716B (en) 2021-07-09

Family

ID=65772772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811281029.6A Active CN109525716B (en) 2018-10-30 2018-10-30 Information processing method and device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109525716B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9088450B2 (en) * 2012-10-31 2015-07-21 Elwha Llc Methods and systems for data services
CN104079702A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Information processing method and electronic equipment
CN103747176A (en) * 2013-12-27 2014-04-23 西安乾易企业管理咨询有限公司 Method for controlling camera of mobile phone by using earphone
CN104202474A (en) * 2014-08-27 2014-12-10 东莞市和乐电子有限公司 Wireless time telling and photographing method

Also Published As

Publication number Publication date
CN109525716A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
RU2653355C2 (en) Volume adjustment method and apparatus and terminal
CN110166820B (en) Audio and video playing method, terminal and device
EP3461112B1 (en) Mobile terminal and method for starting shooting on mobile terminal
US20080220809A1 (en) Method and system for a self timer function for a camera and ...
CN111078343A (en) Screen capturing method and screen capturing device for mobile terminal and mobile terminal
KR20160030461A (en) Method and device for switching cameras
CN103927165A (en) Wallpaper picture processing method and device
CN109511041B (en) Earphone starting setting method and device and earphone
EP2198599B1 (en) Method and system for a quick start camera application in a camera and a camera equipped mobile radio terminal
CN106453032B (en) Information-pushing method and device, system
CN112449099A (en) Image processing method, electronic equipment and cloud server
CN105100624A (en) Shooting method and terminal
CN108881766B (en) Video processing method, device, terminal and storage medium
CN109525716B (en) Information processing method and device, equipment and storage medium
CN105516605A (en) Shooting method and device
WO2015074257A1 (en) Method and mobile phone device for realizing digital magnifier
KR100642688B1 (en) Apparatus and method for editing a part of picture in mobile communication terminal
JP2004274511A (en) Mobile electronic apparatus
WO2016188354A1 (en) Camera zooming method, apparatus and terminal
CN102402570A (en) Data management device and recording medium
KR100557091B1 (en) Method for displaying of constructing background image in wireless terminal
CN110753188A (en) Terminal shooting method, terminal and readable storage medium
CN111399797A (en) Voice message playing method and device, electronic equipment and storage medium
US20120151410A1 (en) Apparatus and method for executing menu in portable terminal
JP2015210467A (en) Imaging device, imaging control device, program and recording medium

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
GR01 Patent grant
GR01 Patent grant