CN110418429A - Data display method calculates equipment and data presentation system - Google Patents

Data display method calculates equipment and data presentation system Download PDF

Info

Publication number
CN110418429A
CN110418429A CN201910675560.XA CN201910675560A CN110418429A CN 110418429 A CN110418429 A CN 110418429A CN 201910675560 A CN201910675560 A CN 201910675560A CN 110418429 A CN110418429 A CN 110418429A
Authority
CN
China
Prior art keywords
display terminal
terminal
display
control command
data
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.)
Granted
Application number
CN201910675560.XA
Other languages
Chinese (zh)
Other versions
CN110418429B (en
Inventor
李鹤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Shenzhiduo Technology Co Ltd
Original Assignee
Wuhan Shenzhiduo 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 Wuhan Shenzhiduo Technology Co Ltd filed Critical Wuhan Shenzhiduo Technology Co Ltd
Priority to CN201910675560.XA priority Critical patent/CN110418429B/en
Publication of CN110418429A publication Critical patent/CN110418429A/en
Application granted granted Critical
Publication of CN110418429B publication Critical patent/CN110418429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/90Additional features
    • G08C2201/93Remote control using other portable devices, e.g. mobile phone, PDA, laptop

Abstract

The invention discloses a kind of data display methods, execute in controlling terminal, comprising: obtain the IP address of display terminal;According to IP address, TCP connection is established with display terminal;File destination is sent to display terminal;Control command is sent to display terminal, to control display situation of the file destination on display terminal.The present invention discloses corresponding calculating equipment and data presentation system together.

Description

Data display method calculates equipment and data presentation system
Technical field
The present invention relates to the data sharing between data sharing and field of display technology more particularly to a kind of terminal device is aobvious Show method, calculate equipment and data presentation system.
Background technique
Intelligent mobile terminal, such as mobile phone, tablet computer, intelligent wearable device etc., application in daily life is got over Come more extensive, people, which gradually produce, carries out intelligent mobile terminal and the equipment such as desktop computer (PC), projector, smart television The demand of data sharing and display.For example, user needs the data sharing on mobile phone to PC system in certain application scenarios It is shown, and controls display situation of the data on PC by carrying out interactive operation on mobile phone.
Currently, the video/audio content on mobile phone can be shipped to PC using Miracast scheme by Android phone Display on shown.The program is based on the point-to-point connection between WFD (Wi-Fi Display) protocol realization equipment, Special hardware supported (such as newer wireless network card) is needed to cannot achieve above-mentioned function for some more old equipment Energy.In addition, the program only supports that the real-time Transmission of video/audio data, the content shown on PC are to show content on mobile phone Duplication completely, during PC is displayed data, the mobile phone of user will be occupied always, can not carry out other work, difficult Flexibly to be controlled by mobile phone the display content on PC.
Summary of the invention
For this purpose, the present invention provides a kind of data display method, calculates equipment and data presentation system, to try hard to solve or extremely It is few alleviate above there are the problem of.
According to the first aspect of the invention, a kind of data display method is provided, is executed in controlling terminal, comprising: is obtained Take the IP address of display terminal;According to the IP address, TCP connection is established with the display terminal;File destination is sent to Display terminal;Control command is sent to display terminal, to control display situation of the file destination on display terminal.
Optionally, in data display method according to the present invention, it is described obtain display terminal IP address the step of, packet It includes: scanning the two-dimensional code, the two dimensional code includes the IP address information of display terminal;The two dimensional code is parsed, to obtain display eventually The IP address at end.
Optionally, in data display method according to the present invention, the step that TCP connection is established with the display terminal It suddenly include: to send TCP connection request to display terminal, to establish TCP connection with display terminal;It sends and registers to display terminal Order, to be registered as the client of the display terminal.
Optionally, described to send control command to display terminal in data display method according to the present invention, with control File destination is the display situation on display terminal the step of, comprising: judge whether display terminal has run target application, it is described Target application is suitable for opening the file destination;If display terminal operation has target application, set target application window to The current active window of display terminal.
Optionally, described to set current active for target application window in data display method according to the present invention The step of window, comprising: window activation command is sent to display terminal, so as to the display terminal execution window activation command Set target application window to the current active window of display terminal.
Optionally, in data display method according to the present invention, interactive operation and control are stored in the controlling terminal The corresponding relationship of order is made, the method also includes steps: interactive operation of the user in controlling terminal is received, according to preset The corresponding relationship of interactive operation and control command determines control command corresponding to the interactive operation of user.
Optionally, in data display method according to the present invention, the interactive operation includes click, long-pressing, sliding, text At least one of this input, the control command include keyboard identifier combination.
Optionally, it in data display method according to the present invention, further comprises the steps of: to send to display terminal and nullifies life It enables, to terminate the control process to display terminal.
According to the second aspect of the invention, a kind of calculating equipment is provided, comprising: at least one processor;Be stored with The memory of program instruction, described program instruction includes window manager, when the window manager is by the processor When reading and executing, so that the calculating equipment executes data display method as described above.
According to the third aspect of the present invention, a kind of readable storage medium storing program for executing for being stored with program instruction is provided, when the journey When sequence instruction is read and executed by calculating equipment, so that the calculating equipment executes data display method as described above.
According to the fourth aspect of the present invention, a kind of data presentation system, including controlling terminal and display terminal, institute are provided The IP address that controlling terminal is suitable for obtaining the display terminal is stated, and according to the IP address, establishes TCP with the display terminal File destination is sent to display terminal, and sends control command to display terminal by connection;The display terminal is suitable for receiving And show the file destination, and the display situation of file destination is controlled according to the control command.
Data display method according to the present invention is based on ICP/IP protocol, establishes between controlling terminal and display terminal TCP connection makes to be able to carry out data transmission therebetween.Since the equipment for having access to internet at present supports TCP/IP to assist View, therefore, data display method of the invention are reduced without configuring wireless network card that is newer, supporting WFD agreement to control The hardware requirement of terminal and display terminal has good adaptability in terms of hardware configuration and network environment.
In TCP/IP connection, controlling terminal is equivalent to client, and display terminal is equivalent to server.The two establishes TCP After connection, the transmission of data (file destination) and control command can be carried out.In data display method of the invention, control File destination is first sent to display terminal by terminal, then by way of sending control command to display terminal, is come neatly Control display situation of the file destination on display terminal.It is different from the method for existing real-time Transmission audio/video bitstreams, In data display method of the invention, content shown by content shown by display terminal and controlling terminal is mutually indepedent, Rather than the complete duplication of controlling terminal screen.During display terminal displaying target file, user can be whole in control Other operations are carried out on end, improve the flexibility and availability of controlling terminal.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
To the accomplishment of the foregoing and related purposes, certain illustrative sides are described herein in conjunction with following description and drawings Face, these aspects indicate the various modes that can practice principles disclosed herein, and all aspects and its equivalent aspect It is intended to fall in the range of theme claimed.Read following detailed description in conjunction with the accompanying drawings, the disclosure it is above-mentioned And other purposes, feature and advantage will be apparent.Throughout the disclosure, identical appended drawing reference generally refers to identical Component or element.
Fig. 1 shows the schematic diagram of data presentation system 100 according to an embodiment of the invention;
Fig. 2 shows the schematic diagrames of controlling terminal 200 according to an embodiment of the invention;
Fig. 3 shows the flow chart of data display method 300 according to an embodiment of the invention;
Fig. 4 shows the schematic diagram of the interactive interface in controlling terminal 200 according to an embodiment of the invention;And
Fig. 5 shows the schematic diagram that data sharing according to an embodiment of the invention shows process.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Aiming at the problems existing in the prior art, the present invention provides a kind of data display method, and this method can be not necessarily to In the case where upgrading terminals device hardware, it will be shown in the data sharing to display terminal in controlling terminal.Controlling terminal By way of sending control command to display terminal, to control display situation of the file destination on display terminal.Display is eventually Content shown by end shown content and controlling terminal is mutually indepedent, rather than the complete duplication of controlling terminal screen.In During display terminal displaying target file, user can carry out other operations in controlling terminal, improve controlling terminal Flexibility and availability.
Fig. 1 shows the schematic diagram of data presentation system 100 according to an embodiment of the invention.As shown in Figure 1, data Display system 100 includes controlling terminal 200 and display terminal 110.
Controlling terminal 200 is portable mobile termianl, such as can be mobile phone, tablet computer, multimedia player, intelligence Energy wearable device etc., but not limited to this.
Display terminal 110 is the terminal device with display screen.Under normal conditions, the screen size of display terminal 110 Greater than controlling terminal 110.Display terminal 110 for example can be desktop computer (Personal Computer, be abbreviated as PC), pen Remember this computer, smart television, projector etc., but not limited to this.
In some scenes, display terminal 110 is connected with the display 120 bigger than itself screen size, display terminal The data stored in 110 can be shown on larger-sized display 120, to reach better display effect.For example, aobvious Show that terminal 110 is laptop, the screen size of laptop is usually between 13 inches~15 inches.Laptop External-connection displayer 120, the size of display 120 can be 24 inches, it is 27 inches even more big.Pass through external-connection displayer 120, pen Remember that the data in this computer 110 can be shown in display 120 with independent, duplication, extension isotype.
In an embodiment of the present invention, controlling terminal 200 can execute data display method 300 of the invention, method 300 Specific steps will be described in detail below.By execute data display method 300, controlling terminal 200 be based on ICP/IP protocol with Display terminal 110, which is established, to be wirelessly connected, and by file destination, i.e., file to be shown is sent to display terminal 110 and is protected It deposits, shows that it on the screen of display terminal 110 itself or on external display 120.In the display of file destination In the process, controlling terminal 200 can send control command to display terminal 110, to control file destination on display terminal 110 Display situation.
Fig. 2 shows the schematic diagrames of controlling terminal 200 according to an embodiment of the invention.It should be noted that Fig. 2 institute The controlling terminal 200 shown is only an example, and in practice, the controlling terminal of data display method for carrying out the present invention can To be the terminal device of disposable type, hardware configuration situation can be identical as controlling terminal shown in Fig. 2, can also be different. The controlling terminal of data display method for carrying out the present invention can be to the hardware of controlling terminal 200 shown in Fig. 2 in practice Component is increased or is deleted, the present invention to the particular hardware configuration situation of controlling terminal with no restrictions.
As shown in Fig. 2, controlling terminal 200 may include memory interface 202, multi-core processor 204 and peripheral interface 206。
Memory interface 202, multi-core processor 104 and/or peripheral interface 206 can also collect either discrete component At in one or more integrated circuits.In controlling terminal 200, various elements can by one or more communication bus or Signal wire couples.Sensor, equipment and subsystem may be coupled to peripheral interface 206, to help to realize multiple functions.
For example, acceleration transducer 210, magnetic field sensor 212 and gravity sensor 214 may be coupled to peripheral interface 206, acceleration transducer 210 can acquire the acceleration information on three change in coordinate axis direction of fuselage coordinates system, and magnetic field passes Sensor 212 can acquire the magnetic field data (magnetic induction intensity) on three change in coordinate axis direction of fuselage coordinates system, gravity sensitive Device 214 can acquire the gravimetric data in three reference axis of fuselage coordinates system, the above sensor can be convenient realize step counting, The functions such as orientation, horizontal/vertical screen intelligence switching.Other sensors 216 can equally be connected with peripheral interface 206, such as positioning system (such as GPS receiver), temperature sensor, biometric sensor or other sensor devices, it is possible thereby to help to implement correlation Function.
Camera sub-system 220 and optical sensor 222 can be used for the camera of convenient such as record photos and video clips The realization of function, wherein the camera sub-system and optical sensor for example can be charge-coupled device (CCD) or complementary gold Belong to oxide semiconductor (CMOS) optical sensor.It can help to realize by one or more radio communication subsystems 224 Communication function, wherein radio communication subsystem may include radio-frequency transmitter and transmitter and/or light (such as infrared) receiver And transmitter.The particular design and embodiment of radio communication subsystem 224 can depend on controlling terminal 200 is supported one A or multiple communication networks.For example, controlling terminal 200 may include be designed to support LTE, 3G, GSM network, GPRS network, The communication subsystem 224 of EDGE network, Wi-Fi or WiMax network and BlueboothTM network.
Audio subsystem 226 can be coupled with loudspeaker 228 and microphone 230, to help to implement to enable voice Function, such as speech recognition, speech reproduction, digital record and telephony feature.I/O subsystem 240 may include touch screen control Device 242 processed and/or other one or more input controllers 244.Touch screen controller 242 may be coupled to touch screen 246.It lifts For example, any one of a variety of touch-sensing technologies are can be used to detect in the touch screen 246 and touch screen controller 242 The contact and movement or pause carried out therewith, wherein detection technology includes but is not limited to capacitive character, resistive, infrared and table Face technology of acoustic wave.Other one or more input controllers 244 may be coupled to other input/control devicess 248, such as one Or the pointer device of multiple buttons, rocker switch, thumb wheel, infrared port, USB port, and/or stylus etc.It is described One or more button (not shown)s may include the up/down for controlling 230 volume of loudspeaker 228 and/or microphone Button.
Memory interface 202 can be coupled with memory 250.The memory 250 may include internal storage and outer Portion's memory, internal storage for example can be static random access memory (SRAM), nonvolatile memory (NVRAM) Deng, but not limited to this;External memory for example can be hard disk, mobile hard disk, USB flash disk etc., but not limited to this.Memory 250 It can store program instruction, program instruction for example may include operating system 252 and using 254.Operating system 252 for example can be with It is Android, iOS, Windows Phone etc. comprising for handling basic system services and executing dependent on hardware The program instruction of task.Memory 250 can also be stored using 254, and application 254 may include for realizing various users expectation Function program instruction.It can be using 254 independently of operating system offer, be also possible to what operating system carried.Separately Outside, when application 254 is mounted in controlling terminal 200, drive module can also be added to operating system.It is run in mobile device When, meeting load operating system 252 from memory 250, and executed by processor 204.It at runtime using 254, also can be from It loads in memory 250, and is executed by processor 204.Operated on operating system using 254, using operating system and The interface that bottom hardware provides realizes the various desired functions of user, such as hardware management, instant messaging, web page browsing.
In above-mentioned various applications 254, one such application is data display applications 256 according to the present invention, data Display is using the instruction that 256 include for executing data display method 300 of the invention, when the instruction is read by processor 204 And when executing, controlling terminal 200 can be made to execute data display method 300 of the invention, by the target text in controlling terminal 200 Part is shared to being shown on display terminal 110, and can be controlled by way of sending control command to display terminal 110 Display situation of the file destination on display terminal 110.
Fig. 3 shows the flow chart of data display method 300 according to an embodiment of the invention.Method 300 is controlling It is executed in terminal (such as aforementioned controlling terminal 200).As shown in figure 3, method 300 starts from step S310.
In step s310, the IP address of display terminal is obtained.
According to a kind of embodiment, the IP address information of the available the machine of display terminal generates two based on IP address information Tie up code.That is, including the IP address information of display terminal in the two dimensional code generated.Then, controlling terminal should using camera scanning Two dimensional code, and the two dimensional code is parsed, therefrom to obtain the IP address of display terminal.
Then, in step s 320, according to IP address, TCP connection is established with display terminal.
According to a kind of embodiment, step S320 further comprises: send TCP connection request to display terminal, so as to it is aobvious Show that terminal establishes TCP connection;Then, log-in command is sent to display terminal, to be registered as the client of display terminal.
In an embodiment of the present invention, based on the IP address of display terminal, controlling terminal sends TCP connection to display terminal Request.By the three-way handshake process of Transmission Control Protocol, TCP connection is established between final controlling terminal and display terminal.Specifically, Controlling terminal and the three-way handshake process that display terminal establishes TCP connection are as follows:
1, shake hands for the first time: controlling terminal sends TCP connection request message section to display terminal, which includes synchronizing Position SYN=1 and initial sequence number seq=x.
2, second handshake: after display terminal receives the TCP connection request message section that controlling terminal is sent, to controlling terminal Send the first confirmation message section, which includes sync bit SYN=1, acknowledgement bit ACK=1, confirmation ack=x+1, and Initial sequence number seq=y.
3, it shakes hands: after controlling terminal receives the first confirmation message section that display terminal is sent, being sent out to display terminal for the third time The second confirmation message section is sent, which includes acknowledgement bit ACK=1, confirmation ack=y+1 and the serial number seq=x of itself +1。
By three-way handshake, controlling terminal and display terminal establish TCP connection.Then, data can be carried out therebetween Transmission.Controlling terminal further sends log-in command to display terminal, to be registered as the client (Client) of display terminal, Correspondingly, display terminal is as server (Server).After being registered as the client of display terminal, controlling terminal can In subsequent step S330, S340, file destination and control command are sent to display terminal, is being shown with controlling file destination Display situation in terminal.
In the embodiment of we, controlling terminal is established wireless connection based on ICP/IP protocol with display terminal and is carried out Data transmission.ICP/IP protocol is about proposed (twentieth century) seventies in last century, all at present to have access to setting for internet Standby to support the agreement, therefore, the current network equipment is provided with the hardware item for implementing data display method 300 of the invention Part, in other words, data display method 300 of the invention are not necessarily to specially upgrade or configure newly hard for controlling terminal or display terminal Part.And existing Miracast scheme based between WFD protocol realization equipment connection and data transmission, WFD agreement is in 2013 It proposes in year, the agreement that old hardware (such as the wireless network card produced before 2013) can not support this newly to go out, therefore, Miracast data-sharing scheme can not be applied in old equipment.
Relative to existing Miracast data sharing displaying scheme, data displaying scheme of the invention is reduced to control The hardware requirement of terminal and display terminal can be generally applicable in existing terminal device, and there is good hardware to adapt to Property.In addition, the present invention is based on ICP/IP protocols to establish the wireless connection between controlling terminal and display terminal, data are also improved The reliability of transmission can adapt to complicated network environment.
After controlling terminal and display terminal establish TCP connection, step S330 is executed.
In step S330, file destination is sent to display terminal.
File destination can be sent to display terminal based on the TCP connection established with display terminal by controlling terminal.Display Terminal receives file destination and saves.
File destination is the file for needing to carry out shared display on display terminal.File destination can be any type, The present invention to the type of file destination with no restrictions.For example, file destination can be audio file (extend entitled .mp3, .wma .wav etc.), video file (extending entitled .avi .rm .rmvb etc.), document files (extend entitled .doc .txt Deng), form document (extending entitled .xls .xlsx etc.), PowerPoint file (extending entitled .ppt .dps etc.) etc., but it is unlimited In this.
Then, in step S340, control command is sent to display terminal, to control file destination on display terminal Show situation.
According to a kind of embodiment, in step S340, firstly, controlling terminal judges whether display terminal has run target and answered With target application is suitable for opening file destination.For example, file destination is video file, then target application is that can open the view The video player of frequency file;File destination is .dps PowerPoint, then target application is the application of WPS lantern slide.Specifically, it controls Terminal processed can by access display terminal /proc catalogue to obtain the current progress information of display terminal determines that starting is each Whether the application program of a process judges in these application programs to include the target application for opening file destination.
If display terminal operation has target application, current active window is set by target application window, that is, by target Application widget moves to the top of window stack, to enable target application window to show completely on the screen, without being answered by other Window is blocked.According to a kind of embodiment, controlling terminal sends window activation command to display terminal, so as to display terminal It executes the window activation command and sets target application window to the current active window of display terminal.Window activation command example ActivateWindow function can be such as used, but not limited to this.
If display terminal not running has target application, show that file destination is unopened.In this case, it can control Prompting message is issued in terminal processed, to prompt user to open file destination on display terminal manually.Alternatively, controlling terminal can be with The order for opening file destination is sent, to display terminal so that display terminal executes the order and starts target application and opens target File.
After the current active active window set target application window on display terminal, controlling terminal can be into one It walks to display terminal and sends control command, to control display situation of the file destination on display terminal.
According to a kind of embodiment, the interactive operation of user and the corresponding relationship of control command are stored in controlling terminal.When For user when carrying out interactive operation in controlling terminal, controlling terminal can receive the interactive operation of user, and according to preset friendship The corresponding relationship of interoperability and control command, determines control command corresponding to the interactive operation of user, which is sent out It send to display terminal.
It should be noted that interactive operation can be any input operation of the user in controlling terminal, the present invention is to friendship The type of interoperability is with no restrictions.According to a kind of embodiment, interactive operation for example can be click, long-pressing, sliding etc. and touch hand Gesture input operation, is also possible to text entry operation etc., but not limited to this.
Control command is the order that can be identified and be executed by display terminal.According to a kind of embodiment, control command can be with It is keyboard identifier combination, but not limited to this.
The corresponding relationship of interactive operation and control command is by those skilled in the art's self-setting, and the present invention is to corresponding relationship Specific facilities with no restrictions.
For example, file destination is the PowerPoint for extending entitled .dps, which can be beaten using the application of WPS lantern slide It opens.User sends control command to display terminal by inputting corresponding text in controlling terminal, that is, user is whole in control Interactive operation type on end is text input.Control command is keyboard identifier combination.Interactive operation and control command It is as shown in the table that corresponding relationship and display terminal execute control command effect achieved:
Table 1
Interactive operation Control command The implementation effect of control command
It inputs text " Show " F5 It shows from the beginning
It inputs text " ShowCurrent " Shift+F5 It is shown since present slide
It inputs text " Next " PageDown Page turning backward
It inputs text " Prev " PageUp Page forward
It inputs text " Exit " Esc Exit projection
When user inputs " Show " in controlling terminal, controlling terminal interactive operation according to shown in table 1 and control are ordered The corresponding relationship of order, determining that user inputs control command corresponding to the interactive operation of text " Show " is F5 key, by F5 key Mark is sent to display terminal.After display terminal receives the control command of the mark comprising F5 key, the control command is executed, is produced The raw effect that F5 key is pressed on the keyboard of display terminal.Since in the application of WPS lantern slide, F5 key is shown from the beginning Shortcut key, therefore, display terminal execute the control command, will generate the implementation effect of slide show from the beginning.
When user inputs " ShowCurrent " in controlling terminal, controlling terminal interactive operation according to shown in table 1 with The corresponding relationship of control command determines that user inputs control command corresponding to the interactive operation of text " ShowCurrent " and is The mark of Shift+F5 key is sent to display terminal by Shift+F5 key.Display terminal receives the mark comprising Shift+F5 Control command after, execute the control command, generate the effect for pressing Shift and F5 key simultaneously on the keyboard of display terminal. Since in the application of WPS lantern slide, Shift+F5 key is the shortcut key shown since present slide, therefore, display terminal The control command is executed, the implementation effect shown since present slide will be generated.
Similarly, when inputting " Next " " Prev " " Exit " in controlling terminal as user, controlling terminal is respectively to display Terminal sends the control command of the mark comprising PageDown key, PageUp key, Esc key, and display terminal executes each control respectively Order generates page turning, Page forward, the implementation effect for exiting projection backward.
In another example for the PowerPoint for extending entitled .dps, user can also pass through the interactive interface in controlling terminal The upper mode for clicking the corresponding button control to send control command to display terminal, that is, interaction behaviour of the user in controlling terminal Make type to click.The schematic diagram of interactive interface in controlling terminal is as shown in Figure 4.Control command is keyboard mark group It closes.The corresponding relationship and display terminal of interactive operation and control command execute control command effect achieved such as following table institute Show:
Table 2
Interactive operation Control command The implementation effect of control command
Click the button 410 in Fig. 4 F5 It shows from the beginning
Click the button 420 in Fig. 4 Shift+F5 It is shown since present slide
Click the button 430 in Fig. 4 PageUp Page forward
Click the button 440 in Fig. 4 PageDown Page turning backward
Click the button 450 in Fig. 4 Esc Exit projection
When user clicks button 410 on controlling terminal interactive interface (screen) as shown in Figure 4, controlling terminal according to The corresponding relationship of interactive operation shown in table 2 and control command determines that user clicks the life of control corresponding to the operation of button 410 Enabling is F5 key, and the mark of F5 key is sent to display terminal.After display terminal receives the control command of the mark comprising F5 key, The control command is executed, the effect for pressing F5 key on the keyboard of display terminal is generated.Due to WPS lantern slide application in, F5 Key is the shortcut key shown from the beginning, and therefore, display terminal executes the control command, will generate slide show from the beginning Implementation effect.
When user clicks button 420 on controlling terminal interactive interface as shown in Figure 4, controlling terminal is according to 1 institute of table The corresponding relationship of the interactive operation and control command shown determines that user clicks the life of control corresponding to the interactive operation of button 420 Enabling is Shift+F5 key, and the mark of Shift+F5 key is sent to display terminal.Display terminal is received comprising Shift+F5's After the control command of mark, the control command is executed, generates the effect for pressing Shift and F5 key simultaneously on the keyboard of display terminal Fruit.Since in the application of WPS lantern slide, Shift+F5 key is the shortcut key shown since present slide, therefore, display is eventually End executes the control command, will generate the implementation effect shown since present slide.
Similarly, when button 430,440,450 are clicked on the interactive interface of controlling terminal as user, controlling terminal difference The control command of the mark comprising PageUp key, PageDown key, Esc key is sent to display terminal, display terminal executes respectively Each control command, generation Page forward, backward page turning, the implementation effect for exiting projection.
It should be noted that giving interactive operation and control above only by taking file destination is .dps PowerPoint as an example Two examples of the corresponding relationship of order.Control command can be arranged according to the type of file destination in those skilled in the art Quantity and type, the present invention are corresponding with control command to control command, the quantity of interactive operation and type and interactive operation The specific facilities of relationship are with no restrictions.
In step S340, user can be controlled by carrying out interactive operation in controlling terminal to send to display terminal Order, neatly to control display situation of the file destination on display terminal.With the method for existing real-time transmission data stream Difference, in data display method of the invention, content shown by content shown by display terminal and controlling terminal is mutual It is independent, rather than the complete duplication of controlling terminal screen.During display terminal displaying target file, except through operation Controlling terminal was come except the of short duration moment that display terminal sends control command, and user can carry out other behaviour in controlling terminal Make, improves the flexibility and availability of controlling terminal.
According to a kind of embodiment, when controlling terminal no longer needs to control display terminal, controlling terminal is to display Terminal sends De-REGistration CoMmanD, to terminate the control process to display terminal.
Illustrate that data of the invention show process below with embodiment shown in fig. 5.
In step S501, display terminal 110 obtains the IP address information of the machine, and generating includes the two of the IP address information Tie up code.
Then, in step S502, controlling terminal 200 scans and parses two dimensional code, therefrom gets display terminal 110 IP address.
Then, in step S503, controlling terminal 200 sends TCP connection request to display terminal 110 and (holds for the first time Hand), second, third time handshake procedure by step S504, S505, controlling terminal 200 and display terminal 110 establish TCP Connection.
Then, in step S506, controlling terminal 200 sends RegisterController registration to display terminal 110 Order, itself will be registered as the client of display terminal 110, send file destination and control to display terminal 110 so as to subsequent System order.
Then, in step s 507, display terminal 110 returns to the message to succeed in registration.
Then, in step S508, file destination is uploaded to display terminal 110 by controlling terminal 200.File destination is for example It can be the PowerPoint of .dps type.
Then, in step S509, the file destination received is stored in local by display terminal 110.
Then, in step S510, S511, the reading display terminal 110 of controlling terminal 200 /proc catalogue, judge to show Whether the target application that opens file destination, i.e. WPS lantern slide application are run in terminal 110.
When display terminal operation has the WPS lantern slide for opening file destination in application, in step S512, controlling terminal 200 send window activation command to display terminal 110, are set as display eventually will be displayed with the target application window of file destination The current active window at end 110.In step S513, display terminal 110, which returns, is arranged successful message.
Then, in step S514, controlling terminal 200 receives the interactive operation of user, and according to interactive operation, to display Terminal 110 sends corresponding control command, to control display situation of the file destination on display terminal 110.
For example, the corresponding relationship of pre-defined interactive operation and control command is as shown in aforementioned table 1, when controlling terminal 200 When receiving the interactive operation of user's input text " Next ", determine that control command corresponding to the interactive operation is PageDown The control command of mark comprising PageDown key is sent to display terminal 110 by key, and display terminal 110 will be based on the control Instruction executes and presses the operation of PageDown key, to reach the display effect of .dps PowerPoint page turning backward.
According to the difference of user demand, step S514 may be performed a number of times, that is, controlling terminal 200 may be first backward aobvious Show that terminal 110 sends a plurality of control command being not quite similar.
When controlling terminal 200 no longer needs to control display terminal 110, controlling terminal 200 executes step S515, De-REGistration CoMmanD is sent to display terminal 110, to terminate the control process to display terminal 110.In step S516, display is eventually End 110, which returns, nullifies successful message.
A11: a kind of data presentation system, including controlling terminal and display terminal;
The controlling terminal is suitable for obtaining the IP address of the display terminal, and according to the IP address, with the display Terminal establishes TCP connection, file destination is sent to display terminal, and send control command to display terminal;
The display terminal is suitable for receiving and shows the file destination, and controls target according to the control command The display situation of file.
Various technologies described herein are realized together in combination with hardware or software or their combination.To the present invention Method and apparatus or the process and apparatus of the present invention some aspects or part can take insertion tangible media, such as can Program code (instructing) in mobile hard disk, USB flash disk, floppy disk, CD-ROM or other any machine readable storage mediums Form, wherein when program is loaded into the machine of such as computer etc, and when being executed by the machine, the machine becomes to practice Equipment of the invention.
In the case where program code executes on programmable computers, calculates equipment and generally comprise processor, processor Readable storage medium (including volatile and non-volatile memory and or memory element), at least one input unit, and extremely A few output device.Wherein, memory is configured for storage program code;Processor is configured for according to the memory Instruction in the said program code of middle storage executes data display method of the invention.
By way of example and not limitation, readable medium includes readable storage medium storing program for executing and communication media.Readable storage medium storing program for executing Store the information such as computer readable instructions, data structure, program module or other data.Communication media is generally such as to carry The modulated message signals such as wave or other transmission mechanisms embody computer readable instructions, data structure, program module or other Data, and including any information transmitting medium.Above any combination is also included within the scope of readable medium.
In the instructions provided here, algorithm and display not with any certain computer, virtual system or other Equipment is inherently related.Various general-purpose systems can also be used together with example of the invention.As described above, it constructs this kind of Structure required by system is obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can With using various programming languages realize summary of the invention described herein, and the description that language-specific is done above be for Disclosure preferred forms of the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, knot is not been shown in detail Structure and technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, In Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims than feature more features expressly recited in each claim.More precisely, as following As claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, it abides by Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself As a separate embodiment of the present invention.
Those skilled in the art should understand that the module of the equipment in example disclosed herein or unit or groups Part can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in the example In different one or more equipment.Module in aforementioned exemplary can be combined into a module or furthermore be segmented into multiple Submodule.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
In addition, be described as herein can be by the processor of computer system or by executing by some in the embodiment The combination of method or method element that other devices of the function are implemented.Therefore, have for implementing the method or method The processor of the necessary instruction of element forms the device for implementing this method or method element.In addition, Installation practice Element described in this is the example of following device: the device be used for implement as in order to implement the purpose of the invention element performed by Function.
As used in this, unless specifically stated, come using ordinal number " first ", " second ", " third " etc. Description plain objects, which are merely representative of, is related to the different instances of similar object, and is not intended to imply that the object being described in this way must Must have the time it is upper, spatially, sequence aspect or given sequence in any other manner.
Although the embodiment according to limited quantity describes the present invention, above description, the art are benefited from It is interior it is clear for the skilled person that in the scope of the present invention thus described, it can be envisaged that other embodiments.Additionally, it should be noted that Language used in this specification primarily to readable and introduction purpose and select, rather than in order to explain or limit Determine subject of the present invention and selects.Therefore, without departing from the scope and spirit of the appended claims, for this Many modifications and changes are obvious for the those of ordinary skill of technical field.For the scope of the present invention, to this It invents done disclosure to be illustrative and be not restrictive, it is intended that the scope of the present invention be defined by the claims appended hereto.

Claims (10)

1. a kind of data display method, executes in controlling terminal, comprising:
Obtain the IP address of display terminal;
According to the IP address, TCP connection is established with the display terminal;
File destination is sent to display terminal;
Control command is sent to display terminal, to control display situation of the file destination on display terminal.
2. the method for claim 1, wherein the step of IP address for obtaining display terminal, comprising:
It scans the two-dimensional code, the two dimensional code includes the IP address information of display terminal;
The two dimensional code is parsed, to obtain the IP address of display terminal.
3. method according to claim 1 or 2, wherein described the step of establishing TCP connection with the display terminal includes:
TCP connection request is sent to display terminal, to establish TCP connection with display terminal;
Log-in command is sent to display terminal, to be registered as the client of the display terminal.
4. method as claimed in any one of claims 1-3, wherein it is described to send control command to display terminal, with control File destination is the display situation on display terminal the step of, comprising:
Judge whether display terminal has run target application, the target application is suitable for opening the file destination;
If display terminal operation has target application, it sets target application window to the current active window of display terminal.
5. method as claimed in claim 4, wherein described the step of setting current active window for target application window, Include:
Window activation command is sent to display terminal, so as to the display terminal execution window activation command by target application window Mouth is set as the current active window of display terminal.
6. method according to any one of claims 1 to 5, wherein be stored with interactive operation and control in the controlling terminal The corresponding relationship of order, the method also includes steps:
Interactive operation of the user in controlling terminal is received, according to the corresponding relationship of preset interactive operation and control command, really Determine control command corresponding to the interactive operation of user.
7. method as claimed in claim 6, wherein the interactive operation include click, long-pressing, sliding, in text input At least one, the control command include keyboard identifier combination.
8. being further comprised the steps of: such as method of any of claims 1-7
De-REGistration CoMmanD is sent to display terminal, to terminate the control process to display terminal.
9. a kind of calculating equipment, comprising:
At least one processor;With
It is stored with the memory of program instruction;
When described program instruction is read and executed by the processor, so that the calculating equipment executes such as claim 1-8 Any one of described in data display method.
10. a kind of readable storage medium storing program for executing for being stored with program instruction, when described program instruction is read and is executed by calculating equipment, So that the calculating equipment executes such as data display method of any of claims 1-8.
CN201910675560.XA 2019-07-25 2019-07-25 Data display method, computing equipment and data display system Active CN110418429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910675560.XA CN110418429B (en) 2019-07-25 2019-07-25 Data display method, computing equipment and data display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910675560.XA CN110418429B (en) 2019-07-25 2019-07-25 Data display method, computing equipment and data display system

Publications (2)

Publication Number Publication Date
CN110418429A true CN110418429A (en) 2019-11-05
CN110418429B CN110418429B (en) 2021-08-03

Family

ID=68363104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910675560.XA Active CN110418429B (en) 2019-07-25 2019-07-25 Data display method, computing equipment and data display system

Country Status (1)

Country Link
CN (1) CN110418429B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165574A (en) * 2020-09-17 2021-01-01 李志� Internet terminal control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685432A (en) * 2011-01-31 2012-09-19 Lg电子株式会社 Display apparatus connected with at least one device and controlling method thereof
US20130346500A1 (en) * 2012-06-25 2013-12-26 Salesforce.Com, Inc. Systems, methods, and apparatuses for accepting late joiners with screen sharing
CN106371608A (en) * 2016-09-21 2017-02-01 努比亚技术有限公司 Display control method and device for screen projection
CN108282677A (en) * 2018-01-24 2018-07-13 上海哇嗨网络科技有限公司 Realize that content throws method, throwing screen device and the system of screen by client
CN109285401A (en) * 2018-10-31 2019-01-29 厦门印天电子科技有限公司 A kind of based on WLAN mobile lecture system and its mobile teaching methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685432A (en) * 2011-01-31 2012-09-19 Lg电子株式会社 Display apparatus connected with at least one device and controlling method thereof
US20130346500A1 (en) * 2012-06-25 2013-12-26 Salesforce.Com, Inc. Systems, methods, and apparatuses for accepting late joiners with screen sharing
CN106371608A (en) * 2016-09-21 2017-02-01 努比亚技术有限公司 Display control method and device for screen projection
CN108282677A (en) * 2018-01-24 2018-07-13 上海哇嗨网络科技有限公司 Realize that content throws method, throwing screen device and the system of screen by client
CN109285401A (en) * 2018-10-31 2019-01-29 厦门印天电子科技有限公司 A kind of based on WLAN mobile lecture system and its mobile teaching methods

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165574A (en) * 2020-09-17 2021-01-01 李志� Internet terminal control method
CN112165574B (en) * 2020-09-17 2022-09-30 北京宏林科技发展有限公司 Internet terminal control method

Also Published As

Publication number Publication date
CN110418429B (en) 2021-08-03

Similar Documents

Publication Publication Date Title
US11269487B2 (en) Method and apparatus for recommending content based on activities of a plurality of users
US9223487B2 (en) Electronic apparatus, method of controlling the same, and related computer program
US20130227409A1 (en) Integrating sensation functionalities into social networking services and applications
KR102015534B1 (en) Message sync method, machine-readable storage medium and server
US10496178B2 (en) Gesture based control application for data sharing
US10237210B2 (en) Information processing system and method of processing information
WO2013085834A1 (en) Sensation enhanced messaging
CN105488145B (en) Display methods, device and the terminal of web page contents
US20140282204A1 (en) Key input method and apparatus using random number in virtual keyboard
CN104486371B (en) Batch downloads the device and method of file
JP6427950B2 (en) Terminal device, program, function calling method, and information processing system
KR20190016671A (en) Communication device, server and communication method thereof
US11271977B2 (en) Information processing apparatus, information processing system, information processing method, and non-transitory recording medium
CN109672908A (en) A kind of method for protecting privacy, device and mobile terminal
US10848558B2 (en) Method and apparatus for file management
JP6803329B2 (en) Methods and devices for generating 2D codes and sending them in messages
CN109600647A (en) A kind of TV remote controlling method, mobile terminal, TV and system
KR101876394B1 (en) Method and device for playing media data on a terminal
CN110418429A (en) Data display method calculates equipment and data presentation system
KR102256290B1 (en) Method and apparatus for creating communication group of electronic device
JP6428104B2 (en) Information processing system, terminal device, and program
CN104468739B (en) Message treatment method, client and mobile terminal
KR101451612B1 (en) System for message service, apparatus and method thereof
US20190096130A1 (en) Virtual mobile terminal implementing system in mixed reality and control method thereof
KR102166211B1 (en) Messenger service system, method and apparatus for messenger user authentication in the system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20191105

Assignee: Tongxin Software Technology Co.,Ltd.

Assignor: WUHAN DEEPIN TECHNOLOGY Co.,Ltd.

Contract record no.: X2021980010212

Denomination of invention: Data display method, computing equipment and data display system

Granted publication date: 20210803

License type: Common License

Record date: 20210929