CN113518143B - Interface input source switching method and device, electronic equipment and storage medium - Google Patents

Interface input source switching method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113518143B
CN113518143B CN202110322385.3A CN202110322385A CN113518143B CN 113518143 B CN113518143 B CN 113518143B CN 202110322385 A CN202110322385 A CN 202110322385A CN 113518143 B CN113518143 B CN 113518143B
Authority
CN
China
Prior art keywords
interface
target
input source
image data
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110322385.3A
Other languages
Chinese (zh)
Other versions
CN113518143A (en
Inventor
罗浩天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110322385.3A priority Critical patent/CN113518143B/en
Publication of CN113518143A publication Critical patent/CN113518143A/en
Priority to PCT/CN2022/082490 priority patent/WO2022199614A1/en
Application granted granted Critical
Publication of CN113518143B publication Critical patent/CN113518143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an interface input source switching method and device and electronic equipment, belongs to the technical field of communication, and aims to solve the technical problem of single function caused by fixed data input sources of applications in the electronic equipment. Specifically, the method comprises the following steps: receiving a first input of a user under the condition that a first interface of a first application is displayed; and responding to the first input, and switching an input source corresponding to the first interface into interface image data of a target interface corresponding to the first input. The method and the device are applied to the interface content sharing process.

Description

Interface input source switching method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to an interface input source switching method and device and electronic equipment.
Background
With the development of computer technology and communication technology, applications installed in electronic devices have more and more functions. Generally, after an electronic device runs a certain application, if a user wants to implement a certain function on an interface currently displayed by the application, the function is executed based on data input by a data input source corresponding to the interface. For example, taking two-dimensional code identification as an example, when a user wants to identify a two-dimensional code through a two-dimensional code scanning interface, because the input source corresponding to the two-dimensional code scanning interface is image data acquired by a camera, the electronic device can scan an image through the camera, and identify the two-dimensional code in the image according to the image data obtained by scanning the camera.
However, most applications in electronic devices generally use a fixed data input source, so that the functions that can be implemented by the applications are single, and thus the man-machine interaction performance of the electronic device is poor.
Disclosure of Invention
The embodiment of the application aims to provide an interface input source switching method, an interface input source switching device and electronic equipment, which can solve the problem that partial application in the electronic equipment can realize single function due to the use of a fixed data input source.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides an interface input source switching method, which is applied to a first electronic device, where the method includes: receiving a first input in the case that the first interface is displayed; responding to the first input, and switching an input source corresponding to the first interface into interface image data of a target interface; the interface image data of the target interface is image data except for image data in a gallery in the first electronic device.
In a second aspect, an embodiment of the present application provides an apparatus for switching an interface input source, where the apparatus is a first electronic device, including: the receiving module is used for receiving a first input under the condition that a first interface is displayed; the switching module is used for responding to the first input received by the receiving module and switching an input source corresponding to the first interface into interface image data of a target interface; the interface image data of the target interface is image data except for image data in a gallery in the first electronic device.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program stored on the memory and executable on the processor, the program implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program which when executed by a processor implements the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored on a non-volatile storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, when the first electronic device displays the first interface, after receiving the first input of the user, the input source corresponding to the first interface is switched to the interface image data of the target interface. Therefore, the first electronic equipment can realize more functions by combining different interface contents by switching the input source corresponding to the first interface into the interface contents of the interfaces corresponding to different inputs, so that the purpose of identifying the interface information of the electronic equipment across the interfaces is realized, more requirements of users are met, and the man-machine interaction performance of the first electronic equipment is improved.
Drawings
FIG. 1 is a schematic flow chart of an interface input source switching method according to an embodiment of the present application;
FIG. 2 is a second flow chart of an interface input source switching method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interface to which the interface input source switching method according to the embodiment of the present application is applied;
FIG. 4 is a second schematic diagram of an interface applied in the method for switching an input source of an interface according to an embodiment of the present application;
FIG. 5 is a third schematic diagram of an interface applied by an interface input source switching method according to an embodiment of the present application;
FIG. 6 is a second flow chart of an interface input source switching method according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an interface applied by an interface input source switching method according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an interface input source switching device according to an embodiment of the present application;
FIG. 9 is a second schematic diagram of an interface input source switching device according to an embodiment of the present application;
FIG. 10 is a third schematic diagram of an interface input source switching device according to an embodiment of the present application;
FIG. 11 is a schematic diagram of hardware of an electronic device according to an embodiment of the present application;
fig. 12 is a second hardware schematic of the electronic device according to the embodiment of the application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The interface input source switching method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The technical scheme provided by the embodiment of the application is at least applied to a scene of realizing the application function across interfaces or a scene of realizing the application function across applications.
Taking a scenario of identifying a two-dimensional code across applications as an example. At present, some applications in electronic devices do not have a function of identifying two-dimensional codes, or do not have a function of calling stored two-dimensional code images from an album, or two-dimensional codes in a certain application cannot be stored, so that the two-dimensional codes cannot be identified across applications. For example, assuming that the application 2 does not have a function of identifying a two-dimensional code, when a user wants to identify the two-dimensional code B in the interface a of the application 2 through the application 1, a screenshot is required to obtain an interface screenshot containing the two-dimensional code B, then the screenshot is called from the album through the application 1, and then the two-dimensional code identification function of the application 1 is started to identify the two-dimensional code B in the screenshot, so that an identification result of the two-dimensional code B is obtained. Meanwhile, the screenshot is required to be deleted from the album by a user, so that the whole two-dimensional code identification process is complicated in steps, long in time consumption and poor in overall human-computer interaction performance.
In the embodiment of the application, when a user wants to identify the two-dimensional code B in the interface A of the application 2 through the application 1, the first interface of the application 1 is a two-dimensional code scanning interface, the input source corresponding to the two-dimensional code scanning interface is the image data collected by the camera, the user can perform first input on the two-dimensional code scanning interface, so that the electronic equipment is triggered to switch the image data collected by the camera corresponding to the input source of the two-dimensional code scanning interface into the interface image data of the interface A, the interface content of the interface A is displayed, and then the two-dimensional code B in the interface A can be identified through the background or the application 1, so that the identification result of the two-dimensional code B is obtained. Therefore, through the first input, the image data of the input source corresponding to the two-dimension code scanning interface, which is acquired by the camera, is switched into the interface image data of the interface A, the function of directly identifying the two-dimension code B of the interface A of the application 2 through the application 1 is realized, and the purpose of identifying the interface information of the electronic equipment across the application by a user is fulfilled.
The embodiment of the application provides an interface input source switching method, which is applied to a first electronic device, as shown in fig. 1, and the method may include the following steps 101 to 103.
Step 101, the interface input source switching device receives a first input when a first interface is displayed.
In the embodiment of the present application, the first interface is an interface of a first application.
In one example, the first input is used to switch the input source corresponding to the first interface. Further, the first input may include: the touch input of the user to the first interface, or the voice input, or other feasibility input, which is not limited by the embodiment of the present application.
In one example, in a case where the first interface includes a first control, the first input is: a first input by a user to the first control. The first control may be suspended at the first interface.
In one example, where the first interface includes a text input area, the first input may be an input of input text.
Step 102, the interface input source switching device responds to the first input and switches the input source corresponding to the first interface into the interface image data of the target interface.
In an embodiment of the present application, the first interface may be: coded image scan interface, or session interface, etc. The session interface comprises a video session interface and a text session interface. It should be noted that the data input sources corresponding to different first interfaces may be the same or different. Generally, the input source of an interface is related to the interface content of the interface and the functions that can be implemented in the interface.
In the embodiment of the present application, the interface image data of the target interface may be image data of the first electronic device other than image data in a gallery.
In the embodiment of the application, the target interface may be any history interface of the first application, may be an application interface of other applications, may be an interface selected by a user, or may be a screen real-time display interface.
In the embodiment of the application, the interface input source switching device responds to the first input, switches the input source corresponding to the first interface into the interface image data of the target interface corresponding to the first input, and displays the target interface.
In the embodiment of the application, if the target interface is an interface of a first application, the interface input source switching device directly switches an input source corresponding to the first interface into interface image data of the first application; if the target interface is an interface of another application, the other application (such as background startup) needs to be started, the interface content of the target interface is called, and then, under the condition that a first application is run, the input source corresponding to the first interface is switched to the interface image data of the target interface.
Optionally, in the embodiment of the present application, after receiving the first input, the interface input source switching device determines the target interface based on the first input, and then switches the input source corresponding to the first interface to the interface image data of the target interface.
According to the interface input source switching method provided by the embodiment of the application, under the condition that the first electronic equipment displays the first interface of the first application, after receiving the first input of the user, the input source corresponding to the first interface is switched into the interface image data of the target interface corresponding to the first input, and the target interface is displayed. Therefore, the first electronic equipment can realize more functions by combining different interface contents by switching the input source corresponding to the first interface into the interface contents of the interfaces corresponding to different inputs, so that the purpose of identifying the interface information of the electronic equipment across the interfaces is realized, more requirements of users are met, and the man-machine interaction performance of the first electronic equipment is improved.
The schemes provided by the embodiments of the present application will be described below by taking different input sources as examples.
A first possible implementation:
in the implementation manner, the scene of the shooting preview interface of the first application is mainly aimed at the first interface. The input source corresponding to the first interface is image data collected by the camera. The shooting preview interface is an interface that is shot by a camera and displayed on a screen, for example, the shooting preview interface is: the interface observed by the code scanning on the screen or the interface observed by the camera on the screen is opened.
In general, when identifying a coded image on an interface of an electronic device, the coded image in the current application is usually identified directly, or the coded image to be identified is stored in an album, and then scan identification is performed by calling the corresponding coded image from the album. However, if the current application does not support identifying the encoded image, or the two-dimensional code image cannot be stored, or the application for scanning the two-dimensional code does not support selecting the stored image from the album, and the camera is called to scan the image on the interface with the device, the encoded image cannot be identified and used just in front of the eyes.
Illustratively, the first interface is configured to perform code scanning identification, and the target interface includes any one of the following: the last interface displayed before the first interface is displayed, which contains the encoded image, is the interface selected by the user.
Illustratively, the target encoded image includes, but is not limited to: two-dimensional codes, bar codes, and the like.
The interface selected by the user may be an interface selected by the user from the first application, or an interface selected by the user from other applications; the interface selected from the other applications may be an interface displayed before the first interface is displayed, or may be an interface displayed after the first interface is displayed. The embodiment of the present application is not limited thereto.
As shown in fig. 2, after the step 102, the solution provided by the embodiment of the present application may further include the following step 201A:
in step 201A, when the interface content of the target interface includes a target encoded image, the interface input source switching device scans the target encoded image in the interface content of the identified target interface, and obtains an identification result of the target encoded image.
It should be noted that, the embodiment of the present application is not limited to the identification of the target encoded image.
It should be noted that, in the case that none of the interfaces displayed before the first interface is displayed contains a coded image, the interface input source switching device returns to the previous interface of the coded image scanning interface directly after receiving the first input, and then the user manually selects the target interface containing the coded image that can be recognized by the first application.
Referring to fig. 3, a two-dimensional code is taken as an example to describe a scheme provided by the embodiment of the present application, and specifically, the scheme provided by the embodiment of the present application may include the following contents:
the interface input source switching device displays a preview interface of the two-dimensional code camera, after a user clicks a switching control in the preview interface of the two-dimensional code camera, the interface input source switching device switches the image input source of the scanning interface of the two-dimensional code camera from the collected image data of the camera into screen image data of the electronic equipment, and closes the preview interface of the two-dimensional code camera; and then the interface input source switching device judges whether a two-dimensional code interface is included in a history interface before the two-dimensional code camera preview interface is displayed, if so, the two-dimensional code in the last interface including the two-dimensional code in the history interface is identified, and an identification result is obtained, otherwise, the previous interface of the two-dimensional code camera preview interface is returned, then the two-dimensional code interface to be identified is manually selected by a user, and the two-dimensional code in the two-dimensional code interface is identified, so that the identification result of the two-dimensional code is obtained.
If the target interface includes a plurality of encoded images, the interface input source switching device recognizes one encoded image identified by the user among the plurality of encoded images.
For example, taking the case that the encoded image is a two-dimensional code as an example, if the target interface includes a plurality of two-dimensional codes, the interface input source switching device displays a suspended two-dimensional code identification frame in the target interface, a user can manually adjust the suspended two-dimensional code identification frame to be above the two-dimensional code to be identified, and then the interface input source switching device scans and identifies the two-dimensional code.
For example, in the process of identifying two-dimensional codes in other application interfaces across interfaces in the embodiment of the present application, as shown in fig. 4, when a user wants to identify a payment two-dimensional code 42 in a payment interface 41 in an application 1, the user may start an application 2 having a two-dimensional code scanning function with reference to (a) in fig. 4 and then trigger a "sweep" function in the application 2, because the application 1 does not have the two-dimensional code scanning function. At this time, as shown in fig. 4 (b), the two-dimensional code scanning interface 43 of the application 2 is displayed, the two-dimensional code scanning interface 43 includes a "switch" control (i.e., the first control mentioned above), and the user clicks the "switch" control to trigger the electronic device to switch the input source (i.e., the image data collected by the camera) of the two-dimensional code scanning interface 43 to the interface content of the interface 41, so that the electronic device displays the payment interface 41 in the application 1 (as shown in fig. 4 (c)), and directly identifies the payment two-dimensional code 42 in the payment interface 41 through the application 2, thereby obtaining the identification result (as shown in fig. 4 (d)).
Therefore, the operation steps of a user are reduced, the coded images are more conveniently identified, and the function of identifying the coded images in other application interfaces across interfaces is realized.
A second possible implementation:
the implementation method is mainly aimed at a scene that a first interface is a video session interface of a first application, wherein an input source corresponding to the video session interface is image data collected by a camera.
The interface input source switching device may switch the image data collected by the camera from the input source of the video session interface to the screen display data of the first electronic device after receiving the first input. At this time, the target interface is an interface displayed on the screen of the first electronic device, and the interface displayed on the screen of the first electronic device is continuously changed along with the operation of the user, so the target interface is also continuously changed. It should be noted that, the interface content of the target interface sent by the interface input source switching device to the second electronic device may be an interface displayed on the screen of the first electronic device in real time after switching, or may be any interface displayed on the screen of the first electronic device after switching.
Example 1, as shown in fig. 5 (a), device a displays a video session interface 31 for a video session between device a and device B, the video session interface 31 including a "switch" hover control 32. If the user a wants to share the screen content during the video session, the user a may click on the "switch" hover control 32 in the video session interface 31 to switch the image data input by the video session interface 31 from the image data acquired by the camera to the screen display content of the device a (see (B) in fig. 5), where the user a may select to display the face head portrait of the device B in the device a, or may select not to display the face head portrait.
For example, as shown in fig. 6, after the step 102, the solution provided by the embodiment of the present application may further include the following step 201B.
Step 201B, in the video session process between the first electronic device and the second electronic device, the interface input source switching device sends the interface content of the target interface to the second electronic device.
The interface content of the target interface is the interface content to be shared by the user.
Generally, an image input source of a video session interface is image data collected by a camera, and because the embodiment of the application is to meet the requirement of a user for sharing interface content in the video session process, an interface input source switching device switches the image input source of the video session interface to the interface image data of the interface to be shared by the user, so that in the video session process of a first electronic device and a second electronic device, the first electronic device can send the interface content of a target interface to the second electronic device, and thus, the requirement of the user for sharing the interface content in the video session process is met.
The interface input source switching device sends the interface content of the target interface to the second electronic device through a video session window of the first electronic device and the second electronic device. In this way, the content of the video session window is switched from the display camera-captured picture content (e.g., character avatar) to the interface content of the target interface.
In an exemplary embodiment, after the second electronic device receives the interface content of the target interface sent by the first electronic device, the second electronic device may directly display the interface content of the target interface, or may display the interface content of the target interface after confirmation display by the second electronic device.
For example, after the video session interface is switched to the target interface, the first control may also be included in the target interface, so that the video session interface may be returned again after receiving the input of the user to the first control in the target interface.
Therefore, the users of the first electronic equipment and the second electronic equipment can share the same screen content in the video session process.
A third possible implementation:
the implementation mode is mainly aimed at a session interface of a first application, wherein an input source corresponding to the session interface is an input source of a target session between the first electronic device and the second electronic device.
For example, in response to the first input, the switching the input source corresponding to the first interface to the interface image data of the target interface may include the following step 301:
step 301, when the interface input source switching device detects the target content in the session interface, switching the input source corresponding to the first interface to the interface image data of the target interface.
Wherein, the target interface comprises: an interface associated with the target content, or a user-selected interface.
The second electronic device may be one or more electronic devices, for example.
The session interface may be a video session interface or a text session interface, for example.
Illustratively, the target content is used to indicate a target interface.
Example 2, refer to the session interface of session 1 between user C and user D shown in fig. 7. When the electronic device detects that the session interface includes the sharing keyword (for example, "can let me see shopping cart of your shopping application 1" in the session interface in fig. 7), the electronic device may automatically jump to the shopping application 1 after confirming that the shopping cart interface image data of the shopping application 1 is shared by the user, switch the input source of the session 1 to the interface image data of the shopping cart of the shopping application 1, or manually select the shopping application 1 by the user, further switch the input source of the session 1 to the interface image data of the shopping cart of the shopping application 1, and switch the input source of the session interface between the first electronic device and the second electronic device to the interface image data of the shopping cart of the shopping application 1. Therefore, the user is not required to firstly capture and save the interface image of the shopping cart of the shopping application 1, and then the stored capture of the shopping cart is sent through the session interface, so that the man-machine interaction performance is improved.
Illustratively, in conjunction with step 301 described above, following step 103, the following step 201C may be included:
step 201C, the interface input source switching device sends the target content indicated object to be shared to the second electronic device.
For example, the object to be shared may include at least one of the following: pictures, text, audio-video, text, files, screen content of the first electronic device, web pages, etc.
The interface input source switching device is configured to, when detecting that the session interface includes the target content, pop up a dialog box by the first electronic device, so that a user determines an object to be shared indicated by the target content, and finally, share the object to be shared confirmed by the user to the second electronic device.
Illustratively, in connection with example 2, after user C sends the interface image data of shopping cart of shopping application 1 to user D's second electronic device via user C's first electronic device, user D may view the interface image data of shopping cart of shopping application 1 of user C via the current conversation application. Therefore, in the process of facilitating the user to take a conversation, the user can also view the shared interface related to the target content in the conversation interface across interfaces, and the user does not need to capture and save the interface image related to the target content in advance.
It should be noted that the target content may be recognized by voice or text; the target content may include preset keywords, such as: picture sharing, screen sharing, file sharing, text chat switching, voice chat switching, video chat switching and the like. The target interface may include a screenshot of a text chat interface of the first user and the second user (for the case when the preset keyword is a text chat switching), a screenshot of a voice chat interface (for the case when the preset keyword is a voice chat switching), or a file interface of the first user (for the case when the preset keyword is a file sharing), where the first user may be a participant corresponding to the session interface, and the second user may be other users than the participant corresponding to the session interface.
Illustratively, the interface input source switching device detects that the video session interface contains the target content: the interface input source switching device may automatically switch an input source corresponding to a session interface (e.g., a video session interface) to interface image data of a target interface, or may switch an input source corresponding to a session interface (e.g., a video session interface) to interface image data of a target interface after receiving an input of a user of the first electronic device (i.e., after confirmation by the user of the first electronic device).
It should be noted that, in the interface input source switching method provided by the embodiment of the present application, the execution body may be a device, an electronic device, or a control module in the electronic device for executing the interface input source switching method. In the embodiment of the application, an electronic device executing an interface input source switching method is taken as an example, and the electronic device for implementing the interface input source switching method provided by the embodiment of the application is described.
As shown in fig. 8, an embodiment of the present application provides an interface input source switching device. The device comprises: a receiving module 401, a switching module 402, wherein:
the receiving module 401 is configured to receive a first input if the first interface is displayed.
The switching module 402 is configured to switch an input source corresponding to the first interface to interface image data of the target interface in response to the first input received by the receiving module 401.
Optionally, the interface image data of the target interface is image data in the first electronic device other than image data in the gallery.
Optionally, before the input source is switched, the input source corresponding to the first interface is image data collected by the camera.
Optionally, the first interface is used for performing code scanning identification. Wherein the target interface is any one of the following: the last interface containing the encoded image displayed prior to displaying the first interface; an interface selected by the user.
Optionally, in conjunction with fig. 8, as shown in fig. 9, the apparatus may further include: the identification module 404A.
And the identifying module 404A is configured to scan and identify the target coded image in the interface content of the target interface to obtain an identification result of the target coded image when the interface content of the target interface contains the target coded image.
Optionally, the first interface is a video session interface.
The receiving module 401 is configured to switch, when the target content is detected in the video session interface, an input source corresponding to the first interface to interface image data of the target interface.
Wherein the target interface comprises: an interface associated with the target content, or a user-selected interface.
Optionally, in conjunction with fig. 8, as shown in fig. 10, the apparatus may further include: and a transmitting module 404B.
And a sending module 404B, configured to send interface content of the target interface to the second electronic device during the video session between the first electronic device and the second electronic device.
According to the interface input source switching device provided by the embodiment of the application, under the condition that the first interface of the first application is displayed, after the first input of the user is received, the input source corresponding to the first interface is switched to the interface image data of the target interface corresponding to the first input. Therefore, the first electronic equipment can realize more functions by combining different interface contents by switching the input source corresponding to the first interface into the interface contents of the interfaces corresponding to different inputs, so that the purpose of identifying the interface information of the electronic equipment across the interfaces is realized, more requirements of users are met, and the man-machine interaction performance of the first electronic equipment is improved.
The interface input source switching device in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), and the like, and the non-mobile electronic device may be a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, or the like, and the embodiments of the present application are not limited in particular.
The interface input source switching device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The interface input source switching device provided by the embodiment of the application can realize each process realized by the embodiment of the method, and in order to avoid repetition, the description is omitted.
Optionally, as shown in fig. 11, the embodiment of the present application further provides an electronic device 500, including a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and capable of running on the processor 501, where the program or the instruction implements each process of the above embodiment of the interface input source switching method when executed by the processor 501, and the process can achieve the same technical effect, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 12 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the processor 1010 is configured to: under the condition that the first electronic equipment is provided with a first interface, receiving a first input, and switching an input source corresponding to the first interface into interface image data of a target interface; the interface image data of the target interface is image data except for image data in a gallery in the first electronic device.
According to the embodiment of the application, the electronic equipment can switch the input source corresponding to the first interface into the interface image data of the target interface after receiving the first input of the user to the first interface, and based on the scheme, the first electronic equipment can realize more functions by combining different interface contents by switching the input source corresponding to the first interface into the interface contents of the interface corresponding to different inputs, so that the purpose of identifying the interface information of the electronic equipment across the interfaces is realized, more requirements of the user are met, and the man-machine interaction performance of the first electronic equipment is improved.
It should be understood that, in the embodiment of the present application, the radio frequency unit 1001 may be used to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 1010; and, the uplink data is transmitted to the base station. In general, the radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1001 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 1002, such as helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic apparatus 1000. The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
It should be appreciated that in an embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 1009 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 1010 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The interface unit 1008 is an interface to which an external device is connected to the electronic apparatus 1000. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1008 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 1000 or may be used to transmit data between the electronic apparatus 1000 and an external device.
In addition, the electronic device 1000 includes some functional modules that are not shown, and will not be described in detail herein.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, realizes each process of the interface input source switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. Readable storage media include computer readable storage media such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the interface input source switching method embodiment can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a nonvolatile storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-described interface input source switching method embodiment, and achieve the same technical effects, so that repetition is avoided, and no further description is given here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (8)

1. An interface input source switching method, which is characterized by being applied to a first electronic device, comprises the following steps:
receiving a first input under the condition that a first interface of a first application is displayed, wherein the first interface is used for carrying out code scanning identification;
responding to the first input, switching an input source corresponding to the first interface into interface image data of a target interface, and identifying the interface image data through the first interface;
the target interface is an interface which cannot be identified by the interface image data in the second application, and the interface image data of the target interface is: image data in the first electronic device other than the image data in the gallery; and before the input source is switched, the input source corresponding to the first interface is the image data acquired by the camera.
2. The method of claim 1, wherein the target interface comprises any one of:
the last interface containing the encoded image displayed prior to displaying the first interface;
an interface selected by the user.
3. The method according to claim 2, wherein, in case of including a target encoded image in the interface content of the target interface,
after the input source corresponding to the first interface is switched to the interface image data of the target interface, the method includes:
and scanning and identifying the target coding image in the interface content of the target interface to obtain an identification result of the target coding image.
4. An interface input source switching device, the device comprising:
the receiving module is used for receiving a first input under the condition that a first interface of a first application is displayed, and the first interface is used for conducting code scanning identification;
the switching module is used for responding to the first input received by the receiving module, switching an input source corresponding to the first interface into interface image data of a target interface, and identifying the interface image data through the first interface;
the target interface is an interface which cannot be identified by the interface image data in the second application, and the interface image data of the target interface is the image data except the image data in the gallery in the first electronic device; and before the input source is switched, the input source corresponding to the first interface is the image data acquired by the camera.
5. The apparatus of claim 4, wherein the target interface comprises any one of:
the last interface containing the encoded image displayed prior to displaying the first interface;
an interface selected by the user.
6. The apparatus of claim 5, wherein the apparatus further comprises: an identification module;
the identification module is used for scanning and identifying the target coding image in the interface content of the target interface to obtain the identification result of the target coding image under the condition that the interface content of the target interface contains the target coding image.
7. An electronic device comprising a processor, a memory and a program stored on the memory and executable on the processor, the program when executed by the processor implementing the steps of the interface input source switching method of any one of claims 1 to 3.
8. A readable storage medium, wherein a program is stored on the readable storage medium, which when executed by a processor, implements the interface input source switching step of any one of claims 1 to 3.
CN202110322385.3A 2021-03-25 2021-03-25 Interface input source switching method and device, electronic equipment and storage medium Active CN113518143B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110322385.3A CN113518143B (en) 2021-03-25 2021-03-25 Interface input source switching method and device, electronic equipment and storage medium
PCT/CN2022/082490 WO2022199614A1 (en) 2021-03-25 2022-03-23 Interface input source switching method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110322385.3A CN113518143B (en) 2021-03-25 2021-03-25 Interface input source switching method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113518143A CN113518143A (en) 2021-10-19
CN113518143B true CN113518143B (en) 2023-08-22

Family

ID=78062102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110322385.3A Active CN113518143B (en) 2021-03-25 2021-03-25 Interface input source switching method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113518143B (en)
WO (1) WO2022199614A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518143B (en) * 2021-03-25 2023-08-22 维沃移动通信有限公司 Interface input source switching method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360071A (en) * 2008-09-16 2009-02-04 腾讯科技(深圳)有限公司 Method and system for multimedia resource sharing based on instant chat
CN102880849A (en) * 2012-09-18 2013-01-16 腾讯科技(深圳)有限公司 Two-dimension code recognition method and device
CN103218595A (en) * 2013-03-29 2013-07-24 深圳市金立通信设备有限公司 Terminal and method for recognizing two-dimensional codes
CN103716227A (en) * 2013-12-12 2014-04-09 北京京东尚科信息技术有限公司 Method and device for performing information interaction in instant messenger
CN104200185A (en) * 2014-08-04 2014-12-10 惠州Tcl移动通信有限公司 Method for identifying two-dimensional code and terminal
CN104834554A (en) * 2014-04-02 2015-08-12 腾讯科技(北京)有限公司 Information interaction method and device
CN106845311A (en) * 2016-11-09 2017-06-13 北京鼎九信息工程研究院有限公司 A kind of reading method and device of figure Quick Response Code
CN112069358A (en) * 2020-08-18 2020-12-11 北京达佳互联信息技术有限公司 Information recommendation method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160196588A1 (en) * 2015-01-06 2016-07-07 Cho Yi Lin Interacting method
CN106874817A (en) * 2016-07-27 2017-06-20 阿里巴巴集团控股有限公司 Two-dimensional code identification method, equipment and mobile terminal
CN113518143B (en) * 2021-03-25 2023-08-22 维沃移动通信有限公司 Interface input source switching method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360071A (en) * 2008-09-16 2009-02-04 腾讯科技(深圳)有限公司 Method and system for multimedia resource sharing based on instant chat
CN102880849A (en) * 2012-09-18 2013-01-16 腾讯科技(深圳)有限公司 Two-dimension code recognition method and device
CN103218595A (en) * 2013-03-29 2013-07-24 深圳市金立通信设备有限公司 Terminal and method for recognizing two-dimensional codes
CN103716227A (en) * 2013-12-12 2014-04-09 北京京东尚科信息技术有限公司 Method and device for performing information interaction in instant messenger
CN104834554A (en) * 2014-04-02 2015-08-12 腾讯科技(北京)有限公司 Information interaction method and device
CN104200185A (en) * 2014-08-04 2014-12-10 惠州Tcl移动通信有限公司 Method for identifying two-dimensional code and terminal
CN106845311A (en) * 2016-11-09 2017-06-13 北京鼎九信息工程研究院有限公司 A kind of reading method and device of figure Quick Response Code
CN112069358A (en) * 2020-08-18 2020-12-11 北京达佳互联信息技术有限公司 Information recommendation method and device and electronic equipment

Also Published As

Publication number Publication date
WO2022199614A1 (en) 2022-09-29
CN113518143A (en) 2021-10-19

Similar Documents

Publication Publication Date Title
CN113360238A (en) Message processing method and device, electronic equipment and storage medium
CN110674662B (en) Scanning method and terminal equipment
CN111629239B (en) Screen projection processing method, device, equipment and computer readable storage medium
CN110536008B (en) Screen projection method and mobile terminal
CN112312144B (en) Live broadcast method, device, equipment and storage medium
CN110865745A (en) Screen capturing method and terminal equipment
CN113285866B (en) Information sending method and device and electronic equipment
CN112416200A (en) Display method, display device, electronic equipment and readable storage medium
CN111383175A (en) Picture acquisition method and electronic equipment
CN112711366A (en) Image generation method and device and electronic equipment
CN113518143B (en) Interface input source switching method and device, electronic equipment and storage medium
CN112269509B (en) Information processing method and device and electronic equipment
CN113721876A (en) Screen projection processing method and related equipment
CN112333337A (en) Message checking method, device, equipment and storage medium
CN112235412B (en) Message processing method and device
CN111694975B (en) Image display method, device, electronic equipment and readable storage medium
CN111447598B (en) Interaction method and display device
CN111178306B (en) Display control method and electronic equipment
CN111209072B (en) Application sharing method, first electronic device and readable storage medium
CN112181351A (en) Voice input method and device and electronic equipment
WO2023046105A1 (en) Message sending method and apparatus and electronic device
CN112383666B (en) Content sending method and device and electronic equipment
CN115718581A (en) Information display method and device, electronic equipment and storage medium
CN112269510B (en) Information processing method and device and electronic equipment
JP6441385B2 (en) Information input method, apparatus, program, and recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant