CN112181344A - Device calling method, device calling apparatus, interaction system, electronic device, and storage medium - Google Patents

Device calling method, device calling apparatus, interaction system, electronic device, and storage medium Download PDF

Info

Publication number
CN112181344A
CN112181344A CN202011120298.1A CN202011120298A CN112181344A CN 112181344 A CN112181344 A CN 112181344A CN 202011120298 A CN202011120298 A CN 202011120298A CN 112181344 A CN112181344 A CN 112181344A
Authority
CN
China
Prior art keywords
equipment
information
instruction
information acquisition
image
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.)
Pending
Application number
CN202011120298.1A
Other languages
Chinese (zh)
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 CN202011120298.1A priority Critical patent/CN112181344A/en
Publication of CN112181344A publication Critical patent/CN112181344A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a device calling method, a device calling device, an interaction system, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method is applied to a first device, the electronic device comprises a first device, and the method comprises the following steps: and responding to an information acquisition instruction of the application program, calling the first device to acquire information, responding to an equipment switching instruction, and sending the information acquisition instruction to second equipment with a second device so as to instruct the second equipment to call the second device to acquire the information. When the first device included in the first equipment is called by the first equipment to acquire information, if an equipment switching instruction is received, the second equipment is indicated to call the second device included in the second equipment to acquire information, so that the calling of devices with the same function among different equipment is optimized, and the user experience is improved.

Description

Device calling method, device calling apparatus, interaction system, electronic device, and storage medium
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a device invocation method, an apparatus, an interaction system, an electronic device, and a storage medium.
Background
At present, the screen projection function is widely applied to electronic equipment. For example, a user may project a display interface in a first device (e.g., a mobile phone) to a second device (e.g., a television) for display, so that the user can view display content in the first device on the second device conveniently. However, the second device can only be used for displaying the content projected by the first device, and cannot perform other more interactive operations with the first device, so that the user experience is poor.
Disclosure of Invention
In view of the above problems, the present application provides a device invocation method, apparatus, interactive system, electronic device and storage medium to solve the above problems.
In a first aspect, an embodiment of the present application provides a device invocation method, which is applied to a first device, where the first device includes a first device, and the method includes: responding to an information acquisition instruction of an application program, and calling the first device to acquire information; and responding to an equipment switching instruction, and sending the information acquisition instruction to second equipment with a second device so as to instruct the second equipment to call the second device to acquire information.
In a second aspect, an embodiment of the present application provides a device invocation method, which is applied to a second device, where the second device includes a second device, and the method includes: receiving an information acquisition instruction sent by first equipment with a first device, wherein the information acquisition instruction is sent by the first equipment responding to an information acquisition instruction of an application program, and responding to equipment switching instruction sending when the first device is called to carry out information acquisition; and responding to the information acquisition instruction, and calling the second device to acquire information.
In a third aspect, an embodiment of the present application provides a device invocation method, which is applied to an interactive system including a first device and a second device, where the first device includes a first device, and the second device includes a second device, and the method includes: the first device is used for calling the first device to collect information in response to an information collection instruction of an application program; the first equipment responds to an equipment switching instruction and sends the information acquisition instruction to the second equipment; and the second equipment responds to the information acquisition instruction and calls the second device to acquire information.
In a fourth aspect, an embodiment of the present application provides a device invocation apparatus, which is applied to a first device, where the first device includes a first device, and the apparatus includes: the device calling module is used for responding to an information acquisition instruction of an application program and calling the first device to acquire information; and the information acquisition instruction sending module is used for responding to an equipment switching instruction and sending the information acquisition instruction to second equipment with a second device so as to instruct the second equipment to call the second device to acquire information.
In a fifth aspect, an embodiment of the present application provides a device invocation apparatus, which is applied to a second device, where the second device includes a second device, and the apparatus includes: the information acquisition instruction receiving module is used for receiving an information acquisition instruction sent by first equipment with a first device, wherein the information acquisition instruction is sent by the first equipment in response to an information acquisition instruction of an application program, and the first device is called to send a response equipment switching instruction during information acquisition; and the device calling module is used for responding to the information acquisition instruction and calling the second device to acquire information.
In a sixth aspect, an embodiment of the present application provides an interactive system, where the interactive system includes a first device and a second device, the first device includes a first component, and the second device includes a second component, where: the first device is used for responding to an information acquisition instruction of an application program and calling the first device to acquire information; the first device is used for responding to a device switching instruction and sending the information acquisition instruction to the second device; and the second device is used for responding to the information acquisition instruction and calling the second device to acquire information.
In a seventh aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, where the memory is coupled to the processor, and the memory stores instructions, and the processor executes the above method when the instructions are executed by the processor.
In an eighth aspect, embodiments of the present application provide a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the above method.
The device calling method, the device calling device, the interactive system, the electronic device and the storage medium are provided by the embodiment of the application, the first device responds to an information acquisition instruction of an application program, calls the first device to acquire information, responds to a device switching instruction, and sends the information acquisition instruction to the second device with the second device to instruct the second device to call the second device to acquire the information, so that when the first device calls the first device included in the first device to acquire the information, if the device switching instruction is received, the second device is instructed to call the second device included in the second device to acquire the information, the calling of devices with the same function among different devices is optimized, and the user experience is improved.
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 description of the embodiments are briefly introduced 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 creative efforts.
FIG. 1 is a diagram illustrating an application environment that may be used in a device invocation method provided by an embodiment of the present application;
FIG. 2 illustrates a timing diagram of a device invocation method provided by one embodiment of the present application;
fig. 3 shows a first interaction scene diagram of a first device and a second device provided by an embodiment of the present application;
fig. 4 shows a second interaction scenario diagram of a first device and a second device provided in the embodiment of the present application;
fig. 5 illustrates a third interaction scene diagram of the first device and the second device provided in the embodiment of the present application;
FIG. 6 is a flow chart illustrating a device invocation method according to yet another embodiment of the present application;
FIG. 7 is a flow diagram illustrating a device invocation method according to yet another embodiment of the present application;
FIG. 8 is a flow diagram illustrating a device invocation method according to another embodiment of the present application;
FIG. 9 is a flow diagram illustrating a device invocation method according to yet another embodiment of the present application;
FIG. 10 is a schematic diagram illustrating a first interface of a first device according to an embodiment of the present disclosure;
FIG. 11 illustrates a flowchart of step S530 of the device invocation method illustrated in FIG. 9 of the present application;
FIG. 12 is a schematic diagram illustrating a second interface of a first device provided by an embodiment of the present application;
FIG. 13 is a schematic flow chart diagram illustrating a device invocation method provided by yet another embodiment of the present application;
fig. 14 shows a schematic interface diagram of a second device provided by an embodiment of the present application;
FIG. 15 is a flow diagram illustrating a method for device invocation provided by yet another embodiment of the present application;
FIG. 16 is a flow diagram illustrating a device invocation method provided by yet another embodiment of the present application;
FIG. 17 illustrates a block diagram of a device invocation apparatus, provided in accordance with an embodiment of the present application;
FIG. 18 illustrates a block diagram of a device invocation apparatus, provided in accordance with yet another embodiment of the present application;
FIG. 19 shows a block diagram of an electronic device for performing a device call method according to an embodiment of the present application;
fig. 20 illustrates a storage unit for storing or carrying program code implementing a device call method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
At present, the screen projection function is widely applied to life, and a user can project contents displayed in a first device to a second device for displaying. For example, when a user plays a video through a smart phone, the video played on the mobile terminal can be projected to a smart television for display, so that the user can have better video watching experience conveniently; for another example, when the user views a news webpage through the smart watch, the news webpage displayed on the smart watch can be projected to the smart computer for display, so that the user can view news contents conveniently.
However, the inventor has found that the second device can only be used for displaying the content projected by the first device, and cannot perform other interaction operations with the first device. Specifically, when a first device calls a certain hardware device of the first device to execute a certain operation, a second device can only be used for displaying a picture generated by the certain operation designated by the certain device called by the first device, and cannot be switched to call a corresponding hardware device to execute the operation, so that a problem of poor user experience is caused; for another example, when the first device calls the microphone to perform sound information collection, the second device can only be used to play the sound information collected by the first device calling the microphone, and cannot switch to call the microphone for sound information collection.
In view of the above problems, the inventor finds and provides a device calling method, an apparatus, an interactive system, an electronic device, and a storage medium provided in an embodiment of the present application through long-term research, and when a first device included in a first device is called by the first device to perform information acquisition, if a device switching instruction is received, a second device is instructed to call a second device included in the first device to perform information acquisition, so as to optimize the calling of devices having the same function between different devices, and improve user experience. The specific device calling method is described in detail in the following embodiments.
The following description will be made with respect to an application environment that can be used for the device invocation method provided by the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment that can be used in a device invocation method provided by an embodiment of the present application. As shown in fig. 1, the application scenario may include a first device 100 and a second device 200, where the number of the first devices 100 may be one or more, and the number of the second devices 200 may be one or more, which is not limited herein. The first device 100 may be a smart phone, a smart watch, a smart television, or a smart computer, and the second device 200 may be a smart phone, a smart watch, a smart television, or a smart computer, where fig. 1 exemplifies that the first device 100 is a smart phone and the second device 200 is a smart television.
In some embodiments, the first device 100 and the second device 200 may communicate to complete data interaction. The first device 100 and the second device 200 may communicate via a Local Area Network (LAN) or a Wide Area Network (WAN). For example, the first device 100 and the second device 200 may be connected to a router at the same time, and the first device 100 and the second device 200 may communicate through a local area network provided by the router; for another example, the first device 100 and the second device 200 may communicate with a cloud, and implement data interaction between the two devices through the cloud; for another example, the first device 100 and the second device 200 may also establish an end-to-end network connection (i.e., a P2P network connection) through a communication manner such as bluetooth, Zigbee, WebRTC, and communicate through the established network connection. Of course, the communication method between the first device 100 and the second device 200 may not be limited.
In some scenarios, the second device 200 may be a large-screen device (e.g., a smart television shown in fig. 1), and the user may project display content on a small-screen device such as a smart phone, a tablet computer, and a smart watch to the large-screen device for displaying, so as to improve experience of the user when viewing the display content. In addition, the second device 200 may receive the content projected by the plurality of first devices 100 at the same time, and display the content projected by the plurality of first devices 100, so that the content projected by the plurality of first devices 100 may be projected to the second device 200 for display, so that a user may view the content projected by the plurality of first devices 100 at the same time, and user experience is greatly improved.
In some embodiments, the second device 200 may perform a display layout (for example, a layout position, a size of a display area, and the like) on the display contents input by the plurality of first devices 100 according to the received display contents of the plurality of first devices 100, and then render the display contents input by the plurality of first devices 100 based on the display layout and then display the rendered display contents on the touch screen of the second device 200.
Referring to fig. 2, fig. 2 is a timing diagram illustrating a device invocation method according to an embodiment of the present application. The device calling method is used for indicating the second equipment to call the second device included in the first equipment to acquire information if an equipment switching instruction is received when the first equipment calls the first device included in the first equipment to acquire information so as to optimize calling of devices with the same function among different equipment and improve user experience. In a specific embodiment, the device calling method is applied to an interactive system, where the interactive system includes a first device and a second device, the first device includes a first device, and the second device includes a second device, and as will be described in detail with reference to the flow shown in fig. 2, the device calling method may specifically include the following steps:
step S110: and the first device is called to collect information by responding to an information collection instruction of an application program.
In some embodiments, the first device may be a smart phone, a smart watch, a smart television, a smart computer, or the like, and the first device included in the first device may include a first image acquisition device, a first sound acquisition device, a first image presentation device, a first sound playing device, or the like, where the first image acquisition device may include a first camera, the first sound acquisition device may include a first microphone, the first image presentation device may include a first touch screen, and the first sound playing device may include a first sound box, or the like, which is not limited herein.
In some embodiments, a detection may be made as to whether the first device is running an application. The application program running on the first device may include an application program running in a foreground of the first device, an application program running in a background of the first device, or an application program running in a foreground and a background of the first device by switching. Specifically, an application program running in the foreground refers to an application program which can generally interact with a user and can run in the foreground, and the application program can be suspended when the application program is not visible (such as games); background running applications mean very limited interaction with the user, except during configuration, where other times of the lifetime are hidden (e.g., SMS auto-answer program and alarm clock program); the application program which is switched to run in the foreground and the background of the first device refers to the application program which can be switched between the foreground and the background at will. It is to be appreciated that when an application is not killed (kill), the application is characterized as running on the first device.
In some embodiments, when it is detected that the first device runs the application program, the running of the application program may be monitored, wherein when an information acquisition instruction generated or sent by the application program is monitored, the first device may invoke the first device to perform information acquisition in response to the information acquisition instruction of the application program. For example, when the information acquisition instruction of the application program is an image information acquisition instruction, the first device may invoke the first image acquisition device to acquire image information in response to the image information acquisition instruction of the application program. For another example, when the information acquisition instruction of the application program is a sound information acquisition instruction, the first device may invoke the first sound acquisition device to acquire sound information in response to the sound information acquisition instruction of the application program.
Step S120: and the first equipment responds to an equipment switching instruction and sends the information acquisition instruction to the second equipment.
In some embodiments, the second device may be a smart phone, a smart watch, a smart television, a smart computer, or the like, and the second device included in the second device may include a second image capturing device, a second sound capturing device, a second image presenting device, a second sound playing device, or the like, where the second image capturing device may include a second camera, the second sound capturing device may include a second microphone, the second image presenting device may include a second touch screen, and the second sound playing device may include a second sound box, or the like, which is not limited herein.
In this embodiment, the first device may monitor an input device switching instruction during a process of calling the first device to perform information acquisition, where when the first device monitors the input device switching instruction, the first device may respond to the device switching instruction and send the information acquisition instruction to the second device.
In some embodiments, it may be detected whether the first device receives a device switch instruction. As a mode, when the first device detects an input touch operation, the touch operation may be analyzed, where when an analysis result represents that the touch operation indicates to perform device switching, it is determined that an input device switching instruction is received, and the information acquisition instruction is sent to the second device. As another mode, when the first device detects the input text information, the text information may be recognized, where when the recognition result represents that the text information indicates that device switching is performed, it is confirmed that the input device switching instruction is received, and the information acquisition instruction is sent to the second device. As another mode, when the first device detects the input voice information, the voice information may be recognized, where when the recognition result represents that the voice information indicates to perform device switching, it is determined that the input device switching instruction is received, and the information acquisition instruction is sent to the second device. Of course, in this embodiment, other more ways of detecting whether the device switching instruction is received may also be included, which are not described herein again.
In some embodiments, the first device may only send the information acquisition instruction to the second device in response to the device switching instruction, or may send a control instruction carrying the information acquisition instruction to the second device in response to the device switching instruction, which is not limited herein.
In some embodiments, when receiving a device switching instruction, a first device may detect whether a second device is connected to the first device. Specifically, the connection state between the first device and the second device may include being in a connection state and not being in a connection state, wherein the not being in the connection state includes a non-connection state and a connection-in state. As one way, whether the first device and the second device are in the connected state may be determined by looking at a state value of the first device, for example, when the first device is connected with the second device, the first state value is returned, and when the first device is disconnected from the second device, the second state value is returned, so that whether the first device and the second device are in the connected state may be determined by detecting the first state value and the second state value.
When the first device and the second device are detected to be not connected, the connection with the second device can be established through an IP/port of the second device prestored by the first device, and after the connection with the second device is successfully established, the device switching instruction is responded, and the information acquisition instruction is sent to the second device.
Step S130: and the second equipment responds to the information acquisition instruction and calls the second device to acquire information.
In this embodiment, after receiving the information acquisition instruction sent by the first device, the second device may be called to perform information acquisition in response to the information acquisition instruction.
For example, when the information acquisition instruction is an image information acquisition instruction, the second device may call the second image acquisition device to acquire image information in response to the image information acquisition instruction, and when the information acquisition instruction is a sound information acquisition instruction, the second device may call the second sound acquisition device to acquire sound information in response to the sound information acquisition instruction. The method comprises the steps that for the intercommunication of a first image acquisition device and a second image acquisition device and the intercommunication of the first sound acquisition device and the second sound acquisition device, the first image acquisition device of first equipment acquires image data and then encodes the image data into H264 data, the first sound acquisition device of the first equipment obtains PCM data through AudioRecord, then sends the PCM number and the H264 data to second equipment through rtp, the second equipment receives the data and then decodes the 264 data to obtain yuv, then the yuv and PCM are respectively sent to camera hal and audio hal through buffer queue, the data replacement of the first equipment and the second equipment is completed, and therefore the intercommunication between the acquisition devices of the first equipment and the second equipment is achieved. For the intercommunication between the first image display device and the second image display device, and between the first sound output device and the second sound output device, the first equipment can use an android standard interface to obtain the content of the surface/audio, the coded content is transmitted to the second equipment in real time through rtsp, and the second equipment analyzes the content and plays the content by analyzing the rtsp address, so that the intercommunication between the output devices of the first equipment and the second equipment is realized.
As a mode, when the first equipment runs and uses the related application of the first image acquisition device and the first sound acquisition device, the second image acquisition device and the second sound acquisition device of the second equipment can be called seamlessly, and the purposes of hardware intercommunication and capability expansion among different equipment are achieved. Specifically, when a user operates the first device to record a video, the first device may call the first image capture device to capture image information and call the first sound capture device to capture sound information to acquire video information, and when the response device switching instruction is switched from the first device to the second device, the second device may call the second image capture device to capture an image and call the second sound capture device to capture sound information to continuously acquire video information.
Referring to fig. 3, fig. 3 is a diagram illustrating a first interaction scenario of a first device and a second device according to an embodiment of the present application. As shown in fig. 3, in the process that the first device 100 calls the first image capturing device to capture image information to obtain first image information a and display the first image information a, the second device 200 calls the second image capturing device to capture image information to obtain second image information B and display the second image information B, it can be understood that, in fig. 3, the first image information a is captured and generated by the first image capturing device, and the second image information B is captured and generated by the second image capturing device.
As another mode, when the first device runs the related application using the first sound collection device and the first sound playing device, the second sound collection device and the second sound playing device of the second device can be seamlessly invoked, so as to achieve the purpose of hardware intercommunication and capability expansion between different devices. Specifically, when a user operates the first device to perform voice call, the first device may call the first sound collection device to collect sound information of a call owner and call the first sound playing device to play sound information of a call opposite party, when a response device switching instruction is switched from the first device to the second device, the second device may call the second sound collection device to perform own sound information difference collection and call the second sound playing device to play sound information of the call opposite party, it can be understood that at this time, subsequent sound information in the call is obtained by the second sound collection device of the second device, and subsequent sound information in the call is played by the second sound playing device of the second device.
Referring to fig. 4, fig. 4 is a diagram illustrating a second interaction scenario of the first device and the second device according to the embodiment of the present application. As shown in fig. 4, in the process of calling the first sound collection device to collect sound information during a call by the first device 100, in response to a device switching instruction, the second device 200 is switched to call the second sound collection device to collect sound information, and it can be understood that, in fig. 4, the first device 100 and the second device 200 both display a call interface, and sound information before switching from the first device 100 to the second device 200 is collected by the first sound collection device, and sound information after switching from the first device 100 to the second device 200 is collected by the second sound collection device.
As another mode, when the first device uses the first image capturing device, the first sound capturing device, the first image displaying device, and the first sound outputting device in operation, the second image capturing device, the second sound capturing device, the second image displaying device, and the second sound outputting device of the second device may be seamlessly called, so as to achieve the purpose of hardware intercommunication and capability expansion between different devices. Specifically, when a user operates the first device to perform a video call, the first device may call the first image capturing device to capture image information of a party of the video call, call the first sound capturing device to capture sound information of the party of the video call, call the first image displaying device to display image information of a party of the call and the party of the call, and call the first sound outputting device to play sound information of a call object, when the first device is switched to the second device in response to a device switching instruction, the second device may call the second image capturing device to capture image information of the party of the video call, call the second sound capturing device to capture sound information of the party of the video call, call the second image displaying device to display image information of the party of the call and the party of the call, and call the second sound outputting device to play sound information of the call object, it is understood that, at this time, the subsequent acquisition and output of the image information and the sound information in the video call are performed by the device of the second device.
Referring to fig. 5, fig. 5 illustrates a third interaction scenario diagram of a first device and a second device according to an embodiment of the present application. As shown in fig. 5, in the process of calling the first image capturing device to capture image information and calling the first sound capturing device to capture sound information during a video call, in response to a device switching command, the first device 100 switches to the second device 200 to capture image information and to call the second sound capturing device to capture sound information, and it can be understood that in fig. 5, the first image information a is captured and generated by the first image capturing device, the second image information B is captured and generated by the second image capturing device, sound information before switching from the first device 100 to the second device 200 is captured by the first sound capturing device, and sound information after switching from the first device 100 to the second device 200 is captured by the second sound capturing device.
The device calling method provided by one embodiment of the application is applied to an interactive system with first equipment and second equipment, wherein the first equipment comprises a first device, and the second equipment comprises a second device. The first equipment responds to an information acquisition instruction of an application program, a first device is called to perform information acquisition, the first equipment responds to an equipment switching instruction, the information acquisition instruction is sent to the second equipment, the second equipment responds to the information acquisition instruction, a second device is called to perform information acquisition, when the first equipment calls a first device comprising the first equipment to perform information acquisition, if the equipment switching instruction is received, the second equipment is instructed to call a second device comprising the second equipment to perform information acquisition, the calling of devices with the same function among different equipment is optimized, and user experience is improved.
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating a device invocation method according to another embodiment of the present application. The device calling method is used for indicating the second equipment to call the second device included in the first equipment to acquire information if an equipment switching instruction is received when the first equipment calls the first device included in the first equipment to acquire information so as to optimize calling of devices with the same function among different equipment and improve user experience. In a specific embodiment, the device call method is applied to the device call apparatus 300 shown in fig. 17 and the first device 100 (fig. 19) configured with the device call apparatus 300. The specific process of this embodiment will be described below by taking the first device as an example, and it is understood that the first device applied in this embodiment may be a smart phone, a smart watch, a smart television, a smart computer, or the like, which is not limited herein. As will be described in detail with respect to the flow shown in fig. 6, the device invoking method may specifically include the following steps:
step S210: and calling the first device to acquire information in response to an information acquisition instruction of an application program.
Step S220: and responding to an equipment switching instruction, and sending the information acquisition instruction to second equipment with a second device so as to instruct the second equipment to call the second device to acquire information.
For the detailed description of steps S210 to S220, refer to steps S110 to S130, which are not described herein again.
The device calling method provided by the further embodiment of the application is applied to first equipment, and the first equipment comprises a first device. The method comprises the steps of responding to an information acquisition instruction of an application program, calling a first device to acquire information, responding to an equipment switching instruction, sending the information acquisition instruction to second equipment with a second device, and instructing the second equipment to call the second device to acquire information, so that when the first equipment calls the first device comprising the first equipment to acquire information, if the equipment switching instruction is received, the second equipment is instructed to call the second device comprising the first equipment to acquire information, so that the calling of devices with the same function between different equipment is optimized, and the user experience is improved.
Referring to fig. 7, fig. 7 is a schematic flowchart illustrating a device calling method according to still another embodiment of the present application. The method is applied to the first device, the first device includes a first device, the second device includes a second device, the first device includes a first image capturing device, the second device includes a second image capturing device, and as will be described in detail with reference to the flow shown in fig. 7, the device calling method may specifically include the following steps:
step S310: and responding to an image acquisition instruction of the application program, calling the first image acquisition device to acquire an image and acquire first image information, and displaying the first image information.
In this embodiment, the first device comprises a first image capturing device and the second device comprises a second image capturing device.
In some embodiments, when it is detected that the first device runs the application program, the running of the application program may be monitored, wherein when an image acquisition instruction of the application program is monitored, the first device may invoke the first image acquisition device to perform image acquisition to acquire first image information in response to the image acquisition instruction of the application program, and display the first image information. For example, when the application program instructs to perform video recording, image capturing, video call, or the like, the first image capturing device may be invoked to perform image capturing to obtain first image information in response to an image capturing instruction of the application program, and the first image information may be displayed.
Step S320: and responding to the equipment switching instruction, controlling the first image acquisition device to stop image acquisition, sending the image acquisition instruction to second equipment with a second image acquisition device, indicating the second equipment to call the second image acquisition device to acquire second image information, and displaying the second image information on the second equipment.
In this embodiment, the first device may monitor an input device switching instruction during calling the first image capturing device to perform image capturing, where when the first device monitors the device switching instruction, the first device may respond to the device switching instruction to control the first image capturing device to stop performing image capturing and send the image capturing instruction to the second device, so as to instruct the second device to call the second image capturing device to perform image capturing to obtain second image information, and display the second image information on the second device.
In some embodiments, when controlling the first image device to stop image capture, the first device may keep displaying the image information displayed before image capture is stopped, or may quit displaying the image information displayed before image capture is stopped. If the display is quitted and the image information displayed before the image acquisition is stopped is displayed, the first device can display the desktop, can display other application interfaces and can enter a screen-off state, and limitation is not made herein.
Step S330: and receiving third image information sent by the second device, wherein the third image information is obtained by processing the second image information by the second device based on the parameter information of the first device.
In some embodiments, after the second device invokes the second image capturing device to capture an image to obtain second image information, the second device may process the second image information based on the parameter information of the first device to obtain third image information, and send the third image information to the first device, and then the first device may receive the third image information sent by the second device.
In some embodiments, the parameter information includes at least one of display status information and size information, wherein the display status information includes a landscape display status and a portrait display status, and the size information may include "length", "width", "aspect ratio", "area", and the like, which are not limited herein.
As a mode, the second device may obtain the display state of the first device, that is, the second device may obtain whether the first device is in a landscape display state or in a portrait display state. As a mode, the first device may determine that the display state is a landscape display state or a portrait display state by using Java, and specifically, the first device may determine the display state by acquiring display. In addition, the second device may acquire the first device size information, that is, the second device may acquire the size information of "length", "width", "aspect ratio", "area", and the like of the first device. As one way, the first device may acquire its sizable information using Java and transmit the size information to the second device, and specifically, the first device may acquire its size information through a display.
In some embodiments, when the first device is a smartphone and the second device is a smartphone, if the smartphone is in a landscape display state, the smartphone may compress the second image by a certain proportion to generate third image information and send the third image information to the smartphone according to the size information of the smartphone and the size information of the smartphone itself, and if the smartphone is in a portrait display state, the smartphone may cut the second image and then compress the second image by a certain proportion to generate the third image information and send the third image information to the smartphone according to the size information of the smartphone and the size information of the smartphone itself. In some embodiments, when the first device is a smart television and the second device is a smart phone, the smart television may automatically adjust a display screen (full screen display or half screen display, etc.) according to a horizontal and vertical screen state of the smart phone.
Step S340: and displaying the third image information.
In some embodiments, after receiving the third image information sent by the second device, the first device may display the third image information, thereby implementing synchronous display of the first device and the second device.
The device calling method provided by the further embodiment of the application is applied to first equipment, and the first equipment comprises a first device. And responding to an image acquisition instruction of the application program, calling the first image acquisition device to acquire an image to acquire first image information and display the first image information, responding to an equipment switching instruction, controlling the first image acquisition device to stop acquiring the image and sending the image acquisition instruction to second equipment with a second image acquisition device to instruct the second equipment to call the second image acquisition device to acquire the second image information and display the second image information on the second equipment. And receiving third image information sent by the second equipment, wherein the third image information is obtained by processing the second image information by the second equipment based on the parameter information of the first equipment, and displaying the third image information. Compared with the device calling method shown in fig. 2, in this embodiment, when the first device calls the first image information acquisition device included in the first device to acquire the image information, if the device switching instruction is received, the second device is instructed to call the second image information acquisition device included in the second device to acquire the image information, so that the calling of the image information acquisition devices among different devices is optimized, and the user experience is improved. In addition, the embodiment can also receive and display image information fed back by the second device according to the parameter information of the first device, so as to adapt to different first devices for good display.
Referring to fig. 8, fig. 8 is a schematic flowchart illustrating a device calling method according to another embodiment of the present application. The method is applied to the first device, where the first device includes a first device, the second device includes a second device, the first device includes a first sound collection device, and the second device includes a second sound collection device, and as will be described in detail with respect to the flow shown in fig. 8, the device invoking method may specifically include the following steps:
step S410: and responding to the sound acquisition instruction of the application program, and calling the first sound acquisition device to acquire sound.
In the present embodiment, the first device includes a first sound collection device, and the second device includes a second sound collection device.
In some embodiments, when it is detected that the first device runs the application program, the running of the application program may be monitored, wherein when a sound collection instruction of the application program is monitored, the first device may invoke the first sound collection device to collect sound in response to the sound collection instruction of the application program. For example, when the application program instructs to perform voice call, video recording, and video recording, the first sound collection device may be called to perform sound collection in response to a sound collection instruction of the application program.
Step S420: and responding to the equipment switching instruction, controlling the first sound collection device to stop sound collection and sending the sound collection instruction to second equipment with a second sound collection device so as to indicate the second equipment to call the second sound collection device to collect sound.
In this embodiment, the first device may monitor an input device switching instruction during a process of calling the first sound collection device to collect sound, where when the first device monitors the device switching instruction, the first device may respond to the device switching instruction to control the first sound collection device to stop sound collection and send the sound collection instruction to the second device, so as to instruct the second device to call the second sound collection device to collect sound.
In some embodiments, the first device may control the first sound collection device to perform audio collection instructed by another application program when controlling the first sound collection device to stop performing sound collection, for example, if the first device controls the first sound collection device to stop performing sound collection instructed by the call application, the first sound collection device may control the first sound collection device to perform audio collection instructed by the screen recording application.
The device calling method provided by another embodiment of the present application is applied to a first device, where the first device includes a first device. And responding to a sound acquisition instruction of the application program, calling the first sound acquisition device to acquire sound, responding to an equipment switching instruction, controlling the first sound acquisition device to stop acquiring sound and sending the sound acquisition instruction to second equipment with a second sound acquisition device so as to instruct the second equipment to call the second sound acquisition device to acquire sound. Compared with the device calling method shown in fig. 2, in this embodiment, when the first device calls the first sound information collection device included in the first device to collect sound information, if the device switching instruction is received, the second device is instructed to call the second sound information collection device included in the second device to collect sound information, so that calling of the sound information collection devices among different devices is optimized, and user experience is improved.
Referring to fig. 9, fig. 9 is a schematic flowchart illustrating a device calling method according to yet another embodiment of the present application. The method is applied to the first device, where the first device includes a first device, and as will be described in detail with reference to the flow shown in fig. 9, the device invoking method may specifically include the following steps:
step S510: and calling the first device to acquire information in response to an information acquisition instruction of an application program.
For detailed description of step S510, please refer to step S110, which is not described herein again.
Step S520: displaying an application interface of the application program, and detecting an operation acting on the application interface.
In this embodiment, the first device may display an application interface of the application program and detect an operation acting on the application interface in a process of calling the first device to perform information acquisition in response to an information acquisition instruction of the application program. As one mode, when the user operates the first device to record a video, the first device may display a video recording interface and detect an operation applied to the video recording interface, where the video recording interface may include image information captured by the first device. As still another way, when the user operates the first device to perform a voice call, the first device may display a voice call interface and detect an operation applied to the voice call interface. As another way, when the user operates the first device to perform a video call, the first device may display a video call interface and detect an operation applied to the video call interface.
Step S530: and when the operation acting on the application interface is detected to meet the preset operation, sending the information acquisition instruction to second equipment with a second device so as to instruct the second equipment to call the second device to acquire information.
In some embodiments, the first device may preset and store a preset operation, where the preset operation is used as a judgment basis for an operation applied to the application interface. Therefore, in this embodiment, when the operation acting on the application interface is detected, the operation acting on the application interface may be compared with the preset operation to determine whether the operation acting on the application interface satisfies the preset operation, where when the determination result indicates that the operation acting on the application interface satisfies the preset operation, the representation user triggers the device switching instruction, and then the information acquisition instruction may be sent to the second device in response to the device switching instruction to instruct the second device to call the second device thereof to perform information acquisition.
In some implementations, the application interface can include a toggle control. The operation acting on the switching control can be detected, when the click operation acting on the switching control is detected, the operation acting on the application interface can be determined to meet the preset operation, and the information acquisition instruction can be sent to the second device so as to instruct the second device to call the second device to acquire information.
Referring to fig. 10, fig. 10 is a schematic view illustrating a first interface of a first device according to an embodiment of the present disclosure. As shown in fig. 10, the first device 100 may display an application interface, and a toggle control may be included on the application interface.
Referring to fig. 11, fig. 11 is a flowchart illustrating step S530 of the device call method illustrated in fig. 9 according to the present application. In this embodiment, the application interface includes a switching control, and when the number of the second devices is multiple, as will be described in detail with reference to the flow shown in fig. 11, the device invocation method may specifically include the following steps:
step S531: and when the click operation acting on the switching control is detected, displaying a device selection interface, wherein the device selection interface comprises identification information of a plurality of second devices.
In this embodiment, when the number of the second devices is multiple, if the click operation acting on the switching control is detected to indicate that the user desires to switch from the first device to the second device, the second device to be switched finally needs to be determined from the multiple second devices. Therefore, as a mode, when the click operation acting on the switching control is detected, a device selection interface may be displayed, where the device selection interface includes identification information of the plurality of second devices, so that the user may determine the finally switched second device from the plurality of second devices according to the identification information of the plurality of second devices.
In some embodiments, the identification information may include: unique code information, unique name information, unique number information, unique character identification information, and the like, which are not limited herein.
Referring to fig. 12, fig. 12 is a schematic diagram illustrating a second interface of the first device according to the embodiment of the present disclosure. As shown in fig. 12, when the first device 100 detects a click operation on the switching control, a device selection interface is displayed.
Step S532: when a selection operation acting on the device selection interface is detected, a target second device is determined from the plurality of second devices in response to the selection operation.
In some embodiments, the first device may detect a selection operation acting on the device selection interface during display of the device selection interface, and determine a finally switched second device as a target second device from among the plurality of second devices in response to the selection operation. As one mode, the first device may detect, in the process of displaying the device selection interface, a selection operation on the identification information of the plurality of second devices, and when a click operation on identification information of a certain second device among the identification information of the plurality of second devices is detected, may determine, as the target second device, a second device to which the identification information of the second device corresponding to the click operation belongs.
As one mode, if the selection operation is not detected within the preset time of the display device selection interface, the second device with the highest use frequency in the plurality of second devices is acquired as the target second device. As another mode, if the selection operation is not detected within the preset time of the display device selection interface, a second device closest to the second device is acquired as the target second device.
Step S533: and sending the information acquisition instruction to the target second equipment with a target second device to instruct the target second equipment to call the target second device for information acquisition.
In some embodiments, after determining the target second device from the plurality of second devices, an information acquisition instruction may be sent to the target second device to instruct the target second device to invoke the target second device for information acquisition.
The device calling method provided by the application in yet another embodiment is applied to a first device, and the first device comprises a first device. The method comprises the steps of responding to an information acquisition instruction of an application program, calling a first device to carry out information acquisition, displaying an application interface of the application program, detecting operation acting on the application interface, and sending the information acquisition instruction to second equipment with a second device when detecting that the operation acting on the application interface meets preset operation so as to instruct the second equipment to call the second device to carry out information acquisition. Compared with the device calling method shown in fig. 2, the embodiment further displays the application interface of the application program, and sends the information acquisition instruction to the second device with the second device when detecting that the operation acting on the application interface meets the preset operation, so as to improve the interaction experience of the user.
Referring to fig. 13, fig. 13 is a schematic flowchart illustrating a device calling method according to yet another embodiment of the present application. The method is applied to the first device, where the first device includes a first device, and as will be described in detail with reference to the flow shown in fig. 13, the device invoking method may specifically include the following steps:
step S610: and calling the first device to acquire information in response to an information acquisition instruction of an application program.
For detailed description of step S610, please refer to step S110, which is not described herein again.
Step S620: and responding to the equipment switching instruction, sending the information acquisition instruction to second equipment with a second device to instruct the second equipment to display a selection control, and calling the second device to acquire information when receiving a confirmation operation input based on the selection control.
Referring to fig. 14, fig. 14 is a schematic interface diagram of a second device according to an embodiment of the present disclosure. As shown in fig. 14, the second device 200 may display a selection control.
In this embodiment, the first device may send an information acquisition instruction to the second device in response to the device switching instruction, and the second device may display a selection control based on the information acquisition instruction, so that the user may select whether to perform a switching operation initiated by the first device through the second device, where if the second device receives an acknowledgement operation input based on the selection control, it may be possible to invoke the second device to perform information acquisition by indicating that the user corresponding to the second device agrees with the switching operation initiated by the first device, and where if the second device receives a rejection operation input based on the selection control or does not receive the acknowledgement operation within a specified time, it may be possible not to invoke the second device to perform information acquisition by indicating that the user corresponding to the second device does not agree with the switching operation initiated by the first device.
The device calling method provided by the embodiment of the application is applied to first equipment, and the first equipment comprises a first device. The method comprises the steps of responding to an information acquisition instruction of an application program, calling a first device to acquire information, responding to an equipment switching instruction, sending the information acquisition instruction to second equipment with a second device to indicate the second equipment to display a selection control, and calling the second device to acquire the information when receiving a confirmation operation input based on the selection control. Compared with the device calling method shown in fig. 2, in the embodiment, the selection control is displayed through the second device, and the second device is called to perform information acquisition when the confirmation operation input based on the selection control is received, so that the interaction experience of the user is improved.
Referring to fig. 15, fig. 15 is a schematic flowchart illustrating a device call method according to yet another embodiment of the present application. The method is applied to the first device, where the first device includes a first device, and as will be described in detail with reference to the flow shown in fig. 15, the device invoking method may specifically include the following steps:
step S710: and calling the first device to acquire information in response to an information acquisition instruction of an application program.
Step S720: and responding to an equipment switching instruction, and sending the information acquisition instruction to second equipment with a second device so as to instruct the second equipment to call the second device to acquire information.
For the detailed description of steps S710 to S720, refer to steps S110 to S130, which are not described herein again.
Step S730: when a control operation for the first device is received, a control instruction is generated based on the control operation.
In some embodiments, in the process of calling the second device to collect information by the second device, the first device may further receive a control operation input by a user, where the first device may generate a control instruction based on the control operation when receiving the control operation for the first device.
Step S740: and sending the control instruction to the second equipment with the second device to instruct the second equipment to call the second device to respond to the control operation.
In some embodiments, the first device, after generating the control instruction, may send the control instruction to the second device to instruct the second device to invoke the second device to respond to the control operation. For example, when the first device receives a control operation instructing the first device to perform shooting, the second device may invoke the second device to perform shooting in response, when the first device receives a control operation instructing the first device to perform video recording, the second device may invoke the second device to perform video recording in response, and when the first device receives a control operation instructing the first device to perform camera switching, the second device may invoke the second device to perform camera switching in response, and the like, which are not limited herein.
The device calling method provided by yet another embodiment of the present application is applied to a first device, where the first device includes a first device. The method comprises the steps of responding to an information acquisition instruction of an application program, calling a first device to acquire information, responding to an equipment switching instruction, sending the information acquisition instruction to second equipment with a second device to instruct the second equipment to call the second device to acquire the information, generating a control instruction based on the control operation when receiving the control operation aiming at the first device, and sending the control instruction to the second equipment with the second device to instruct the second equipment to call the second device to respond to the control operation. Compared with the calling method shown in fig. 2, in this embodiment, when the control operation for the first device is received, the second device is instructed to call the second device to respond, so that cross-device control between the devices is achieved, and the interaction experience of the user is improved.
Referring to fig. 16, fig. 16 is a schematic flow chart illustrating a device calling method according to yet another embodiment of the present application. The device calling method is used for indicating the second equipment to call the second device included in the first equipment to acquire information if an equipment switching instruction is received when the first equipment calls the first device included in the first equipment to acquire information so as to optimize calling of devices with the same function among different equipment and improve user experience. In a specific embodiment, the device calling method is applied to the device calling apparatus 400 shown in fig. 18 and the second appliance 200 (fig. 19) configured with the device calling apparatus 400. The specific process of this embodiment will be described below by taking the second device as an example, and it is understood that the second device applied in this embodiment may be a smart phone, a smart watch, a smart television, a smart computer, or the like, which is not limited herein. As will be described in detail with respect to the flow shown in fig. 16, the device invoking method may specifically include the following steps:
step S810: receiving an information acquisition instruction sent by first equipment with a first device, wherein the information acquisition instruction is sent by the first equipment responding to the information acquisition instruction of an application program, and responding to equipment switching instruction sending when the first device is called to carry out information acquisition.
Step S820: and responding to the information acquisition instruction, and calling the second device to acquire information.
For detailed descriptions of steps S810 to S820, please refer to steps S110 to S130, which are not described herein again.
Yet another embodiment of the present application provides a device calling method, which is applied to a second apparatus, where the second apparatus includes a second device. The method comprises the steps of receiving an information acquisition instruction generated by first equipment with a first device, wherein the information acquisition instruction is sent by the first equipment in response to an information acquisition instruction of an application program, responding to an equipment switching instruction when the first device is called to acquire information, responding to the information acquisition instruction, and calling a second device to acquire information, so that when the first device calling the first device included in the first equipment to acquire information, if the equipment switching instruction is received, the second device calling the second device included in the second equipment to acquire information, the calling of devices with the same function among different equipment is optimized, and the user experience is improved.
Referring to fig. 17, fig. 17 is a block diagram illustrating a device calling apparatus according to an embodiment of the present application. The device calling apparatus 300 is applied to the first device, which includes the first device, and will be explained with reference to the block diagram shown in fig. 17, where the device calling apparatus 300 includes: a device calling module 310 and an information acquisition instruction sending module 320, wherein:
and the device calling module 310 is configured to respond to an information acquisition instruction of an application program and call the first device to perform information acquisition.
Further, the first device comprises a first image capturing device, the second device comprises a second image capturing device, and the device invoking module 310 comprises: the first image capture device invokes a sub-module, wherein:
and the first image acquisition device calling submodule is used for responding to an image acquisition instruction of the application program, calling the first image acquisition device to acquire first image information and displaying the first image information.
Further, the first device includes a first sound collecting device, the second device includes a second sound collecting device, and the device invoking module 310 includes: the first sound collection device invokes the sub-module, wherein:
and the first sound acquisition device calling submodule is used for responding to the sound acquisition instruction of the application program and calling the first sound acquisition device to acquire sound.
The information acquisition instruction sending module 320 is configured to respond to an apparatus switching instruction, send the information acquisition instruction to a second apparatus having a second device, so as to instruct the second apparatus to call the second device to perform information acquisition.
Further, the first device includes a first image capturing device, the second device includes a second image capturing device, and the information capturing instruction sending module 320 includes: a first information acquisition instruction sending submodule, wherein:
and the first information acquisition instruction sending submodule is used for responding to the equipment switching instruction, controlling the first image acquisition device to stop image acquisition and sending the image acquisition instruction to second equipment with a second device so as to indicate the second equipment to call the second device to acquire second image information by image acquisition and display the second image information in the second equipment.
Further, the device call module 300 further includes: a third image information receiving sub-module and a third image information display sub-module, wherein:
and the third image information receiving submodule is used for receiving third image information sent by the second equipment, wherein the third image information is obtained by processing the second image information by the second equipment based on the parameter information of the first equipment.
And the third image information display sub-module is used for displaying the third image information.
Further, the first device includes a first sound collection device, the second device includes a second sound collection device, and the information collection instruction sending module 320 includes: a second information acquisition instruction sending submodule, wherein:
and the second information acquisition instruction sending submodule is used for responding to the equipment switching instruction, controlling the first sound acquisition device to stop sound acquisition and sending the sound acquisition instruction to second equipment with a second device so as to indicate the second equipment to call the second sound acquisition device to perform sound acquisition.
Further, the information collection instruction sending module 320 includes: the application interface display sub-module and the third information acquisition instruction sending sub-module, wherein:
and the application interface display submodule is used for displaying the application interface of the application program and detecting the operation acting on the application interface.
And the third information acquisition instruction sending submodule is used for sending the information acquisition instruction to second equipment with a second device when detecting that the operation acting on the application interface meets the preset operation, so as to instruct the second equipment to call the second device for information acquisition.
Further, the application interface includes a switching control, and the third information acquisition instruction sending sub-module includes: a third information acquisition instruction sending unit, wherein:
and the third information acquisition instruction sending unit is used for sending the information acquisition instruction to second equipment with a second device when the click operation acting on the switching control is detected, so as to indicate the second equipment to call the second device for information acquisition.
Further, when the number of the second devices is plural, the third information acquisition instruction sending unit includes: the device selection interface display subunit, the target second device determination subunit and the third information acquisition instruction sending subunit, wherein:
and the equipment selection interface display subunit is used for displaying an equipment selection interface when the click operation acting on the switching control is detected, wherein the equipment selection interface comprises identification information of a plurality of second equipment.
A target second device determination subunit operable to, when a selection operation acting on the device selection interface is detected, determine a target second device from the plurality of second devices in response to the selection operation.
And the third information acquisition instruction sending subunit is used for sending the information acquisition instruction to the target second equipment with a target second device so as to instruct the target second equipment to call the target second device for information acquisition.
Further, the information collection instruction sending module 320 includes: a fourth information acquisition instruction sending submodule, wherein:
and the fourth information acquisition instruction sending submodule is used for responding to the equipment switching instruction, sending the information acquisition instruction to second equipment with a second device so as to indicate the second equipment to display a selection control, and calling the second device to acquire information when receiving a confirmation operation input based on the selection control.
Further, the device calling apparatus 300 further includes: control instruction generation module and control instruction send module, wherein:
and the control instruction generation module is used for generating a control instruction based on the control operation when the control operation aiming at the first device is received.
And the control instruction sending module is used for sending the control instruction to the second equipment with the second device so as to instruct the second equipment to call the second device to respond to the control operation.
Referring to fig. 18, fig. 18 is a block diagram illustrating a device calling apparatus according to another embodiment of the present application. The device calling apparatus 400 is applied to the second device, which includes the second device, and will be explained with reference to the block diagram shown in fig. 18, where the device calling apparatus 400 includes: an information collection instruction receiving module 410 and a device calling module 420, wherein:
an information acquisition instruction receiving module 410, configured to receive an information acquisition instruction sent by a first device with a first device, where the information acquisition instruction is sent by the first device in response to an information acquisition instruction of an application program, and when the first device is called to perform information acquisition, in response to a device switching instruction,
and a device calling module 420, configured to respond to the information acquisition instruction and call the second device to perform information acquisition.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
An embodiment of the present application further provides an interactive system, where the interactive system includes a first device and a second device, the first device includes a first device, the second device includes a second device, where: the device comprises a first device used for responding to an information acquisition instruction of an application program and calling a first device to acquire information, a second device used for responding to an equipment switching instruction and sending the information acquisition instruction to the second device, and the first device used for responding to the information acquisition instruction and calling the second device to acquire information.
Referring to fig. 19, a block diagram of an electronic device 500 according to an embodiment of the present application is shown, where the electronic device 500 may be the first device 100 or the second device 200, which is not limited herein. The electronic device 500 in the present application may include one or more of the following components: a processor 510, a memory 520, a touch screen 530, and one or more applications, wherein the one or more applications may be stored in the memory 520 and configured to be executed by the one or more processors 510, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
Processor 510 may include one or more processing cores, among other things. The processor 510 interfaces with various components throughout the electronic device 500 using various interfaces and circuitry to perform various functions of the electronic device 500 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 520 and invoking data stored in the memory 520. Alternatively, the processor 510 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 510 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content to be displayed; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 510, but may be implemented by a communication chip.
The Memory 520 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 520 may be used to store instructions, programs, code sets, or instruction sets. The memory 520 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area may also store data created during use by the electronic device 500 (e.g., phone books, audio-visual data, chat log data), and so forth.
The touch screen 530 is used for displaying information input by a user, information provided to the user, and various graphic user interfaces of the electronic device 500, which may be composed of graphics, text, icons, numbers, video, and any combination thereof, and in one example, the touch screen 530 may be a Liquid Crystal Display (LCD) or an Organic Light-Emitting Diode (OLED), which is not limited herein.
Referring to fig. 20, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 600 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 600 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 600 includes a non-volatile computer-readable storage medium. The computer readable storage medium 600 has storage space for program code 610 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 610 may be compressed, for example, in a suitable form.
To sum up, the device calling method, the device calling apparatus, the interaction system, the electronic device and the storage medium provided in the embodiment of the present application, the first device responds to the information acquisition instruction of the application program, calls the first device to perform information acquisition, responds to the device switching instruction, and sends the information acquisition instruction to the second device having the second device, so as to instruct the second device to call the second device to perform information acquisition, so that when the first device calls the first device included therein to perform information acquisition, if the device switching instruction is received, the second device is instructed to call the second device included therein to perform information acquisition, so as to optimize the calling of devices having the same function between different devices, and improve user experience.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will 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 necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (18)

1. A device invocation method applied to a first device, said first device comprising a first device, said method comprising:
responding to an information acquisition instruction of an application program, and calling the first device to acquire information;
and responding to an equipment switching instruction, and sending the information acquisition instruction to second equipment with a second device so as to instruct the second equipment to call the second device to acquire information.
2. The method of claim 1, wherein the first device comprises a first image capturing device, the second device comprises a second image capturing device, and the invoking the first device for information capturing in response to the information capturing command of the application comprises:
responding to an image acquisition instruction of the application program, calling the first image acquisition device to acquire an image and acquire first image information, and displaying the first image information;
the responding equipment switching instruction sends the information acquisition instruction to second equipment with a second device to instruct the second equipment to call the second device for information acquisition, and the method comprises the following steps:
and responding to the equipment switching instruction, controlling the first image acquisition device to stop image acquisition, sending the image acquisition instruction to second equipment with a second image acquisition device, indicating the second equipment to call the second image acquisition device to acquire second image information, and displaying the second image information on the second equipment.
3. The method according to claim 2, wherein, in response to the device switching instruction, controlling the first image capturing device to stop image capturing and sending the image capturing instruction to a second device having a second image capturing device, so as to instruct the second device to call the second image capturing device to perform image capturing to obtain second image information, and after the second device displays the second image information, the method further comprises:
receiving third image information sent by the second device, wherein the third image information is obtained by processing the second image information by the second device based on the parameter information of the first device;
and displaying the third image information.
4. The method of claim 3, wherein the parameter information comprises at least one of display status information and size information, wherein the display status information comprises a landscape display status and a portrait display status.
5. The method of claim 1, wherein the first device comprises a first sound collection device, the second device comprises a second sound collection device, and the invoking the first device for information collection in response to the information collection instruction of the application comprises:
responding to a sound acquisition instruction of the application program, and calling the first sound acquisition device to acquire sound;
the responding equipment switching instruction sends the information acquisition instruction to second equipment with a second device to instruct the second equipment to call the second device for information acquisition, and the method comprises the following steps:
and responding to the equipment switching instruction, controlling the first sound collection device to stop sound collection and sending the sound collection instruction to second equipment with a second sound collection device so as to indicate the second equipment to call the second sound collection device to collect sound.
6. The method according to any one of claims 1 to 5, wherein the sending the information acquisition instruction to a second device having a second device in response to the device switching instruction to instruct the second device to invoke the second device for information acquisition comprises:
displaying an application interface of the application program, and detecting an operation acting on the application interface;
and when the operation acting on the application interface is detected to meet the preset operation, sending the information acquisition instruction to second equipment with a second device so as to instruct the second equipment to call the second device to acquire information.
7. The method according to claim 6, wherein the application interface includes a switching control, and when it is detected that an operation acting on the application interface satisfies a preset operation, the sending of the information acquisition instruction to a second device having a second device to instruct the second device to call the second device for information acquisition includes:
and when the click operation acting on the switching control is detected, the information acquisition instruction is sent to second equipment with a second device so as to instruct the second equipment to call the second device to acquire information.
8. The method according to claim 7, wherein when the number of the second devices is multiple, and when the click operation acting on the switching control is detected, the sending of the information acquisition instruction to the second device with a second device to instruct the second device to call the second device for information acquisition comprises:
when the click operation acting on the switching control is detected, displaying an equipment selection interface, wherein the equipment selection interface comprises identification information of a plurality of second equipment;
when a selection operation acting on the equipment selection interface is detected, determining a target second equipment from the plurality of second equipments in response to the selection operation;
and sending the information acquisition instruction to the target second equipment with a target second device to instruct the target second equipment to call the target second device for information acquisition.
9. The method according to any one of claims 1 to 5, wherein the sending the information acquisition instruction to a second device having a second device in response to the device switching instruction to instruct the second device to invoke the second device for information acquisition comprises:
and responding to the equipment switching instruction, sending the information acquisition instruction to second equipment with a second device to instruct the second equipment to display a selection control, and calling the second device to acquire information when receiving a confirmation operation input based on the selection control.
10. The method according to any one of claims 1-5, wherein after sending the information acquisition instruction to a second device having a second device in response to a device switching instruction to instruct the second device to invoke the second device for information acquisition, further comprising:
when a control operation for the first device is received, generating a control instruction based on the control operation;
and sending the control instruction to the second equipment with the second device to instruct the second equipment to call the second device to respond to the control operation.
11. The method of any one of claims 1-5, wherein the first device is a smartphone, a smartwatch, a smart television, or a smartphone and the second device is a smartphone, a smartwatch, a smart television, or a smartphone.
12. A device invocation method applied to a second device, said second device comprising a second device, said method comprising:
receiving an information acquisition instruction sent by first equipment with a first device, wherein the information acquisition instruction is sent by the first equipment responding to an information acquisition instruction of an application program, and responding to equipment switching instruction sending when the first device is called to carry out information acquisition;
and responding to the information acquisition instruction, and calling the second device to acquire information.
13. A device invocation method applied to an interactive system comprising a first device and a second device, wherein the first device comprises a first device and the second device comprises a second device, the method comprising:
the first device is used for calling the first device to collect information in response to an information collection instruction of an application program;
the first equipment responds to an equipment switching instruction and sends the information acquisition instruction to the second equipment;
and the second equipment responds to the information acquisition instruction and calls the second device to acquire information.
14. A device invocation apparatus, applied to a first device, said first device comprising a first device, said apparatus comprising:
the device calling module is used for responding to an information acquisition instruction of an application program and calling the first device to acquire information;
and the information acquisition instruction sending module is used for responding to an equipment switching instruction and sending the information acquisition instruction to second equipment with a second device so as to instruct the second equipment to call the second device to acquire information.
15. A device invocation apparatus, applied to a second device, said second device comprising a second device, said apparatus comprising:
the information acquisition instruction receiving module is used for receiving an information acquisition instruction sent by first equipment with a first device, wherein the information acquisition instruction is sent by the first equipment in response to an information acquisition instruction of an application program, and the first device is called to send a response equipment switching instruction during information acquisition;
and the device calling module is used for responding to the information acquisition instruction and calling the second device to acquire information.
16. An interactive system, characterized in that the interactive system comprises a first device and a second device, the first device comprising a first means and the second device comprising a second means, wherein:
the first device is used for responding to an information acquisition instruction of an application program and calling the first device to acquire information;
the first device is used for responding to a device switching instruction and sending the information acquisition instruction to the second device;
and the second device is used for responding to the information acquisition instruction and calling the second device to acquire information.
17. An electronic device comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-12.
18. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 12.
CN202011120298.1A 2020-10-19 2020-10-19 Device calling method, device calling apparatus, interaction system, electronic device, and storage medium Pending CN112181344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011120298.1A CN112181344A (en) 2020-10-19 2020-10-19 Device calling method, device calling apparatus, interaction system, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011120298.1A CN112181344A (en) 2020-10-19 2020-10-19 Device calling method, device calling apparatus, interaction system, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN112181344A true CN112181344A (en) 2021-01-05

Family

ID=73949758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011120298.1A Pending CN112181344A (en) 2020-10-19 2020-10-19 Device calling method, device calling apparatus, interaction system, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN112181344A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747056A (en) * 2021-07-23 2021-12-03 荣耀终端有限公司 Photographing method and device and electronic equipment
WO2024188028A1 (en) * 2023-03-10 2024-09-19 华为技术有限公司 Audio control method, and device and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853136A (en) * 2015-05-29 2015-08-19 小米科技有限责任公司 Video communication method and device
CN106254911A (en) * 2016-08-04 2016-12-21 腾讯科技(深圳)有限公司 A kind of control method and electronic equipment, control system
CN108958680A (en) * 2018-05-24 2018-12-07 努比亚技术有限公司 Display control method, device, display system and computer readable storage medium
CN109660842A (en) * 2018-11-14 2019-04-19 华为技术有限公司 A kind of method and electronic equipment playing multi-medium data
CN110769394A (en) * 2019-09-18 2020-02-07 华为技术有限公司 Video call method and electronic equipment
CN110830747A (en) * 2019-11-29 2020-02-21 维沃移动通信有限公司 Video call method, wearable device and storage medium
WO2020118641A1 (en) * 2018-12-13 2020-06-18 华为技术有限公司 Microphone (mic) switching method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853136A (en) * 2015-05-29 2015-08-19 小米科技有限责任公司 Video communication method and device
CN106254911A (en) * 2016-08-04 2016-12-21 腾讯科技(深圳)有限公司 A kind of control method and electronic equipment, control system
CN108958680A (en) * 2018-05-24 2018-12-07 努比亚技术有限公司 Display control method, device, display system and computer readable storage medium
CN109660842A (en) * 2018-11-14 2019-04-19 华为技术有限公司 A kind of method and electronic equipment playing multi-medium data
WO2020118641A1 (en) * 2018-12-13 2020-06-18 华为技术有限公司 Microphone (mic) switching method and device
CN110769394A (en) * 2019-09-18 2020-02-07 华为技术有限公司 Video call method and electronic equipment
CN110830747A (en) * 2019-11-29 2020-02-21 维沃移动通信有限公司 Video call method, wearable device and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747056A (en) * 2021-07-23 2021-12-03 荣耀终端有限公司 Photographing method and device and electronic equipment
WO2023000802A1 (en) * 2021-07-23 2023-01-26 荣耀终端有限公司 Photographing method and apparatus, and electronic device
WO2024188028A1 (en) * 2023-03-10 2024-09-19 华为技术有限公司 Audio control method, and device and medium

Similar Documents

Publication Publication Date Title
EP3266190B1 (en) Presenting a message in a communication session
US20130086615A1 (en) Concurrent real-time communication with media contextualized activity sharing
CN111629239B (en) Screen projection processing method, device, equipment and computer readable storage medium
EP4013003A1 (en) Communication protocol switching method, apparatus and system
CN105611215A (en) Video call method and device
CN112905289A (en) Application picture display method, device, terminal, screen projection system and medium
CN110531913B (en) Video color ring processing method, communication equipment and computer readable storage medium
CN109194972B (en) Live stream acquisition method and device, computer equipment and storage medium
CN113329240A (en) Screen projection method and device
CN112181344A (en) Device calling method, device calling apparatus, interaction system, electronic device, and storage medium
US11917329B2 (en) Display device and video communication data processing method
JP2017069663A (en) Display control device, communication terminal, communication system, display control method, and program
CN110944013A (en) Network session switching method and device, computer equipment and storage medium
CN106453032B (en) Information-pushing method and device, system
CN111683281A (en) Video playing method and device, electronic equipment and storage medium
CN105516638A (en) Video call method, device and system
CN112929592A (en) Video call method, display device and server
CN105657323A (en) Video calling method, device and system
CN112040276B (en) Video progress synchronization method, display device and refrigeration device
CN103414867B (en) Multimedia session control method, terminal and system
CN114647390A (en) Enhanced screen sharing method and system and electronic equipment
CN111953838B (en) Call dialing method, display device and mobile terminal
CN112752160B (en) Method and device for controlling video playing, computing equipment and storage medium
CN104866208B (en) Information processing method and electronic equipment
CN114860370B (en) Display equipment, server and software development kit switching method

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