[go: up one dir, main page]

CN106528017A - Information processing method and terminal - Google Patents

Information processing method and terminal Download PDF

Info

Publication number
CN106528017A
CN106528017A CN201610932803.XA CN201610932803A CN106528017A CN 106528017 A CN106528017 A CN 106528017A CN 201610932803 A CN201610932803 A CN 201610932803A CN 106528017 A CN106528017 A CN 106528017A
Authority
CN
China
Prior art keywords
terminal
screen data
address
unit
transmission rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610932803.XA
Other languages
Chinese (zh)
Inventor
王佰祥
马安生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610932803.XA priority Critical patent/CN106528017A/en
Publication of CN106528017A publication Critical patent/CN106528017A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses an information processing method and a terminal. The terminal comprises a hotspot unit, a data collection unit, a data caching unit, an address generation unit, an environment detection unit, a compression unit and a projection unit, wherein the hotspot unit is used for starting a hotspot function on the basis of a detected input operation to obtain a hotspot address; the data collection unit is used for collecting first screen data; the data caching unit is used for caching the first screen data and obtaining the cache address of the first screen data; the address generation unit is used for generating a first address on the basis of the hotspot address and the cache address; the environment detection unit is used for detecting network environment and obtaining a first transmission rate which represents the network environment; the compression unit is used for determining the first compression ratio of the first screen data on the basis of the first transmission rate, and compressing the first screen data into second screen data according to the first compression ratio; and the projection unit is used for sending the second screen data to at least one other terminals. The technical scheme of the embodiment of the invention is convenient for the smooth playing of a receiving end, and the operation experience of the user is improved.

Description

Information processing method and terminal
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and a terminal.
Background
Screen projection technology between terminal devices has appeared in the prior art, i.e. one terminal device transmits screen data to another terminal device. The existing screen projection technology is based on the Wi-Fi Direct transmission standard, namely, the terminal equipment of a projection end and the terminal equipment of a receiving end need to support the Wi-Fi Direct function. Most Windows systems and all IOS systems in the prior art do not support the function, so the screen projection function is limited; on the other hand, during screen data transmission, if the network environment is poor and the network transmission rate is low, the problem of playing card pause occurs at the receiving end, which is not favorable for the user experience.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an information processing method and a terminal.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
an embodiment of the present invention provides a terminal, where the terminal includes: the system comprises a hot spot unit, a data acquisition unit, a data cache unit, an address generation unit, an environment detection unit, a compression unit and a projection unit; wherein,
the hot spot unit is used for starting a hot spot function based on the detected input operation to obtain a hot spot address;
the data acquisition unit is used for acquiring first screen data;
the data caching unit is used for caching the first screen data to obtain a caching address of the first screen data;
the address generating unit is configured to generate a first address based on the hotspot address and the cache address, so that at least one other terminal establishes a first connection with the first terminal based on the first address; wherein the first connection allows the at least one other terminal to access the cache where the first screen data is located;
the environment detection unit is used for detecting a network environment and acquiring a first transmission rate representing the network environment;
the compression unit is used for determining a first compression ratio of the first screen data based on the first transmission rate obtained by the environment detection unit, and compressing the first screen data into second screen data according to the first compression ratio;
the projection unit is configured to send the second screen data to the at least one other terminal based on the first connection.
In the above solution, the terminal further includes a configuration unit, configured to pre-configure a mapping relationship set including a plurality of sets of mapping relationships between transmission rate ranges and compression ratios; wherein the transmission rate is inversely related to the compression ratio;
the compression unit is configured to query the mapping relationship set based on the first transmission rate, obtain a first transmission rate range in which the first transmission rate is located, and determine a first compression ratio corresponding to the first transmission rate range.
In the foregoing solution, the terminal further includes a first instruction control unit, configured to, when the second screen data is output by the at least one other terminal through a specific client and a specific control function is turned on, receive, by the first terminal, the first control instruction of the at least one other terminal, and execute the first control instruction.
In the above scheme, the first terminal further includes a second instruction control unit, configured to, when the second screen data is output by the at least one other terminal through a specific client and a specific control function is turned off, receive, by the first terminal, event information representing fast forwarding/fast rewinding sent by the at least one other terminal, select, based on a time parameter of the event information, corresponding second screen data to send to the at least one other terminal.
An embodiment of the present invention further provides a terminal, where the terminal includes: the device comprises an address acquisition unit, a wireless communication unit and an output display unit; wherein,
the address acquisition unit is used for acquiring a first address;
the wireless communication unit is used for establishing a first connection with the projection terminal based on the hotspot address and the cache address in the first address; the first connection allows the terminal to access a cache where screen data on the projection terminal are located;
and the output display unit is used for obtaining the second screen data which is compressed by the projection terminal according to the first compression ratio based on the first connection and outputting and displaying the second screen data.
The embodiment of the invention also provides an information processing method, which comprises the following steps:
the terminal starts a hot spot function based on the detected input operation to obtain a hot spot address;
acquiring first screen data, caching the first screen data, and obtaining a cache address of the first screen data;
generating a first address based on the hotspot address and the cache address so that at least one other terminal establishes a first connection with the terminal based on the first address; wherein the first connection allows the at least one other terminal to access the cache where the first screen data is located;
detecting a network environment, and acquiring a first transmission rate representing the network environment;
determining a first compression ratio of the first screen data based on the first transmission rate, and compressing the first screen data into second screen data at the first compression ratio;
and sending the second screen data to the at least one other terminal based on the first connection.
In the foregoing solution, before the determining the first compression ratio of the first screen data based on the first parameter, the method further includes:
configuring a mapping relation set containing a plurality of groups of mapping relations of transmission rate ranges and compression ratios; wherein the transmission rate is inversely related to the compression ratio;
said determining a first compression ratio of said first screen data based on said first transmission rate comprises:
and inquiring the mapping relation set based on the first transmission rate, obtaining a first transmission rate range in which the first transmission rate is positioned, and determining a first compression ratio corresponding to the first transmission rate range.
In the above scheme, the method further comprises: and when the second screen data is output by the at least one other terminal through a specific client and a specific control function is started, the terminal receives a first control instruction of the at least one other terminal and executes the first control instruction.
In the above scheme, the method further comprises: and when the second screen data is output by the at least one other terminal through a specific client and a specific control function is closed, the terminal receives event information which is sent by the at least one other terminal and represents fast forward/fast backward, and selects corresponding second screen data to send to the at least one other terminal based on the time parameter of the event information.
The embodiment of the invention also provides an information processing method, which comprises the following steps:
the method comprises the steps that a terminal obtains a first address, and a first connection with a projection terminal is established based on a hot spot address and a cache address in the first address; the first connection allows the terminal to access a cache where screen data on the projection terminal are located;
and obtaining second screen data which is compressed by the projection terminal according to the first compression ratio based on the first connection, and outputting and displaying the second screen data.
The information processing method and the terminal provided by the embodiment of the invention comprise the following steps: the system comprises a hot spot unit, a data acquisition unit, a data cache unit, an address generation unit, an environment detection unit, a compression unit and a projection unit; the hot spot unit is used for starting a hot spot function based on the detected input operation to obtain a hot spot address; the data acquisition unit is used for acquiring first screen data; the data caching unit is used for caching the first screen data to obtain a caching address of the first screen data; the address generating unit is configured to generate a first address based on the hotspot address and the cache address, so that at least one other terminal establishes a first connection with the first terminal based on the first address; wherein the first connection allows the at least one other terminal to access the cache where the screen data is located; the environment detection unit is used for detecting a network environment and acquiring a first transmission rate representing the network environment; the compression unit is used for determining a first compression ratio of the first screen data based on the first transmission rate obtained by the environment detection unit, and compressing the first screen data into second screen data according to the first compression ratio; the projection unit is configured to send the second screen data to the at least one other terminal based on the first connection. Therefore, by adopting the technical scheme of the embodiment of the invention, on one hand, the receiving terminal can realize the wireless connection and data transmission between the projection terminal and the receiving terminal only by acquiring the first address through the hot spot function of the projection terminal, thereby realizing the compatibility of a projection technology full platform and expanding the use range of users; on the other hand, the projection side detects the network environment in advance, and the projected screen data is compressed when the network environment is poor, so that the receiving end can play smoothly, and the operation experience of a user is improved.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the terminal shown in FIG. 1;
FIG. 3 is a flowchart illustrating an information processing method according to a first embodiment of the present invention;
FIG. 4 is a flowchart illustrating an information processing method according to a second embodiment of the present invention;
FIG. 5 is a flowchart illustrating an information processing method according to a third embodiment of the present invention;
FIG. 6 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating a detailed interaction flow of an information processing method according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a first structure of a terminal according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a second structure of the terminal according to the embodiment of the present invention;
fig. 10 is a schematic diagram of a specific structure of a terminal according to an embodiment of the present invention;
fig. 11 is a schematic diagram of another specific structure of the terminal according to the embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include terminals such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and fixed terminals such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware structure of an alternative mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to the mobile terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a data broadcasting system of multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO @), terrestrial digital broadcasting integrated service (ISDB-T), and the like. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external mobile terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be coupled to the mobile terminal internally or externally. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetooth (TM), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbee (TM), and the like.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the location information module 115, which is a GPS module, calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. Further, the position information module 115 as a GPS module can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (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 identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 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 mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (incomingmunication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, the present invention provides various embodiments of the method.
In the following embodiments of the present invention, a projection terminal is referred to as a first terminal, and a reception terminal is referred to as a second terminal.
Example one
The embodiment of the invention provides an information processing method. FIG. 3 is a flowchart illustrating an information processing method according to a first embodiment of the present invention; as shown in fig. 3, the method includes:
step 301: the first terminal starts a hot spot function based on the detected input operation to obtain a hot spot address.
Step 302: acquiring screen data, caching the screen data, and obtaining a cache address of the screen data.
Step 303: generating a first address based on the hotspot address and the cache address so that at least one second terminal establishes a first connection with the first terminal based on the first address; wherein the first connection allows the second terminal to access the cache where the screen data is located.
Step 304: the network environment is detected, and a first transmission rate representing the network environment is obtained.
Step 305: determining a first compression ratio of the first screen data based on the first transmission rate, and compressing the first screen data into second screen data at the first compression ratio.
Step 306: and sending the second screen data to the at least one second terminal based on the first connection.
In this embodiment, the first terminal serves as a sending end of the projection data; correspondingly, the second terminal serves as a receiving end of the projection data.
In this embodiment, the first terminal has a hotspot function, that is, the first terminal can use its own wireless local area network as a wireless WiFi; and other terminals can be connected to the wireless WiFi for wireless internet access service. Based on the method, the first terminal can start a hot spot function through the detected input operation and obtain a hot spot address.
In this embodiment, data projected from a first terminal to a second terminal is screen data of the first terminal; recording the screen data before compression as first screen data, and recording the screen data after compression as second screen data; the first terminal collects first screen data displayed by the first terminal and caches the first screen data; in this embodiment, correspondingly, the cache address of the first screen data is obtained. In one embodiment, the first terminal may collect screen data displayed by itself according to a preset rule, for example, collect and buffer screen data of 30 frames per second.
In this embodiment, a first address is generated based on the hotspot address and the cache address; wherein the hotspot address is used for establishing a wireless communication connection (i.e. the first connection) with the first terminal; the cache address is used for pointing to the screen data, so that the screen data can be conveniently accessed. As an embodiment, the generating a first address based on the hotspot address and the cache address to enable a second terminal to establish a first connection with the first terminal based on the first address includes: and generating identification information representing the first address based on the hotspot address and the cache address, so that the second terminal supports scanning the identification information to obtain the first address, and establishing a first connection with the first terminal based on the first address. In this embodiment, the identification information may specifically be two-dimensional code information or bar code information; the second terminal can scan the identification information through a scanning tool to obtain a first address represented by the identification information, so that the second terminal establishes a first connection with the first terminal based on the first address. As another embodiment, the second terminal user may also manually input the first address, so that the second terminal establishes the first connection with the first terminal based on the input first address.
In this embodiment, before sending the cached first screen data, the first terminal needs to detect a network environment where the first terminal is located, and obtain a first transmission rate representing the network environment; the transmission rate can be tested by sending a data packet to a preset address. When the first transmission rate is slow, if data transmission is still performed according to the stored screen data, the situation that the screen data obtained by the second device is not smooth due to the slow network speed may occur; based on this, the first terminal determines a first compression ratio of the first screen based on the first transmission rate, and compresses the first screen data into second screen data at the first compression ratio.
As an embodiment, before the determining the first compression ratio of the first screen data based on the first parameter, the method further includes: configuring a mapping relation set containing a plurality of groups of mapping relations of transmission rate ranges and compression ratios; wherein the transmission rate is inversely related to the compression ratio;
said determining a first compression ratio of said first screen data based on said first transmission rate comprises: and inquiring the mapping relation set based on the first transmission rate, obtaining a first transmission rate range in which the first transmission rate is positioned, and determining a first compression ratio corresponding to the first transmission rate range.
Specifically, the compression ratio is determined in advance based on the transmission rate, which is inversely related to the compression ratio, i.e., the smaller the transmission rate, the larger the compression ratio, and correspondingly, the larger the transmission rate, the smaller the compression ratio. In this embodiment, a compression ratio is associated with a transmission rate range; that is, when the first transmission rate falls within the first transmission rate range, a first compression ratio corresponding to the first transmission rate range may be correspondingly obtained, and the first screen data is compressed into second screen data according to the first compression ratio. Therefore, when the network transmission rate is low, the screen data is compressed by adopting a large compression ratio, so that the second terminal can smoothly play the received second screen data; when the network transmission rate is higher, the screen data is compressed by adopting a smaller compression ratio, so that higher image quality can be obtained; the compressed second screen data can also be stored in a cache and stored separately from the first screen data; of course, as another embodiment, the second screen data may be stored in the original storage space of the first screen data instead of the first screen data.
Further, after the second terminal establishes a first connection with the first terminal based on the first address, the first terminal may send the real-time compressed second screen data to the second terminal through the first connection.
By adopting the technical scheme of the embodiment of the invention, on one hand, the receiving terminal can realize the wireless connection and data transmission between the projection terminal and the receiving terminal only by acquiring the first address through the hot spot function of the projection terminal, thereby realizing the compatibility of a projection technology full platform and expanding the use range of users; on the other hand, the projection side detects the network environment in advance, and the projected screen data is compressed when the network environment is poor, so that the receiving end can play smoothly, and the operation experience of a user is improved.
Example two
The embodiment of the invention also provides an information processing method. FIG. 4 is a flowchart illustrating an information processing method according to a second embodiment of the present invention; as shown in fig. 4, the method includes:
step 401: the first terminal starts a hot spot function based on the detected input operation to obtain a hot spot address.
Step 402: the method comprises the steps of collecting first screen data, caching the first screen data, and obtaining a cache address of the first screen data.
Step 403: generating a first address based on the hotspot address and the cache address so that at least one second terminal establishes a first connection with the first terminal based on the first address; wherein the first connection allows the second terminal to access the cache where the first screen data is located.
Step 404: the network environment is detected, and a first transmission rate representing the network environment is obtained.
Step 405: determining a first compression ratio of the first screen data based on the first transmission rate, and compressing the first screen data into second screen data at the first compression ratio.
Step 406: and sending the screen data to the at least one second terminal based on the first connection.
Step 407: and when the screen data is output by the at least one second terminal through a specific client and a specific control function is started, the first terminal receives a first control instruction of the at least one second terminal and executes the first control instruction.
Step 408: and when the second screen data are output by the at least one second terminal through a specific client and the specific control function is closed, the first terminal receives event information which is sent by the at least one second terminal and represents fast forward/fast backward, and selects corresponding screen data to send to the at least one second terminal based on the time parameter of the event information.
Different from the first embodiment, in this embodiment, the second screen data sent by the first terminal to the second terminal through the first connection may be output and displayed through a specific client pre-installed on the second terminal; of course, the display may also be output directly through a display screen without the need for the particular client. When the second terminal displays the second screen data through the output of the specific client, the specific client has a specific control function, which may be referred to as a reverse control function. The specific client is provided with a virtual key of the specific control function; the specific control function can be turned on or turned off by the detected input operation for the virtual key. Based on this, when the specific control function of the second terminal is started, the second terminal is indicated to have a reverse control function; the second terminal can detect a first control instruction and send the first control instruction to the first terminal; correspondingly, the first terminal receives the first control instruction and executes the first control instruction. Wherein the first control instruction may be any control instruction for the first terminal; corresponding to the second terminal being able to control any operation of the first terminal.
As an implementation manner, the information processing method according to the embodiment of the present invention further includes step 409: and when the second screen data is output by the second terminal through a specific client and the specific control function is closed, the first terminal receives event information which is sent by the second terminal and represents fast forward/fast backward, and corresponding second screen data is selected based on the time parameter of the event information and sent to the second terminal.
Specifically, when the specific control function of the second terminal is turned off, it indicates that the second terminal does not have a reverse control function; the second terminal may detect event information indicating fast forward/fast backward, for example, when the second terminal detects a slide operation in a forward or backward direction along a time axis direction of the screen data playing, the second terminal indicates that event information indicating fast forward/fast backward is detected. The second terminal may send the detected event information characterizing fast forward/fast reverse to the first terminal through the first connection; correspondingly, after receiving the event information representing fast forward/fast backward, the first terminal selects corresponding second screen data for projection sending based on the time parameter of the event information representing fast forward/fast backward. As another embodiment, if the screen data is not compressed, the first terminal selects the corresponding first screen data for projection transmission based on the time parameter of the event information representing fast forwarding/fast rewinding. Specifically, the first terminal collects first screen data in real time and caches the first screen data as historical data; each cache address in the cache may correspond to first screen data of a time parameter (e.g., a timestamp); the first terminal may obtain the event information representing fast forward/fast backward, and may then output the displayed screen data based on the fast forward/fast backward time parameter (e.g., x seconds for fast forward or y seconds for backward) represented by the event information and the time parameter of the currently output screen data of the second terminal. And selecting first screen data in a cache address corresponding to the current time parameter + x seconds or the current time parameter-y seconds, and sending the first screen data to the second terminal for output display, or compressing the first screen data into second screen data according to the first compression ratio for output display, so that the second terminal serving as a receiving terminal controls the playing of the projection data. Of course, when the second terminal does not output the display screen data through the specific player, the playback control of the screen data may be performed through the detected event information representing fast forward/fast reverse, with reference to the above description.
By adopting the technical scheme of the embodiment of the invention, on one hand, the receiving terminal can realize the wireless connection and data transmission between the projection terminal and the receiving terminal only by acquiring the first address through the hot spot function of the projection terminal, thereby realizing the compatibility of a projection technology full platform and expanding the use range of users; on the other hand, the projection side detects the network environment in advance, and the projected screen data is compressed when the network environment is poor, so that the receiving end can play smoothly, and the operation experience of a user is improved. In the third aspect, the receiving terminal can have a reverse control function, and the control of the receiving terminal on the projection terminal can be realized through the reverse control function, so that a receiving terminal user can conveniently check historical data, and the user experience is improved.
EXAMPLE III
The embodiment of the invention also provides an information processing method. FIG. 5 is a flowchart illustrating an information processing method according to a third embodiment of the present invention; as shown in fig. 5, the method includes:
step 501: the second terminal obtains a first address, and establishes a first connection with the first terminal based on a hotspot address and a cache address in the first address; and the first connection allows the second terminal to access the cache where the screen data on the first terminal is located.
Step 502: and obtaining second screen data compressed and processed by the first terminal according to the first compression ratio based on the first connection, and outputting and displaying the second screen data.
In this embodiment, as an implementation manner, the obtaining, by the second terminal, a first address, and establishing a first connection with the first terminal based on a hotspot address and a cache address in the first address includes: and the second terminal scans the identification information generated by the first terminal, obtains a first address represented by the identification information, and establishes a first connection with the first terminal based on the first address. In this embodiment, the identification information may specifically be two-dimensional code information or bar code information; the second terminal can scan the identification information through a scanning tool to obtain a first address represented by the identification information, so that the second terminal establishes a first connection with the first terminal based on the first address. As another embodiment, the second terminal user may also manually input the first address, so that the second terminal establishes the first connection with the first terminal based on the input first address. Wherein the hotspot address is used for establishing a wireless communication connection (i.e. the first connection) with the first terminal; the cache address is used for pointing to the screen data, so that the screen data can be conveniently accessed. Specifically, the first terminal has a hotspot function, that is, the first terminal can use its own wireless local area network as a wireless WiFi; the second terminal may establish a connection (the connection is a first connection) with the first terminal as a hotspot through the WiFi function.
Further, after the second terminal establishes a first connection with the first terminal based on the first address, the second terminal may receive and display second screen data decompressed by the first terminal through the first connection, or receive and display first screen data not decompressed by the first terminal.
By adopting the technical scheme of the embodiment of the invention, on one hand, the receiving terminal can realize the wireless connection and data transmission between the projection terminal and the receiving terminal only by acquiring the first address through the hot spot function of the projection terminal, thereby realizing the compatibility of a projection technology full platform and expanding the use range of users; on the other hand, the projection side detects the network environment in advance, and the projected screen data is compressed when the network environment is poor, so that the receiving end can play smoothly, and the operation experience of a user is improved.
Example four
The embodiment of the invention also provides an information processing method. FIG. 6 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention; as shown in fig. 6, the method includes:
step 601: the second terminal obtains a first address, and establishes a first connection with the first terminal based on a hotspot address and a cache address in the first address; and the first connection allows the second terminal to access the cache where the screen data on the first terminal is located.
Step 602: and obtaining second screen data compressed and processed by the first terminal according to the first compression ratio based on the first connection, and outputting and displaying the second screen data.
Step 603: when the second terminal outputs and displays the second screen data through a specific client, detecting whether a specific control function is started or not; and when the specific control function is started, obtaining a first control instruction, and sending the first control instruction to the first terminal so as to control the first terminal.
Step 604: when the second terminal outputs and displays the screen data through a specific client, detecting whether a specific control function is started or not; and when the specific control function is closed, obtaining event information representing fast forward/fast backward, and sending the event information representing fast forward/fast backward to the first terminal, so that the first terminal adjusts the transmitted second screen data according to the event information.
Different from the third embodiment, in this embodiment, the screen data of the second terminal may be output and displayed through a specific client pre-installed on the second terminal; of course, the display may also be output directly through a display screen without the need for the particular client. When the second terminal outputs the display screen data through a specific client, the specific client has a specific control function, which may be referred to as a reverse control function. The specific client is provided with a virtual key of the specific control function; the second terminal may turn on the specific control function or turn off the specific control function through the detected input operation for the virtual key. Based on this, when the specific control function of the second terminal is started, the second terminal is indicated to have a reverse control function; the second terminal can detect a first control instruction and send the first control instruction to the first terminal; so that the first terminal executes the control instruction. Wherein the first control instruction may be any control instruction for the first terminal; corresponding to the second terminal being able to control any operation of the first terminal.
On the other hand, when the specific control function of the second terminal is turned off, it indicates that the second terminal does not have the reverse control function; the second terminal may detect event information indicating fast forward/fast backward, for example, when the second terminal detects a slide operation in a forward or backward direction along a time axis direction of the screen data playing, the second terminal indicates that event information indicating fast forward/fast backward is detected. The second terminal may send the detected event information characterizing fast forward/fast reverse to the first terminal through the first connection; correspondingly, after receiving the event information representing fast forward/fast backward, the first terminal selects corresponding second screen data for projection sending based on the time parameter of the event information representing fast forward/fast backward. As another embodiment, if the screen data is not compressed, the first terminal selects the corresponding first screen data for projection transmission based on the time parameter of the event information representing fast forwarding/fast rewinding. Specifically, the first terminal collects first screen data in real time and caches the first screen data as historical data; each cache address in the cache may correspond to first screen data of a time parameter (e.g., a timestamp); the first terminal may obtain the event information representing fast forward/fast backward, and may then output the displayed screen data based on the fast forward/fast backward time parameter (e.g., x seconds for fast forward or y seconds for backward) represented by the event information and the time parameter of the currently output screen data of the second terminal. And selecting first screen data in a cache address corresponding to the current time parameter + x seconds or the current time parameter-y seconds, and sending the first screen data to the second terminal for output display, or compressing the first screen data into second screen data according to the first compression ratio for output display, so that the second terminal serving as a receiving terminal controls the playing of the projection data. Of course, when the second terminal does not output the display screen data through the specific player, the playback control of the screen data may be performed through the detected event information representing fast forward/fast reverse, with reference to the above description.
By adopting the technical scheme of the embodiment of the invention, on one hand, the receiving terminal can realize the wireless connection and data transmission between the projection terminal and the receiving terminal only by acquiring the first address through the hot spot function of the projection terminal, thereby realizing the compatibility of a projection technology full platform and expanding the use range of users; on the other hand, the projection side detects the network environment in advance, and the projected screen data is compressed when the network environment is poor, so that the receiving end can play smoothly, and the operation experience of a user is improved. In the third aspect, the receiving terminal can have a reverse control function, and the control of the receiving terminal on the projection terminal can be realized through the reverse control function, so that a receiving terminal user can conveniently check historical data, and the user experience is improved.
EXAMPLE five
Based on the description of the first to fourth embodiments, the information processing method according to the embodiment of the present invention is described below in a specific application scenario. FIG. 7 is a schematic diagram illustrating a detailed interaction flow of an information processing method according to an embodiment of the present invention; the first terminal is a projection end of the screen data, and the second terminal is a receiving end of the screen data. As shown in fig. 7, the method includes:
step 701: the projection terminal starts a projection function and generates a two-dimensional code identifier containing projection information; when the projection end starts the projection function, starting a hot spot function; the projection information comprises hotspot address information and cache address information of screen data cache;
step 702: the receiving end scans the two-dimensional code identification of the projection end to obtain projection information; completing networking based on the hotspot information in the projection information;
step 703: after networking is completed, the receiving end accesses the cache address information address obtained by scanning the two-dimensional code identification and analyzing, and screen data cached by the projection end is projected to the receiving end;
step 704: after screen projection is started, the projection end caches screen data into a local file in real time and sends the local file to the receiving end;
step 705: the projection terminal detects the current network environment and determines the transmission rate; when the transmission rate does not reach a preset threshold value, determining that the current network environment is poor; determining a compression ratio based on the transmission rate, compressing the screen data at the compression ratio, and caching the compressed screen data; and projecting the compressed screen data in the cache to a receiving end.
Step 706: a receiving end user performs an input operation (taking a touch screen terminal as an example, the input operation may be a touch operation);
step 707: the receiving end judges whether the reverse control function switch is turned on or not; when the reverse control function switch is turned off, go to step 708; when the reverse control function switch is turned on, step 709 is executed.
Step 708: the receiving end sends the event information representing fast forward/fast backward to the projecting end, and the projecting end selects a time point corresponding to the local cache file according to the timestamp of the received event information representing fast forward/fast backward and sends the screen data to the receiving end;
and 709, the receiving end sends a reverse control instruction, and the projection end analyzes and responds to the reverse control instruction after receiving the instruction.
EXAMPLE six
The embodiment of the invention also provides a terminal; the terminal is a first terminal or a projection terminal. Fig. 8 is a schematic diagram of a first structure of a terminal according to an embodiment of the present invention; as shown in fig. 8, the terminal includes: the system comprises a hot spot unit 81, a data acquisition unit 82, a data cache unit 83, an address generation unit 84, an environment detection unit 88, a compression unit 89 and a projection unit 85; wherein,
the hot spot unit 81 is configured to start a hot spot function based on the detected input operation, and obtain a hot spot address;
the data acquisition unit 82 is used for acquiring first screen data;
the data caching unit 83 is configured to cache the first screen data, and obtain a cache address of the first screen data;
the address generating unit 84 is configured to generate a first address based on the hotspot address and the cache address, so that at least one other terminal establishes a first connection with the first terminal based on the first address; wherein the first connection allows the at least one other terminal to access the cache where the first screen data is located;
the environment detection unit 88 is configured to detect a network environment, and obtain a first transmission rate representing the network environment;
the compressing unit 89 is configured to determine a first compression ratio of the first screen data based on the first transmission rate obtained by the environment detecting unit 88 when the first transmission rate does not reach a preset threshold, and compress the first screen data into second screen data according to the first compression ratio;
the projection unit 85 is configured to send the second screen data to the at least one other terminal based on the first connection.
As an implementation manner, the terminal further includes a configuration unit, configured to pre-configure a mapping relationship set including a plurality of sets of mapping relationships between transmission rate ranges and compression ratios; wherein the transmission rate is inversely related to the compression ratio;
the compressing unit 89 is configured to query the mapping relationship set based on the first transmission rate, obtain a first transmission rate range in which the first transmission rate is located, and determine a first compression ratio corresponding to the first transmission rate range.
As an implementation manner, the terminal further includes a first instruction control unit 86, configured to receive a first control instruction of the at least one other terminal and execute the first control instruction when the at least one other terminal outputs the second screen data through a specific client and a specific control function is turned on.
As another embodiment, the terminal further includes a second instruction control unit 87, configured to receive event information representing fast forward/fast rewind sent by the at least one other terminal when the at least one other terminal outputs the second screen data through a specific client and a specific control function is closed, and select corresponding second screen data to send to the at least one other terminal based on a time parameter of the event information.
It should be understood by those skilled in the art that the functions of each processing unit in the terminal according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the terminal according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
In the embodiment of the present invention, the data acquisition Unit 82, the address generation Unit 84, the environment detection Unit 88, the compression Unit 89, the first instruction control Unit 86, the second instruction control Unit 87, and the configuration Unit in the terminal may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), or a Programmable Gate Array (FPGA) in the terminal in practical application; the hot spot unit 81 and the projection unit 85 in the terminal can be realized through a communication module (comprising a basic communication suite, an operating system, a communication module, a standardized interface, a protocol and the like) and a transceiving antenna in practical application; the data caching unit 83 in the terminal may be implemented by a memory in the terminal in practical applications.
By adopting the technical scheme of the embodiment of the invention, on one hand, the receiving terminal can realize the wireless connection and data transmission between the projection terminal and the receiving terminal only by acquiring the first address through the hot spot function of the projection terminal, thereby realizing the compatibility of a projection technology full platform and expanding the use range of users; on the other hand, the projection side detects the network environment in advance, and the projected screen data is compressed when the network environment is poor, so that the receiving end can play smoothly, and the operation experience of a user is improved. In the third aspect, the second terminal can have a reverse control function, and the second terminal serving as the receiving terminal can control the first terminal serving as the sending terminal through the reverse control function, so that a receiving terminal user can conveniently check historical data, and the user experience is improved.
EXAMPLE seven
The embodiment of the invention also provides a terminal; the terminal is a second terminal or a receiving terminal. Fig. 9 is a schematic diagram of a second structure of the terminal according to the embodiment of the present invention; as shown in fig. 9, the second terminal includes: an address acquisition unit 91, a wireless communication unit 92, and an output display unit 93; wherein,
the address obtaining unit 91 is configured to obtain a first address;
the wireless communication unit 92 is configured to establish a first connection with the projection terminal based on a hotspot address and a cache address in the first address; the first connection allows the terminal to access a cache where screen data on the projection terminal are located;
and the output display unit 93 is configured to obtain, based on the first connection, second screen data that is compressed by the projection terminal at the first compression ratio, and output and display the second screen data.
As an embodiment, the address obtaining unit 91 is configured to scan identification information generated by the first terminal, and obtain a first address represented by the identification information.
As an implementation manner, the second terminal further includes a third instruction control unit 94, configured to detect whether a specific control function is turned on when the output display unit 93 displays the second screen data through a specific client; and when the specific control function is started, obtaining a first control instruction, and sending the first control instruction to the projection terminal so as to control the projection terminal.
As another embodiment, the second mobile terminal further includes a fourth instruction control unit 95, configured to detect whether a specific control function is turned on when the output display unit 93 displays the second screen data through a specific client; and when the specific control function is closed, obtaining event information representing fast forward/fast backward, and sending the event information representing fast forward/fast backward to the projection terminal, so that the projection terminal adjusts the transmitted screen data according to the event information.
It should be understood by those skilled in the art that the functions of each processing unit in the terminal according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the terminal according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
In the embodiment of the present invention, the address obtaining unit 91, the third instruction control unit 94, and the fourth instruction control unit 95 in the terminal may be implemented by a CPU, a DSP, an MCU, or an FPGA in the terminal in practical application; the wireless communication unit 92 in the terminal can be realized by a communication module (including a basic communication suite, an operating system, a communication module, a standardized interface, a protocol and the like) and a transceiving antenna in practical application; the output display unit 93 in the terminal may be implemented by a display in the terminal in practical applications.
By adopting the technical scheme of the embodiment of the invention, on one hand, the receiving terminal can realize the wireless connection and data transmission between the projection terminal and the receiving terminal only by acquiring the first address through the hot spot function of the projection terminal, thereby realizing the compatibility of a projection technology full platform and expanding the use range of users; on the other hand, the projection side detects the network environment in advance, and the projected screen data is compressed when the network environment is poor, so that the receiving end can play smoothly, and the operation experience of a user is improved. In the third aspect, the receiving terminal can have a reverse control function, and the control of the receiving terminal on the projection terminal can be realized through the reverse control function, so that a receiving terminal user can conveniently check historical data, and the user experience is improved.
Fig. 10 is a schematic diagram of a specific structure of a terminal according to an embodiment of the present invention; fig. 11 is a schematic diagram of another specific structure of the terminal according to the embodiment of the present invention; specific configurations of the first terminal and the second terminal described in the sixth embodiment and the seventh embodiment can be respectively shown with reference to fig. 10 and 11. The WiFi module and the display module are shared modules of a first terminal serving as a sending end and a second terminal serving as a receiving end; the WiFi module is mainly used for establishing a Media Access Control (MAC) link and transmitting data in an MAC layer; the display module is mainly used for displaying and user interaction.
As shown in fig. 10, the first terminal as a transmitting end (or a projecting end) includes, in addition to a WiFi module and a display module: a Real Time Streaming Protocol (RTSP) Server (Server) module is a Streaming media Server, and is configured to generate Streaming media from screen data and send the Streaming media to a corresponding client; the data acquisition module is used for acquiring screen data and converting the acquired screen data into an H.264 coding format; the data caching module is used for caching the screen data acquired by the data acquisition module into a local file, so that history viewing is facilitated; the reverse control instruction receiving module is used for receiving a reverse control instruction sent by a second terminal serving as a receiving end and converting the reverse control instruction into a control instruction of a first terminal serving as a projection end; and the hot spot module is used for starting the hot spot function to wait for the connection of a second terminal serving as a receiving terminal when the projection function is started. The first terminal further comprises a two-dimension code generating module used for generating a two-dimension code identifier containing a hotspot address and a cache address so as to facilitate the second terminal to scan and obtain the address. The first terminal also comprises a network detection module and a compression module, and is used for compressing the cached screen data when the network transmission rate is relatively low. It can be understood that, in the virtual unit of the first terminal shown in fig. 8, the data acquisition unit may be implemented by a data acquisition module; the data caching unit can be realized by a data caching module; the hot spot unit can be realized through a hot spot module and a WiFi module; the address generation unit can be realized by a two-dimensional code generation module; the first instruction control unit can be realized by a reverse control instruction receiving module; the second instruction control unit and the projection unit can be realized through a control module in the terminal.
As shown in fig. 11, the second terminal as a receiving end includes, in addition to the WiFi module and the display module: the RTSP Player (Player) module is a main streaming media Player and is used for playing the received screen data; the reverse control instruction sending module is used for determining whether the control instruction is used for collecting the operation of a user at a second terminal serving as a receiving end or not according to the state of the reverse control switch and sending the collected control instruction to a first terminal serving as a projection end; the mobile phone WiFi module is used for being connected with a first terminal serving as a projection end to complete networking. The second terminal also comprises a two-dimension code analysis module which is used for scanning the two-dimension code identification to obtain contained address information, so that the WiFi module of the mobile phone can conveniently realize networking based on the obtained address information. It can be understood that, in the virtual unit of the second terminal shown in fig. 9, the address obtaining unit may be implemented by a two-dimensional code parsing module; the wireless communication unit can be realized by a WiFi module and a WiFi module of a mobile phone; the output display unit can be realized by a display module; the third instruction control unit can be realized by a reverse control instruction sending module; the fourth instruction control unit can be realized by a control module in the terminal.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A terminal, characterized in that the terminal comprises: the system comprises a hot spot unit, a data acquisition unit, a data cache unit, an address generation unit, an environment detection unit, a compression unit and a projection unit; wherein,
the hot spot unit is used for starting a hot spot function based on the detected input operation to obtain a hot spot address;
the data acquisition unit is used for acquiring first screen data;
the data caching unit is used for caching the first screen data to obtain a caching address of the first screen data;
the address generating unit is configured to generate a first address based on the hotspot address and the cache address, so that at least one other terminal establishes a first connection with the first terminal based on the first address; wherein the first connection allows the at least one other terminal to access the cache where the first screen data is located;
the environment detection unit is used for detecting a network environment and acquiring a first transmission rate representing the network environment;
the compression unit is used for determining a first compression ratio of the first screen data based on the first transmission rate obtained by the environment detection unit, and compressing the first screen data into second screen data according to the first compression ratio;
the projection unit is configured to send the second screen data to the at least one other terminal based on the first connection.
2. The terminal according to claim 1, wherein the terminal further comprises a configuration unit configured to pre-configure a mapping relationship set comprising a plurality of sets of mapping relationships between transmission rate ranges and compression ratios; wherein the transmission rate is inversely related to the compression ratio;
the compression unit is configured to query the mapping relationship set based on the first transmission rate, obtain a first transmission rate range in which the first transmission rate is located, and determine a first compression ratio corresponding to the first transmission rate range.
3. The terminal according to claim 1, further comprising a first instruction control unit, configured to receive a first control instruction of the at least one other terminal and execute the first control instruction when a specific control function is turned on based on the at least one other terminal outputting the second screen data through a specific client.
4. The terminal according to claim 1, wherein the first terminal further includes a second instruction control unit, configured to receive event information representing fast forward/fast reverse sent by the at least one other terminal when the at least one other terminal outputs the second screen data through a specific client and a specific control function is turned off, and select corresponding second screen data based on a time parameter of the event information and send the second screen data to the at least one other terminal.
5. A terminal, characterized in that the terminal comprises: the device comprises an address acquisition unit, a wireless communication unit and an output display unit; wherein,
the address acquisition unit is used for acquiring a first address;
the wireless communication unit is used for establishing a first connection with the projection terminal based on the hotspot address and the cache address in the first address; the first connection allows the terminal to access a cache where screen data on the projection terminal are located;
and the output display unit is used for obtaining the second screen data which is compressed by the projection terminal according to the first compression ratio based on the first connection and outputting and displaying the second screen data.
6. An information processing method, characterized in that the method comprises:
the terminal starts a hot spot function based on the detected input operation to obtain a hot spot address;
acquiring first screen data, caching the first screen data, and obtaining a cache address of the first screen data;
generating a first address based on the hotspot address and the cache address so that at least one other terminal establishes a first connection with the terminal based on the first address; wherein the first connection allows the at least one other terminal to access the cache where the first screen data is located;
detecting a network environment, and acquiring a first transmission rate representing the network environment;
determining a first compression ratio of the first screen data based on the first transmission rate, and compressing the first screen data into second screen data at the first compression ratio;
and sending the second screen data to the at least one other terminal based on the first connection.
7. The method of claim 6, wherein prior to determining the first compression ratio for the first screen data based on the first parameter, the method further comprises:
configuring a mapping relation set containing a plurality of groups of mapping relations of transmission rate ranges and compression ratios; wherein the transmission rate is inversely related to the compression ratio;
said determining a first compression ratio of said first screen data based on said first transmission rate comprises:
and inquiring the mapping relation set based on the first transmission rate, obtaining a first transmission rate range in which the first transmission rate is positioned, and determining a first compression ratio corresponding to the first transmission rate range.
8. The method of claim 6, further comprising: and when the second screen data is output by the at least one other terminal through a specific client and a specific control function is started, the terminal receives a first control instruction of the at least one other terminal and executes the first control instruction.
9. The method of claim 6, further comprising: and when the second screen data is output by the at least one other terminal through a specific client and a specific control function is closed, the terminal receives event information which is sent by the at least one other terminal and represents fast forward/fast backward, and selects corresponding second screen data to send to the at least one other terminal based on the time parameter of the event information.
10. An information processing method, characterized in that the method comprises:
the method comprises the steps that a terminal obtains a first address, and a first connection with a projection terminal is established based on a hot spot address and a cache address in the first address; the first connection allows the terminal to access a cache where screen data on the projection terminal are located;
and obtaining second screen data which is compressed by the projection terminal according to the first compression ratio based on the first connection, and outputting and displaying the second screen data.
CN201610932803.XA 2016-10-31 2016-10-31 Information processing method and terminal Pending CN106528017A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610932803.XA CN106528017A (en) 2016-10-31 2016-10-31 Information processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610932803.XA CN106528017A (en) 2016-10-31 2016-10-31 Information processing method and terminal

Publications (1)

Publication Number Publication Date
CN106528017A true CN106528017A (en) 2017-03-22

Family

ID=58293202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610932803.XA Pending CN106528017A (en) 2016-10-31 2016-10-31 Information processing method and terminal

Country Status (1)

Country Link
CN (1) CN106528017A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229749A (en) * 2017-06-27 2017-10-03 上海地阳实业有限公司 A kind of wechat H5 webpage making method and system
CN107317655A (en) * 2017-06-06 2017-11-03 努比亚技术有限公司 Transfer control method, system and the readable storage medium storing program for executing of screen prjection
CN113543273A (en) * 2020-04-15 2021-10-22 深圳市云动创想科技有限公司 Audio data transmission method and system

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207809A (en) * 2006-12-19 2008-06-25 浙江工业大学 Real-time streaming media transmission method and system based on video frame splitting
CN102394926A (en) * 2011-10-31 2012-03-28 中科创达软件科技(北京)有限公司 Method for transferring files to terminals
CN103365572A (en) * 2012-03-26 2013-10-23 联想(北京)有限公司 Electronic equipment remote control method and electronic equipment
CN103576846A (en) * 2012-08-09 2014-02-12 深圳市中兴移动通信有限公司 Wireless projection system
CN104023416A (en) * 2013-02-28 2014-09-03 腾讯科技(深圳)有限公司 Method and system for transmitting file, sending terminal and receiving terminal
CN104243881A (en) * 2014-09-08 2014-12-24 陆俊 Projection control method and system of projector
CN104243878A (en) * 2013-06-19 2014-12-24 中兴通讯股份有限公司 Projector device and method for obtaining projector device with network function
CN104302014A (en) * 2014-09-11 2015-01-21 小米科技有限责任公司 Method and device for connecting terminal with Wi-Fi hotspot
CN104301344A (en) * 2013-07-17 2015-01-21 北京奇虎科技有限公司 File transfer method, terminal and system
CN104506650A (en) * 2015-01-04 2015-04-08 华为技术有限公司 Cooperative user equipment control method, user equipment and communication system
CN105335803A (en) * 2014-08-06 2016-02-17 肖彦君 Quality inspection monitoring apparatus, system and method
CN105335120A (en) * 2014-08-13 2016-02-17 中兴通讯股份有限公司 Multi-screen input/output control method, device and system
WO2016031062A1 (en) * 2014-08-29 2016-03-03 日立マクセル株式会社 Communication system, communication device, and communication terminal device
CN105657641A (en) * 2015-12-31 2016-06-08 中科创达软件股份有限公司 Interconnection device identification method, master intelligent device and slave intelligent device
CN105681826A (en) * 2016-01-08 2016-06-15 全时云商务服务股份有限公司 Video data transmission system and method and video data decoding method
CN105764119A (en) * 2016-01-29 2016-07-13 珠海汇迪科技有限公司 Method for network connection of motion camera through scanning two-dimensional code

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207809A (en) * 2006-12-19 2008-06-25 浙江工业大学 Real-time streaming media transmission method and system based on video frame splitting
CN102394926A (en) * 2011-10-31 2012-03-28 中科创达软件科技(北京)有限公司 Method for transferring files to terminals
CN103365572A (en) * 2012-03-26 2013-10-23 联想(北京)有限公司 Electronic equipment remote control method and electronic equipment
CN103576846A (en) * 2012-08-09 2014-02-12 深圳市中兴移动通信有限公司 Wireless projection system
CN104023416A (en) * 2013-02-28 2014-09-03 腾讯科技(深圳)有限公司 Method and system for transmitting file, sending terminal and receiving terminal
CN104243878A (en) * 2013-06-19 2014-12-24 中兴通讯股份有限公司 Projector device and method for obtaining projector device with network function
CN104301344A (en) * 2013-07-17 2015-01-21 北京奇虎科技有限公司 File transfer method, terminal and system
CN105335803A (en) * 2014-08-06 2016-02-17 肖彦君 Quality inspection monitoring apparatus, system and method
CN105335120A (en) * 2014-08-13 2016-02-17 中兴通讯股份有限公司 Multi-screen input/output control method, device and system
WO2016031062A1 (en) * 2014-08-29 2016-03-03 日立マクセル株式会社 Communication system, communication device, and communication terminal device
CN104243881A (en) * 2014-09-08 2014-12-24 陆俊 Projection control method and system of projector
CN104302014A (en) * 2014-09-11 2015-01-21 小米科技有限责任公司 Method and device for connecting terminal with Wi-Fi hotspot
CN104506650A (en) * 2015-01-04 2015-04-08 华为技术有限公司 Cooperative user equipment control method, user equipment and communication system
CN105657641A (en) * 2015-12-31 2016-06-08 中科创达软件股份有限公司 Interconnection device identification method, master intelligent device and slave intelligent device
CN105681826A (en) * 2016-01-08 2016-06-15 全时云商务服务股份有限公司 Video data transmission system and method and video data decoding method
CN105764119A (en) * 2016-01-29 2016-07-13 珠海汇迪科技有限公司 Method for network connection of motion camera through scanning two-dimensional code

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ICODIS: "2016 New projector:iCODIS CB-100W Mobile Projector—Miracast connect to Android phone’s hotspot", 《YOUTUBE》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107317655A (en) * 2017-06-06 2017-11-03 努比亚技术有限公司 Transfer control method, system and the readable storage medium storing program for executing of screen prjection
CN107229749A (en) * 2017-06-27 2017-10-03 上海地阳实业有限公司 A kind of wechat H5 webpage making method and system
CN107229749B (en) * 2017-06-27 2020-05-22 上海地阳实业有限公司 WeChat H5 webpage making method and system
CN113543273A (en) * 2020-04-15 2021-10-22 深圳市云动创想科技有限公司 Audio data transmission method and system
CN113543273B (en) * 2020-04-15 2023-12-01 深圳市云动创想科技有限公司 Audio data transmission method and system

Similar Documents

Publication Publication Date Title
CN106413128B (en) Projection method and mobile terminal
CN106210328B (en) Information display device and method
CN106375840A (en) Screen projection device, mobile terminal and screen projection connection method
CN104866352A (en) Method for starting application and mobile terminal
CN106412316A (en) Media resource playing control device and method
CN106453915B (en) A kind of information processing method and mobile terminal
CN106455122B (en) A kind of information processing method and mobile terminal
CN106528017A (en) Information processing method and terminal
CN105262953B (en) A kind of mobile terminal and its method of control shooting
CN106506473A (en) A kind of information processing method and projection terminal
CN105096551A (en) Device and method for achieving virtual remote controller
CN106572518A (en) Information processing method and mobile terminal
CN106534503A (en) Information processing method and electronic device
CN106455079B (en) A kind of information processing method and terminal
CN106455126B (en) A kind of information processing method and terminal
CN106412651A (en) Information processing method and mobile terminal
CN106528018B (en) A kind of information processing method and terminal
CN106488028B (en) Information processing method and mobile terminal
CN106413133B (en) A kind of information processing method and electronic equipment
CN106412857B (en) Method and device for sending multimedia message
CN106528022B (en) Control method and mobile terminal
CN106528023A (en) Information processing method and terminal
CN106453914A (en) Information processing method and terminal
CN106528016A (en) Information processing method and terminal
CN105049640B (en) A kind of apparatus and method for realizing focusing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170322

RJ01 Rejection of invention patent application after publication