WO2020211692A1 - 信息交互方法及终端设备 - Google Patents

信息交互方法及终端设备 Download PDF

Info

Publication number
WO2020211692A1
WO2020211692A1 PCT/CN2020/083970 CN2020083970W WO2020211692A1 WO 2020211692 A1 WO2020211692 A1 WO 2020211692A1 CN 2020083970 W CN2020083970 W CN 2020083970W WO 2020211692 A1 WO2020211692 A1 WO 2020211692A1
Authority
WO
WIPO (PCT)
Prior art keywords
interactive
terminal device
frequency band
information
dimensional code
Prior art date
Application number
PCT/CN2020/083970
Other languages
English (en)
French (fr)
Inventor
潘斌斌
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2020211692A1 publication Critical patent/WO2020211692A1/zh

Links

Images

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
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the present disclosure relates to the technical field of communication applications, in particular to an information interaction method and terminal equipment.
  • Two-dimensional bar code/two-dimensional code (2-dimensional bar code) is to use a certain geometric figure to record data symbol information in a black and white pattern distributed on a plane (two-dimensional direction) according to a certain rule; ingenious in coding Utilizing the concept of "0" and "1" bit streams that constitute the internal logic of the computer, several geometric shapes corresponding to the binary system are used to represent text and numerical information, and the information is automatically read by image input equipment or photoelectric scanning equipment Automatic processing. Two-dimensional barcode/two-dimensional code can express information in both horizontal and vertical directions at the same time, so it can express a large amount of information in a small area.
  • the two-dimensional code has an important defect that it can only transmit information in one direction, from the display end of the two-dimensional code to the terminal with a camera.
  • a mobile phone A on our own mutual transmission application APP, a mobile phone A generates a WIFI hotspot, and tells another mobile phone B through a QR code to let B connect to the hotspot.
  • WIFI hotspot has two modes: 2.4G and 5G.
  • mobile phone A When mobile phone A generates a QR code, it is not known whether mobile phone B supports 5G WIFI hotspot mode.
  • mobile phone A can only use 2.4G hotspot mode first. After mobile phone B is connected, it can communicate via WIFI, telling A to support 5G hotspots, and then both parties can re-create and connect to 5G hotspots. The process takes more time.
  • Mobile phone A generates a QR code
  • mobile phone B scans it, and it can only be transmitted from mobile phone A to mobile phone B through the QR code, but the interactive message generated by mobile phone B against the scanned QR code cannot be obtained through the QR code. .
  • the purpose of the present disclosure is to provide an information interaction method and terminal device to solve the problem that two terminal devices cannot perform two-way information interaction for a certain event through a two-dimensional code.
  • embodiments of the present disclosure provide an information interaction method, which is applied to a first terminal device, the first terminal device includes a first screen and a second screen, and the method includes:
  • a second interactive two-dimensional code is generated, and the second interactive two-dimensional code is displayed on the second screen, and the second interactive two-dimensional code carries the The second interaction information of the preset event.
  • the embodiments of the present disclosure also provide a terminal device, including a first screen and a second screen, and further including:
  • the obtaining module is configured to obtain the first interactive QR code scanned on the QR code scanning interface displayed on the first screen, where the first interactive QR code is displayed on the screen of the second terminal device and carries a preset The QR code of the first interactive information of the event;
  • the processing module is configured to generate a second interactive two-dimensional code according to the first interactive two-dimensional code, and display the second interactive two-dimensional code on the second screen, and the second interactive two-dimensional code
  • the code carries the second interaction information of the preset event.
  • the embodiments of the present disclosure also provide a terminal device, including a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor.
  • a terminal device including a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor. The steps of the information interaction method described above are realized when executed.
  • the embodiments of the present disclosure also provide a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the information interaction method described above are implemented .
  • the first terminal device after the first terminal device obtains the first interactive information for the preset event through the first interactive two-dimensional code, it transmits the second information for the preset event to the second interactive two-dimensional code.
  • Two terminal devices so as to realize two-way information exchange on preset events through a QR code between two terminal devices.
  • FIG. 1 is a schematic flowchart of an information interaction method according to an embodiment of the disclosure
  • FIG. 2 is a schematic diagram of displaying a third interactive QR code on a first terminal device in an embodiment of the disclosure
  • FIG. 3 is a schematic diagram of interaction of a two-dimensional code in an embodiment of the disclosure.
  • FIG. 4 is a schematic diagram of the first terminal device updating and displaying an interactive two-dimensional code in an embodiment of the disclosure.
  • FIG. 5 is one of the schematic diagrams of a terminal device provided by an embodiment of the disclosure.
  • FIG. 6 is the second schematic diagram of a terminal device provided by an embodiment of the disclosure.
  • FIG. 7 is a structural block diagram of a terminal device provided by an embodiment of the disclosure.
  • FIG. 1 it is a schematic flowchart of an information interaction method provided by an embodiment of the present disclosure. The following describes the implementation process of the method in detail with the figure.
  • the information interaction method provided by the embodiments of the present disclosure is applied to a first terminal device, and the first terminal device includes a first screen and a second screen, and the first screen and the second screen are two relatively set Screens.
  • the terminal device can be a double-sided screen terminal or a folding screen terminal.
  • the information interaction method may include the following steps:
  • Step 101 Obtain a first interactive QR code scanned by a QR code scanning interface displayed on the first screen, where the first interactive QR code is a display on the screen of the second terminal device that carries a preset event The QR code of the first interactive information.
  • the foregoing preset event may specifically be the establishment of a WIFI hotspot connection between the first terminal device and the second terminal device.
  • the first interactive two-dimensional code may carry interactive information of the frequency band supported by the WIFI hotspot connection of the second terminal device.
  • the second terminal device is also a double-sided screen terminal device.
  • the first screen and the second screen, and the first screen and the second screen are arranged relative to each other, and the first interactive QR code is displayed on the second terminal device.
  • the screen for example, is displayed on the back screen of the second terminal device.
  • Step 102 Generate a second interactive two-dimensional code based on the first interactive two-dimensional code, and display the second interactive two-dimensional code on the second screen, and the second interactive two-dimensional code carries There is second interaction information of the preset event.
  • the first interactive QR code is parsed, the first interactive information carried by the first interactive QR code is acquired, and response information is generated for the first interactive information, such as the first terminal device and the second terminal Information about the target frequency band used when the device establishes a WIFI hotspot connection, and then generates a second interactive QR code based on the response information and displays it on the second screen.
  • one of the screens for example, the front screen, is used to display the QR code scanning interface, and the first interactive QR code of the second terminal device is scanned, and another screen, such as the back screen, is used to display
  • the second interactive two-dimensional code generated according to the first interactive two-dimensional code enables the second terminal device to obtain the aforementioned second interactive message for the preset event according to the second interactive two-dimensional code, so as to realize the display of the two-dimensional code and Scanning is dynamically combined, so as to realize two-way information interaction between two terminal devices on preset events through a QR code.
  • the first interactive QR code scanned by the QR code scanning interface displayed on the first screen is acquired, and the first interactive QR code is displayed on the screen of the second terminal device A two-dimensional code carrying first interactive information for a preset event; analyzing the first interactive two-dimensional code to generate a second interactive two-dimensional code, and placing the second interactive two-dimensional code in the The second screen is displayed for scanning by the second terminal device, and the second interactive QR code carries second interactive information for the preset event.
  • the first terminal device after the first terminal device obtains the first interaction information for the preset event through the first interactive two-dimensional code, it transmits the second information about the preset event to the second terminal through the second interactive two-dimensional code Device, so as to realize two-way information exchange for preset events through a QR code between two terminal devices.
  • the method further includes:
  • the first interactive two-dimensional code is a two-dimensional code generated by the second terminal device according to the third interactive two-dimensional code, and the third interactive two-dimensional code carries the first to execute the preset event 3. Interactive information.
  • the second terminal device scans the third interactive two-dimensional code through the two-dimensional code scanning interface displayed on the first screen, obtains the third interactive information, and generates the first interactive information according to the third interactive information.
  • An interactive information generates a first interactive QR code and displays it on the second screen of the second terminal device for the first terminal device to scan, so that the first interactive information is transmitted to the first terminal through the first interactive QR code equipment.
  • the third interaction information may be interaction information that inquires about the frequency band supported by the wireless fidelity WIFI hotspot connection of the second terminal device.
  • the first terminal device when the first terminal device wants to provide WIFI hotspot service, it generates the third interactive QR code and displays it on the back screen, and displays the QR code scanning interface on the front screen, and starts the camera to perform the two-dimensional Code scanning.
  • the second terminal device scans the third interactive QR code on the second screen of the first terminal device through the camera on the second screen. Display the first interactive QR code. For example, the first terminal device is prompted through the first interactive QR code that the second terminal device is compatible with 5G WIFI hotspots.
  • step of displaying the second interactive QR code on the second screen of the first terminal device specifically includes:
  • the third interactive two-dimensional code displayed on the second screen is updated to the second interactive two-dimensional code.
  • the first terminal device scans the first interactive two-dimensional code of the second terminal device through the two-dimensional code scanning interface displayed on the first screen, and generates a second interactive two-dimensional code carrying the above-mentioned second interactive information, as shown in FIG. 4 , And change the third interactive two-dimensional code originally displayed on the second screen to the second interactive two-dimensional code, so that the second terminal device can obtain the second interactive information and realize two-way communication.
  • mobile phone A and mobile phone B are in a 5G WIFI negotiation process, through the interactive information carried by the above two-dimensional code, the two pieces of information can know whether the opposite side supports 5G WIFI, and then can immediately determine whether to connect to 5G, saving operation process and operation time .
  • the method may further include:
  • a fourth interactive QR code is generated according to the changed first interactive QR code, and the second interactive QR code displayed on the second screen is updated to In the fourth interactive two-dimensional code, the fourth interactive two-dimensional code carries fourth interactive information of the preset event.
  • the second terminal device can also detect the change of the QR code displayed on the second screen of the first terminal device. After monitoring the change of the QR code on the second screen of the first terminal device, The two-dimensional code changes the two-dimensional code displayed on the second screen of the second terminal device, thereby realizing multiple information interactions between the two terminal devices.
  • the method further includes :
  • a 5GWIFI hotspot connection is established between the first terminal device and the second terminal device.
  • two terminal devices exchange information about a preset event through a two-dimensional code, so that two terminal devices can exchange information about a preset event through a two-dimensional code.
  • the aforementioned third interactive information is interactive information of a frequency band supported by the wireless fidelity WIFI hotspot connection of the second terminal device, and the first interactive information is the second terminal Interactive information of the frequency band supported by the WIFI hotspot connection of the device.
  • the above-mentioned second interaction information is the target frequency band used when the first terminal device establishes a WIFI hotspot connection with the second terminal device;
  • the target frequency band is the second frequency band
  • the target frequency band is the first frequency band
  • the frequency in the first frequency band is lower than the frequency in the second frequency band, and the first terminal device supports WIFI hotspot connections in the first frequency band and the second frequency band.
  • the first frequency band may be 2.4G
  • the second frequency band may be 5G.
  • the foregoing step of executing the preset event according to the second interaction information specifically includes:
  • two terminal devices can interact with each other in real time, thereby determining whether the other party supports 5GWIFI In the hotspot mode, if the other party supports it, 5G WIFI can be connected directly, saving time.
  • an embodiment of the present disclosure also provides a terminal device 500, which may be specifically the aforementioned first terminal device, including a first screen and a second screen, and further including:
  • the acquiring module 501 is configured to acquire the first interactive QR code scanned on the QR code scanning interface displayed on the first screen, where the first interactive QR code is the mobile phone displayed on the screen of the second terminal Set the QR code of the first interactive information of the event;
  • the processing module 502 is configured to generate a second interactive two-dimensional code according to the first interactive two-dimensional code, and display the second interactive two-dimensional code on the second screen.
  • the dimension code carries the second interaction information of the preset event.
  • the terminal device of the embodiment of the present disclosure further includes:
  • the generating module 503 is configured to generate a third interactive QR code according to a preset event before the obtaining module obtains the first interactive QR code scanned by the QR code scanning interface displayed on the first screen and display it on the On the second screen, and displaying the QR code scanning interface on the first screen;
  • the first interactive two-dimensional code is a two-dimensional code generated by the second terminal device according to the third interactive two-dimensional code
  • the third interactive two-dimensional code carries the first information for the preset event 3. Interactive information.
  • the processing module 502 is configured to update the third interactive QR code displayed on the second screen to the second interactive QR code.
  • the execution module 504 is used for the processing module to generate a second interactive two-dimensional code according to the first interactive two-dimensional code, and after displaying the second interactive two-dimensional code on the second screen, according to the The second interaction information is to execute the preset event.
  • the third interactive information is interactive information that inquires about the frequency band supported by the wireless fidelity WIFI hotspot connection of the second terminal device, and the first interactive information is the WIFI hotspot connection location of the second terminal device. Support interactive information of frequency bands.
  • the second interaction information is a target frequency band used when the first terminal device establishes a WIFI hotspot connection with the second terminal device;
  • the target frequency band is the second frequency band
  • the target frequency band is the first frequency band
  • the frequency in the first frequency band is lower than the frequency in the second frequency band, and the first terminal device supports WIFI hotspot connections in the first frequency band and the second frequency band.
  • the execution module is configured to establish a WIFI hotspot connection with the second terminal device according to the target frequency band.
  • the first terminal device after the first terminal device obtains the first interaction information for the preset event through the first interactive two-dimensional code, it transmits the second information for the preset event to the The second terminal device realizes two-way information exchange on preset events through a two-dimensional code between two terminal devices.
  • the terminal device is a terminal device corresponding to the foregoing method embodiment, and all implementation manners in the foregoing method embodiment are applicable to the embodiment of the terminal device, and the same technical effect can also be achieved.
  • the terminal device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, and a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711 and other components.
  • a radio frequency unit 701 for example, a radio frequency unit
  • the terminal device 700 may include more or fewer components than shown in the figure, or combine certain components, or different component arrangements.
  • terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the processor 710 is configured to obtain a first interactive QR code scanned by a QR code scanning interface displayed on the first screen, where the first interactive QR code is a portable display on the screen of the second terminal device. There is a QR code of the first interactive information of the preset event;
  • a second interactive two-dimensional code is generated, and the second interactive two-dimensional code is displayed on the second screen, and the second interactive two-dimensional code carries the The second interaction information of the preset event.
  • the processor 710 is further configured to: generate a third interactive QR code according to a preset event and display it on the second screen, and display the QR code scanning interface on the first screen;
  • the first interactive two-dimensional code is a two-dimensional code generated by the second terminal device according to the third interactive two-dimensional code
  • the third interactive two-dimensional code carries the first information for the preset event 3. Interactive information.
  • the processor 710 is further configured to: update the third interactive two-dimensional code displayed on the second screen to the second interactive two-dimensional code.
  • the processor 710 is further configured to execute the preset event according to the second interaction information.
  • the third interactive information is interactive information that inquires about the frequency band supported by the Wi-Fi hotspot connection of the second terminal device, and the first interactive information is the interaction of the frequency band supported by the Wi-Fi hotspot connection of the second terminal device information.
  • the second interaction information is a target frequency band used when the first terminal device establishes a WIFI hotspot connection with the second terminal device;
  • the target frequency band is the second frequency band
  • the target frequency band is the first frequency band
  • the frequency in the first frequency band is lower than the frequency in the second frequency band, and the first terminal device supports WIFI hotspot connections in the first frequency band and the second frequency band.
  • the processor 710 is further configured to establish a WIFI hotspot connection with the second terminal device according to the target frequency band.
  • the first terminal device after the first terminal device obtains the first interaction information for the preset event through the first interactive QR code, it transmits the second information about the preset event through the second interactive QR code To the second terminal device, so as to realize the two-way information exchange between the two terminal devices on the preset event through the QR code.
  • the radio frequency unit 701 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving downlink data from the base station, it is processed by the processor 710; Uplink data is sent to the base station.
  • the radio frequency unit 701 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.
  • the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
  • the terminal device provides users with wireless broadband Internet access through the network module 702, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 703 may convert the audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into audio signals and output them as sounds. Moreover, the audio output unit 703 may also provide audio output related to a specific function performed by the terminal device 700 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 704 is used to receive audio or video signals.
  • the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042.
  • the graphics processor 7041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 706.
  • the image frame processed by the graphics processor 7041 may be stored in the memory 709 (or other storage medium) or sent via the radio frequency unit 701 or the network module 702.
  • the microphone 7042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 701 for output in the case of a telephone call mode.
  • the terminal device 700 further includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light.
  • the proximity sensor can turn off the display panel 7061 and the display panel 7061 when the terminal device 700 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 705 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared Sensors, etc., will not be repeated here.
  • the display unit 706 is used to display information input by the user or information provided to the user.
  • the display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 707 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal device.
  • the user input unit 707 includes a touch panel 7071 and other input devices 7072.
  • the touch panel 7071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 7071 or near the touch panel 7071. operating).
  • the touch panel 7071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 710, the command sent by the processor 710 is received and executed.
  • the touch panel 7071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 707 may also include other input devices 7072.
  • other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 7071 can be overlaid on the display panel 7061.
  • the touch panel 7071 detects a touch operation on or near it, it transmits it to the processor 710 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 7061.
  • the touch panel 7071 and the display panel 7061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated
  • the implementation of the input and output functions of the terminal device is not specifically limited here.
  • the interface unit 708 is an interface for connecting an external device and the terminal device 700.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 708 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 700 or can be used to connect to the terminal device 700 and an external device. Transfer data between devices.
  • the memory 709 can be used to store software programs and various data.
  • the memory 709 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 710 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 709, and calls the data stored in the memory 709 , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole.
  • the processor 710 may include one or more processing units; optionally, the processor 710 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710.
  • the terminal device 700 may also include a power source 711 (such as a battery) for supplying power to various components.
  • a power source 711 such as a battery
  • the power source 711 may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal device 700 includes some functional modules not shown, which will not be repeated here.
  • the embodiments of the present disclosure also provide a terminal device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor.
  • the computer program is executed by the processor to implement the foregoing method.
  • Each process of the example can achieve the same technical effect. To avoid repetition, I won’t repeat it here.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program When the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

本公开提供一种信息交互方法及终端设备。所述方法包括:获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码,第一交互二维码为第二终端设备屏幕上显示的携带有预设事件的第一交互信息的二维码;根据第一交互二维码,生成第二交互二维码,并将第二交互二维码在所述第二屏幕上进行显示,所述第二交互二维码携带有所述预设事件的第二交互信息。

Description

信息交互方法及终端设备
相关申请的交叉引用
本申请主张在2019年4月19日在中国提交的中国专利申请No.201910317668.1的优先权,其全部内容通过引用包含于此。
技术领域
本公开涉及通信应用的技术领域,尤其涉及一种信息交互方法及终端设备。
背景技术
二维条码/二维码(2-dimensional bar code)是用某种特定的几何图形按一定规律在平面(二维方向上)分布的黑白相间的图形记录数据符号信息的;在代码编制上巧妙地利用构成计算机内部逻辑基础的“0”、“1”比特流的概念,使用若干个与二进制相对应的几何形体来表示文字数值信息,通过图像输入设备或光电扫描设备自动识读以实现信息自动处理。二维条码/二维码能够在横向和纵向两个方位同时表达信息,因此能在很小的面积内表达大量的信息。
但二维码有一个重要的缺陷,就是只能单向传递信息,从二维码显示端单向传递到具有摄像头的终端上。例如我们自己的互传应用程序APP上,一台手机A生成WIFI热点,通过二维码告诉另外一个手机B,让B去连接上这个热点。但WIFI热点有2.4G和5G两种模式,手机A生成二维码时,不知道手机B是否支持5G WIFI热点模式。为了处理兼容性问题,手机A只能先用2.4G热点模式,待手机B连接上之后,再通过WIFI去通信,告诉A支持5G热点的情况,进而双方重新创建5G热点和连接5G热点,该过程耗费较多的时间。
上述例子充分说明二维码传播信息的单向性。手机A生成二维码,手机B去扫描,就只能从手机A中通过二维码单向传播给手机B,而无法通过二维码获取手机B针对扫描到的二维码生成的交互消息。
发明内容
本公开的目的在于提供一种信息交互方法及终端设备,以解决两个终端设备之间无法通过二维码对于某一事件进行信息双向交互的问题。
为了解决上述技术问题,本公开是这样实现的:
第一方面,本公开实施例提供了一种信息交互方法,应用于第一终端设备,所述第一终端设备包括第一屏幕和第二屏幕,所述方法包括:
获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码,所述第一交互二维码为第二终端设备屏幕上显示的携带有预设事件的第一交互信息的二维码;
根据所述第一交互二维码,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示,所述第二交互二维码携带有所述预设事件的第二交互信息。
第二方面,本公开实施例还提供了一种终端设备,包括第一屏幕和第二屏幕,还包括:
获取模块,用于获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码,所述第一交互二维码为第二终端设备屏幕上显示的携带有预设事件的第一交互信息的二维码;
处理模块,用于根据所述第一交互二维码,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示,所述第二交互二维码携带有所述预设事件的第二交互信息。
第三方面,本公开实施例还提供了一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述信息交互方法的步骤。
第四方面,本公开实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述信息交互方法的步骤。
在本公开实施例中,第一终端设备通过第一交互二维码获取对于预设事件的第一交互信息后,通过第二交互二维码将对于该预设事件的第二信息传 递给第二终端设备,从而实现两个终端设备之间通过二维码对预设事件进行信息双向交互。
附图说明
图1为本公开实施例的信息交互方法的流程示意图;
图2为本公开实施例中第一终端设备上第三交互二维码的显示示意图;
图3为本公开实施例中二维码的的交互示意图;
图4为本公开实施例中第一终端设备更新显示交互二维码的示意图。
图5为本公开实施例提供的终端设备的模块示意图之一;
图6为本公开实施例提供的终端设备的模块示意图之二;
图7为本公开实施例提供的终端设备的结构框图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
如图1所示,为本公开实施例提供的信息交互方法的流程示意图。下面就该图具体说明该方法的实施过程。
需要说明的是,本公开实施例提供的信息交互方法,应用于第一终端设备,该第一终端设备包括第一屏幕和第二屏幕,所述第一屏幕和第二屏幕为相对设置的两个屏幕。该终端设备可以是双面屏终端,也可以是折叠屏终端。
其中,信息交互方法可以包括以下步骤:
步骤101:获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码,所述第一交互二维码为第二终端设备屏幕上显示的携带有预设事件的第一交互信息的二维码。
上述预设事件可以具体为第一终端设备与第二终端设备之间建立WIFI热点连接。具体地,第一交互二维码可以携带有第二终端设备的WIFI热点连接所支持频段的交互信息。
该第二终端设备也为双面屏终端设备,所述第一屏幕和第二屏幕,且第一屏幕和第二屏幕相对设置,上述第一交互二维码显示在第二终端设备的第二屏幕上,例如,显示在第二终端设备的背面屏幕上。
步骤102:根据所述第一交互二维码,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示,所述第二交互二维码携带有所述预设事件的第二交互信息。
具体地,对第一交互二维码进行解析处理,获取该第一交互二维码携带的第一交互信息,并对该第一交互信息,生成响应信息,如第一终端设备与第二终端设备建立WIFI热点连接时所使用的目标频段的信息,然后根据该响应信息生成第二交互二维码并显示在第二屏幕上。
这里,对于双面屏终端设备利用其中一个屏幕,例如,正面屏,来显示二维码扫描界面,并扫描第二终端设备的第一交互二维码,利用另一个屏幕,例如背面屏来显示根据第一交互二维码生成的第二交互二维码,使得第二终端设备能够根据该第二交互二维码获取对于预设事件的上述第二交互消息,实现把二维码的显示和扫描动态结合起来,从而实现两个终端设备之间通过二维码对预设事件进行信息双向交互。
本公开实施例的信息交互方法,获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码,所述第一交互二维码为第二终端设备屏幕上显示的携带有对于预设事件的第一交互信息的二维码;对所述第一交互二维码进行解析处理,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示以供所述第二终端设备进行扫描,所述第二交互二维码携带有对于所述预设事件的第二交互信息。本公开实施例中第一终端设备通过第一交互二维码获取对于预设事件的第一交互信息后,通过第二交互二维码将对于该预设事件的第二信息传递给第二终端设备,从而实现两个终端设备之间通过二维码对于预设事件进行信息双向交互。
进一步地,上述获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码的步骤之前,所述方法还包括:
根据预设事件生成第三交互二维码并显示在所述第二屏幕上,并在所述第一屏幕上显示所述二维码扫描界面;
其中,所述第一交互二维码是所述第二终端设备根据所述第三交互二维码生成的二维码,所述第三交互二维码携带有执行所述预设事件的第三交互信息。
这里,第二终端设备通过第一屏幕上显示的二维码扫描界面对第三交互二维码进行扫描,获取第三交互信息,并根据该第三交互信息生成第一交互信息,根据该第一交互信息生成第一交互二维码并显示在第二终端设备的第二屏幕上供第一终端设备进行扫描,从而实现通过第一交互二维码将该第一交互信息传递给第一终端设备。
具体地,该第三交互信息可以为询问第二终端设备的无线保真WIFI热点连接所支持频段的交互信息。
如图2所示,第一终端设备想要提供WIFI热点服务时,生成上述第三交互二维码并显示在背面屏上,并在正面屏幕上显示二维码扫描界面,启动摄像头进行二维码扫描。
接着,如图3所示,第二终端设备通过第二屏幕上的摄像头扫描第一终端设备第二屏幕上的第三交互二维码,扫描成功后,在第二终端设备的第二屏幕上显示第一交互二维码。例如,通过该第一交互二维码提示第一终端设备,第二终端设备兼容5G WIFI热点。
进一步地,上述将所述第二交互二维码在所述第一终端设备的第二屏幕上进行显示的步骤,具体包括:
将所述第二屏幕上显示的第三交互二维码更新为所述第二交互二维码。
第一终端设备通过第一屏幕上显示的二维码扫描界面扫描到第二终端设备的第一交互二维码,生成携带上述第二交互信息的第二交互二维码,如图4所示,并将第二屏幕上原来显示的第三交互二维码变更为第二交互二维码,从而使得第二终端设备可以获取第二交互信息,实现双向通信。例如,手机A和手机B进行5G WIFI协商过程,通过上述二维码携带的交互信息可以使得两个信息了解到对面是否支持5G WIFI,进而可以立刻确定是否进行5G连接,节省操作过程和操作时间。
进一步地,本公开实施例中,上述根据所述第一交互二维码,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示的步骤之 后,所述方法还可包括:
检测到所述第一交互二维码发生变化时,根据变化后的第一交互二维码生成第四交互二维码,并将所述第二屏幕上显示的第二交互二维码更新为所述第四交互二维码,所述第四交互二维码携带有所述预设事件的第四交互信息。
同理,第二终端设备也可以检测第一终端设备第二屏幕上显示的二维码的变化情况,在监测到第一终端设备第二屏幕上的二维码发生变化后,根据变化后的二维码变更第二终端设备第二屏幕上显示的二维码,从而实现两个终端设备之间进行多次信息交互。
进一步地,上述根据所述第一交互二维码,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示的步骤之后,所述方法还包括:
根据所述第二交互信息,执行所述预设事件。
例如,该第二交互信息为执行5GWIFI热点连接,则第一终端设备与第二终端设备之间建立5GWIFI热点连接。
这里,两个终端设备之间通过二维码来交换对于预设事件的信息,从而实现两个终端设备之间通过二维码对于预设事件进行信息双向交互。
在上述预设事件具体为建立WIFI热点连接的情况下,上述第三交互信息为询问第二终端设备的无线保真WIFI热点连接所支持频段的交互信息,所述第一交互信息为第二终端设备的WIFI热点连接所支持频段的交互信息。
上述第二交互信息为第一终端设备与第二终端设备建立WIFI热点连接时所使用的目标频段;
其中,在所述第二终端设备的WIFI热点连接所支持的频段包括第一频段和第二频段时,所述目标频段为第二频段;
在所述第二终端设备的WIFI热点连接所支持的频段为第一频段时,所述目标频段为第一频段;
其中,所述第一频段内的频率低于所述第二频段内的频率,且所述第一终端设备支持第一频段和第二频段的WIFI热点连接。
例如,上述第一频段可具体为2.4G,上述第二频段为5G。
基于此,上述根据所述第二交互信息,执行所述预设事件的步骤,具体包括:
根据所述目标频段与所述第二终端设备建立WIFI热点连接。
本公开实施例的信息交互方法,通过正面屏幕的二维码扫描界面以及背面屏幕显示的二维码,可以使两个终端设备之间实时地进行信息双向交互,进而能够判断出对方是否支持5GWIFI热点模式,在对方支持的情况下,可以进行5G WIFI的直接连接,节省了时间。
如图5所示,本公开的实施例还提供了一种终端设备500,该终端设备可具体为上述第一终端设备,包括第一屏幕和第二屏幕,还包括:
获取模块501,用于获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码,所述第一交互二维码为第二终端设备屏幕上显示的携带有预设事件的第一交互信息的二维码;
处理模块502,用于根据所述第一交互二维码,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示,所述第二交互二维码携带有所述预设事件的第二交互信息。
如图6所示,本公开实施例的终端设备,还包括:
生成模块503,用于在获取模块获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码之前,根据预设事件生成第三交互二维码并显示在所述第二屏幕上,并在所述第一屏幕上显示所述二维码扫描界面;
其中,所述第一交互二维码是所述第二终端设备根据所述第三交互二维码生成的二维码,所述第三交互二维码携带有对于所述预设事件的第三交互信息。
本公开实施例的终端设备,所述处理模块502用于将所述第二屏幕上显示的第三交互二维码更新为所述第二交互二维码。
本公开实施例的终端设备,还包括:
执行模块504,用于处理模块根据所述第一交互二维码,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示之后,根据所述第二交互信息,执行所述预设事件。
本公开实施例的终端设备,所述第三交互信息为询问第二终端设备的无 线保真WIFI热点连接所支持频段的交互信息,所述第一交互信息为第二终端设备的WIFI热点连接所支持频段的交互信息。
本公开实施例的终端设备,所述第二交互信息为第一终端设备与第二终端设备建立WIFI热点连接时所使用的目标频段;
其中,在所述第二终端设备的WIFI热点连接所支持的频段包括第一频段和第二频段时,所述目标频段为第二频段;
在所述第二终端设备的WIFI热点连接所支持的频段为第一频段时,所述目标频段为第一频段;
其中,所述第一频段内的频率低于所述第二频段内的频率,且所述第一终端设备支持第一频段和第二频段的WIFI热点连接。
本公开实施例的终端设备,所述执行模块用于根据所述目标频段与所述第二终端设备建立WIFI热点连接。
本公开实施例的终端设备,第一终端设备通过第一交互二维码获取对于预设事件的第一交互信息后,通过第二交互二维码将对于该预设事件的第二信息传递给第二终端设备,从而实现两个终端设备之间通过二维码对预设事件进行信息双向交互。
需要说明的是,该终端设备是与上述方法实施例对应的终端设备,上述方法实施例中所有实现方式均适用于该终端设备的实施例中,也能达到相同的技术效果。
图7为实现本公开各个实施例的一种终端设备的硬件结构示意图,该终端设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的终端设备结构并不构成对终端的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,处理器710,用于获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码,所述第一交互二维码为第二终端设备屏幕上显示的 携带有预设事件的第一交互信息的二维码;
根据所述第一交互二维码,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示,所述第二交互二维码携带有所述预设事件的第二交互信息。
可选地,处理器710还用于:根据预设事件生成第三交互二维码并显示在所述第二屏幕上,并在所述第一屏幕上显示所述二维码扫描界面;
其中,所述第一交互二维码是所述第二终端设备根据所述第三交互二维码生成的二维码,所述第三交互二维码携带有对于所述预设事件的第三交互信息。
可选地,处理器710还用于:将所述第二屏幕上显示的第三交互二维码更新为所述第二交互二维码。
可选地,处理器710还用于:根据所述第二交互信息,执行所述预设事件。
可选地,所述第三交互信息为询问第二终端设备的无线保真WIFI热点连接所支持频段的交互信息,所述第一交互信息为第二终端设备的WIFI热点连接所支持频段的交互信息。
可选地,所述第二交互信息为第一终端设备与第二终端设备建立WIFI热点连接时所使用的目标频段;
其中,在所述第二终端设备的WIFI热点连接所支持的频段包括第一频段和第二频段时,所述目标频段为第二频段;
在所述第二终端设备的WIFI热点连接所支持的频段为第一频段时,所述目标频段为第一频段;
其中,所述第一频段内的频率低于所述第二频段内的频率,且所述第一终端设备支持第一频段和第二频段的WIFI热点连接。
可选地,处理器710还用于:根据所述目标频段与所述第二终端设备建立WIFI热点连接。
本公开实施例的上述技术方案,第一终端设备通过第一交互二维码获取对于预设事件的第一交互信息后,通过第二交互二维码将对于该预设事件的第二信息传递给第二终端设备,从而实现两个终端设备之间通过二维码对预 设事件进行信息双向交互。
应理解的是,本公开实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体地,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。
终端设备通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与终端设备700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。
输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。
终端设备700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在终端设备700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、 敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。
用户输入单元707可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步地,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现终端设备的输入和输出功能,具体此处不做限定。
接口单元708为外部装置与终端设备700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或 无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备700内的一个或多个元件或者可以用于在终端设备700和外部装置之间传输数据。
存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器710是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器710可包括一个或多个处理单元;可选地,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。
终端设备700还可以包括给各个部件供电的电源711(比如电池),可选地,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,终端设备700包括一些未示出的功能模块,在此不再赘述。
可选地,本公开实施例还提供一种终端设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所 述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (16)

  1. 一种信息交互方法,应用于第一终端设备,所述第一终端设备包括第一屏幕和第二屏幕,其中,所述方法包括:
    获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码,所述第一交互二维码为第二终端设备屏幕上显示的携带有预设事件的第一交互信息的二维码;
    根据所述第一交互二维码,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示,所述第二交互二维码携带有所述预设事件的第二交互信息。
  2. 根据权利要求1所述的信息交互方法,其中,所述获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码的步骤之前,所述方法还包括:
    根据预设事件生成第三交互二维码并显示在所述第二屏幕上,并在所述第一屏幕上显示所述二维码扫描界面;
    其中,所述第一交互二维码是所述第二终端设备根据所述第三交互二维码生成的二维码,所述第三交互二维码携带有对于所述预设事件的第三交互信息。
  3. 根据权利要求2所述的信息交互方法,其中,所述将所述第二交互二维码在所述第一终端设备的第二屏幕上进行显示的步骤,具体包括:
    将所述第二屏幕上显示的第三交互二维码更新为所述第二交互二维码。
  4. 根据权利要求2所述的信息交互方法,其中,所述根据所述第一交互二维码,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示的步骤之后,所述方法还包括:
    根据所述第二交互信息,执行所述预设事件。
  5. 根据权利要求4所述的信息交互方法,其中,所述第三交互信息为询问第二终端设备的无线保真WIFI热点连接所支持频段的交互信息,所述第一交互信息为第二终端设备的WIFI热点连接所支持频段的交互信息。
  6. 根据权利要求5所述的信息交互方法,其中,所述第二交互信息为第 一终端设备与第二终端设备建立WIFI热点连接时所使用的目标频段;
    其中,在所述第二终端设备的WIFI热点连接所支持的频段包括第一频段和第二频段时,所述目标频段为第二频段;
    在所述第二终端设备的WIFI热点连接所支持的频段为第一频段时,所述目标频段为第一频段;
    其中,所述第一频段内的频率低于所述第二频段内的频率,且所述第一终端设备支持第一频段和第二频段的WIFI热点连接。
  7. 根据权利要求6所述的信息交互方法,其中,所述根据所述第二交互信息,执行所述预设事件的步骤,具体包括:
    根据所述目标频段与所述第二终端设备建立WIFI热点连接。
  8. 一种终端设备,包括第一屏幕和第二屏幕,还包括:
    获取模块,用于获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码,所述第一交互二维码为第二终端设备屏幕上显示的携带有预设事件的第一交互信息的二维码;
    处理模块,用于根据所述第一交互二维码,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示,所述第二交互二维码携带有所述预设事件的第二交互信息。
  9. 根据权利要求8所述的终端设备,还包括:
    生成模块,用于在获取模块获取所述第一屏幕上显示的二维码扫描界面扫描到的第一交互二维码之前,根据预设事件生成第三交互二维码并显示在所述第二屏幕上,并在所述第一屏幕上显示所述二维码扫描界面;
    其中,所述第一交互二维码是所述第二终端设备根据所述第三交互二维码生成的二维码,所述第三交互二维码携带有对于所述预设事件的第三交互信息。
  10. 根据权利要求9所述的终端设备,其中,所述处理模块用于将所述第二屏幕上显示的第三交互二维码更新为所述第二交互二维码。
  11. 根据权利要求9所述的终端设备,还包括:
    执行模块,用于处理模块根据所述第一交互二维码,生成第二交互二维码,并将所述第二交互二维码在所述第二屏幕上进行显示之后,根据所述第 二交互信息,执行所述预设事件。
  12. 根据权利要求11所述的终端设备,其中,所述第三交互信息为询问第二终端设备的无线保真WIFI热点连接所支持频段的交互信息,所述第一交互信息为第二终端设备的WIFI热点连接所支持频段的交互信息。
  13. 根据权利要求12所述的终端设备,其中,所述第二交互信息为第一终端设备与第二终端设备建立WIFI热点连接时所使用的目标频段;
    其中,在所述第二终端设备的WIFI热点连接所支持的频段包括第一频段和第二频段时,所述目标频段为第二频段;
    在所述第二终端设备的WIFI热点连接所支持的频段为第一频段时,所述目标频段为第一频段;
    其中,所述第一频段内的频率低于所述第二频段内的频率,且所述第一终端设备支持第一频段和第二频段的WIFI热点连接。
  14. 根据权利要求13所述的终端设备,其中,所述执行模块用于根据所述目标频段与所述第二终端设备建立WIFI热点连接。
  15. 一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至7中任一项所述信息交互方法的步骤。
  16. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述信息交互方法的步骤。
PCT/CN2020/083970 2019-04-19 2020-04-09 信息交互方法及终端设备 WO2020211692A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910317668.1A CN110022551B (zh) 2019-04-19 2019-04-19 一种信息交互方法及终端设备
CN201910317668.1 2019-04-19

Publications (1)

Publication Number Publication Date
WO2020211692A1 true WO2020211692A1 (zh) 2020-10-22

Family

ID=67191870

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/083970 WO2020211692A1 (zh) 2019-04-19 2020-04-09 信息交互方法及终端设备

Country Status (2)

Country Link
CN (1) CN110022551B (zh)
WO (1) WO2020211692A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110022551B (zh) * 2019-04-19 2021-10-29 维沃移动通信有限公司 一种信息交互方法及终端设备
CN111144875B (zh) * 2019-11-30 2023-04-18 飞天诚信科技股份有限公司 一种终端设备及其工作方法
CN112291862A (zh) * 2020-10-27 2021-01-29 中兴通讯股份有限公司 终端设备间建立连接的方法及终端设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150088674A1 (en) * 2013-09-25 2015-03-26 Christian Flurscheim Systems and methods for incorporating qr codes
CN106599948A (zh) * 2016-12-05 2017-04-26 厦门壹码通科技有限责任公司 基于手机二维码交互安全校验系统及方法
CN106657239A (zh) * 2016-10-18 2017-05-10 江西博瑞彤芸科技有限公司 信息交互方法及系统
CN110022551A (zh) * 2019-04-19 2019-07-16 维沃移动通信有限公司 一种信息交互方法及终端设备

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103384369B (zh) * 2013-06-28 2016-11-16 华为技术有限公司 一种建立数据连接的方法、装置及系统
CN103544463A (zh) * 2013-10-23 2014-01-29 上海动联信息技术股份有限公司 基于二维码的双向无线数据通讯系统及方法
CN105515935B (zh) * 2014-09-22 2019-09-27 阿里巴巴集团控股有限公司 一种交互信息中doi的处理方法及装置
CN104320753A (zh) * 2014-10-16 2015-01-28 广州三星通信技术研究有限公司 用于终端的配对方法和系统
SG11201803693VA (en) * 2015-10-09 2018-06-28 Wei Xu Information processing network based on uniform code issuance, method therefor, and sensing access device
CN105550196A (zh) * 2015-10-28 2016-05-04 广州美渠信息科技有限公司 交互方法和装置
CN107038569B (zh) * 2016-12-05 2021-05-25 创新先进技术有限公司 信息交互方法及装置
CN206365051U (zh) * 2017-01-11 2017-07-28 揭军平 智能显示设备用二维码扫描的接入管理系统
CN107645611A (zh) * 2017-10-17 2018-01-30 维沃移动通信有限公司 一种支付方法及移动终端
CN108319512A (zh) * 2018-01-23 2018-07-24 努比亚技术有限公司 显示控制方法、终端及计算机可读存储介质
CN108989441A (zh) * 2018-07-27 2018-12-11 京东方科技集团股份有限公司 一种信息交互系统及方法
CN109544172B (zh) * 2018-11-30 2021-06-22 维沃移动通信有限公司 一种显示方法及终端设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150088674A1 (en) * 2013-09-25 2015-03-26 Christian Flurscheim Systems and methods for incorporating qr codes
CN106657239A (zh) * 2016-10-18 2017-05-10 江西博瑞彤芸科技有限公司 信息交互方法及系统
CN106599948A (zh) * 2016-12-05 2017-04-26 厦门壹码通科技有限责任公司 基于手机二维码交互安全校验系统及方法
CN110022551A (zh) * 2019-04-19 2019-07-16 维沃移动通信有限公司 一种信息交互方法及终端设备

Also Published As

Publication number Publication date
CN110022551A (zh) 2019-07-16
CN110022551B (zh) 2021-10-29

Similar Documents

Publication Publication Date Title
WO2021098678A1 (zh) 投屏控制方法及电子设备
WO2021109907A1 (zh) 应用分享方法、第一电子设备及计算机可读存储介质
CN108540655B (zh) 一种来电显示处理方法及移动终端
US20200257433A1 (en) Display method and mobile terminal
WO2020238449A1 (zh) 通知消息的处理方法及终端
WO2020211692A1 (zh) 信息交互方法及终端设备
WO2020186964A1 (zh) 音频信号的输出方法及终端设备
WO2021129529A1 (zh) 设备切换方法及相关设备
CN109710349B (zh) 一种截屏方法及移动终端
CN109327672B (zh) 一种视频通话方法及终端
WO2019223569A1 (zh) 信息处理方法及移动终端
WO2021109959A1 (zh) 应用程序分享方法及电子设备
WO2021083091A1 (zh) 截图方法及终端设备
WO2021077908A1 (zh) 参数调节方法和电子设备
CN107734172B (zh) 一种信息显示方法及移动终端
WO2020199986A1 (zh) 视频通话方法及终端设备
KR20220083804A (ko) 정보의 표시 및 송신 방법, 이를 위한 전자기기
WO2020220893A1 (zh) 截图方法及移动终端
WO2021057222A1 (zh) 显示方法及终端
WO2021190373A1 (zh) 一种交互方法、交互系统和显示设备
WO2021115220A1 (zh) 信息共享方法、电子设备及计算机可读存储介质
WO2021104232A1 (zh) 显示方法及电子设备
WO2019129264A1 (zh) 界面的显示方法和移动终端
WO2021083090A1 (zh) 消息发送方法及移动终端
US20220394786A1 (en) Session Information Processing Method, and Electronic Device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20791673

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20791673

Country of ref document: EP

Kind code of ref document: A1