WO2014029174A1 - Mobile terminal and cross-device synchronization control method for pages of mobile terminal - Google Patents

Mobile terminal and cross-device synchronization control method for pages of mobile terminal Download PDF

Info

Publication number
WO2014029174A1
WO2014029174A1 PCT/CN2012/085570 CN2012085570W WO2014029174A1 WO 2014029174 A1 WO2014029174 A1 WO 2014029174A1 CN 2012085570 W CN2012085570 W CN 2012085570W WO 2014029174 A1 WO2014029174 A1 WO 2014029174A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
screen
page
logical
container
Prior art date
Application number
PCT/CN2012/085570
Other languages
French (fr)
Chinese (zh)
Inventor
林仕鼎
王骕
黎科峰
柳俊中
童遥
Original Assignee
百度在线网络技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 百度在线网络技术(北京)有限公司 filed Critical 百度在线网络技术(北京)有限公司
Publication of WO2014029174A1 publication Critical patent/WO2014029174A1/en

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/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/12Synchronisation between the display unit and other units, e.g. other display units, video-disc players
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2300/00Aspects of the constitution of display devices
    • G09G2300/02Composition of display devices
    • G09G2300/026Video wall, i.e. juxtaposition of a plurality of screens to create a display screen of bigger dimensions

Definitions

  • the present invention relates to the field of mobile communication technologies, and in particular, to a cross-device synchronization control method for a page and a mobile terminal using the above synchronization control method.
  • the present invention is directed to solving at least some of the above technical problems or at least providing a useful commercial option. Accordingly, it is an object of the present invention to provide a cross-device synchronization control method for a page that synchronizes page display content between a plurality of devices. Another object of the present invention is to provide a mobile terminal.
  • a cross-device synchronization control method for a page of an embodiment of the first aspect of the present invention includes the following steps:
  • the first mobile terminal and the at least one second mobile terminal respectively run the same application, wherein the application includes multiple pages;
  • the first mobile terminal and the at least one second mobile terminal establish communication with each other;
  • the first mobile terminal and the at least one second mobile terminal perform a synchronization operation according to the control instruction.
  • the cross-device synchronization control method of the page according to the embodiment of the present invention realizes display synchronization across devices by establishing communication between multiple mobile terminals and sharing data of the same application, thereby improving real-time and accurate display content acquisition. degree. Moreover, by further detecting the mutual positional relationship between the mobile terminals, the display contents of the plurality of mobile terminals are synchronously adjusted according to the positional relationship, so that the display contents of the plurality of mobile terminals are integrated, thereby giving the user a strong visual impact.
  • An embodiment of the second aspect of the present invention provides a mobile terminal, including: an application running module, configured to run an application, where the application includes multiple pages; and a communication module, configured to be used with at least one other mobile terminal Establishing communication with each other, and after establishing communication, receiving a control command input by the user and transmitting the control command to the at least one other mobile terminal, or receiving a control instruction from another mobile terminal; and a synchronization operation module, configured to The control commands from the other mobile terminals are synchronized with the other mobile terminals.
  • display synchronization across devices is achieved by establishing communication between other mobile terminals and sharing data of the same application, thereby improving real-time and accuracy of display content acquisition. Further, by further detecting the mutual positional relationship between the mobile terminals, the display contents of the plurality of mobile terminals are synchronously adjusted according to the positional relationship, so that the display contents of the plurality of mobile terminals are integrated, thereby giving the user a strong visual impact.
  • FIG. 1 is a cross-device synchronization control method for a page according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a page during synchronization of two mobile terminals according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of correspondence between two mobile terminal location relationships and a display page according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a page of two mobile terminals in the process of dragging a screen according to an embodiment of the present invention
  • 5 is a schematic diagram of a mobile terminal according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of an application execution module according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a mobile terminal according to another embodiment of the present invention. detailed description
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” and “second” may include one or more of the features, either explicitly or implicitly.
  • the meaning of “plurality” is two or more, unless specifically defined otherwise.
  • the terms “installation”, “connected”, “connected”, “fixed” and the like should be understood broadly, and may be either a fixed connection or a detachable connection, unless otherwise explicitly stated and defined. , or connected integrally; can be mechanical or electrical; can be directly connected, or indirectly connected through an intermediate medium, can be the internal communication of the two components.
  • the specific meanings of the above terms in the present invention can be understood on a case-by-case basis.
  • the first feature "on” or “under” the second feature may include direct contact of the first and second features, and may also include first and second features, unless otherwise explicitly defined and defined. It is not in direct contact but through additional features between them.
  • the first feature “above”, “above” and “above” the second feature includes the first feature directly above and above the second feature, or merely indicating that the first feature level is higher than the second feature.
  • the first feature “below”, “below” and “below” the second feature includes the first feature directly above and above the second feature, or merely indicating that the first feature level is less than the second feature.
  • a cross-device synchronization control method for a page according to an embodiment of the present invention will be described below with reference to FIGS. 1 through 3.
  • the cross-device synchronization control method of the page can be applied to the application development of a mobile terminal such as a mobile phone or a tablet computer.
  • the App may be either a Web App or a Native App.
  • the cross-device synchronization control method of the page in the embodiment of the present invention includes the following steps: Step S101: The first mobile terminal and the at least one second mobile terminal respectively run the same application. First, after the first mobile terminal App application is turned on, the second mobile terminal starts the corresponding App application.
  • the App of the first mobile terminal and the at least one second mobile terminal may include a plurality of pages, wherein the plurality of pages are arranged in a two-dimensional matrix.
  • the first mobile terminal and the at least one second mobile terminal running the same application further comprising: providing a logical screen container to the first mobile terminal and the at least one second mobile terminal.
  • a display window and multiple container nodes are included in the logical screen container.
  • the display window can display the content of the current page selected by the user.
  • the plurality of container nodes correspond to a plurality of logical screens, and each of the logical screens corresponds to a physical screen in the first mobile terminal or the at least one second mobile terminal.
  • each logical screen in the logical screen container of the first mobile terminal corresponds to a physical screen in the first mobile terminal.
  • Each of the logical screen containers in the second mobile terminal corresponds to a physical screen in the second mobile terminal.
  • each logical screen is generated during the app development process.
  • each logical screen is the same size as the physical screen of the client.
  • each logical screen is the same size as the phone's screen.
  • the content in the logical screen can be displayed correspondingly on the physical screen of the client.
  • the page content for display is then loaded in a portion of the container nodes in the logical screen container of the first mobile terminal and the at least one second mobile terminal.
  • the content of the page loaded in each container node corresponds to the content displayed on one physical screen.
  • the plurality of logical screens include a plurality of active logical screens and a plurality of inactive logical screens, and the plurality of active logical screens and the plurality of inactive logical screens are two Dimension matrix arrangement.
  • the active screen is the part of the container node that loads the content of the page for display.
  • the content of the page in the active screen is the loaded, rendered page, that is, the screen in the activity is in the loading completion state. Users can view the page content of one of the screens in multiple activities by selecting.
  • the inactive logical screen is another portion of the container node that is not loaded with the page content for display. It can be considered that the inactive logical screen is an inactive screen and the active logical screen is an active screen.
  • the control logic of the display window is set such that the display window switches between multiple container nodes under the command input by the user.
  • a block is located in a plurality of pages in the form of a two-dimensional matrix.
  • Step S102 The first mobile terminal and the at least one second mobile terminal establish communication with each other.
  • the first mobile terminal and the at least one second mobile terminal establish communication with each other.
  • the communication mode between the first mobile terminal and the at least one second mobile terminal may be one of the following two types:
  • the first mobile terminal and the at least one second mobile terminal are directly connected to communicate to share the same data
  • the first mobile terminal and the at least one second mobile terminal establish a connection path to communicate by the server (server) to share the same data.
  • Step S103 The first mobile terminal receives a control instruction input by the user, and sends the control instruction to the at least one second mobile terminal.
  • control instruction may be to synchronize display content of the at least one second mobile terminal that establishes communication with the first mobile terminal with the first mobile terminal.
  • the first mobile terminal After receiving the control command input by the user, the first mobile terminal further transmits the control command to the at least one second mobile terminal with which the communication is established.
  • Step S104 The first mobile terminal and the at least one second mobile terminal perform a synchronization operation according to the control instruction. After receiving the control instruction from the first mobile terminal, the at least one second mobile terminal acquires the application data of the first mobile terminal by using the established communication link. Understandably, due to at least one The second mobile terminal and the first mobile terminal run the same application, so the App application of the at least one second mobile terminal obtains the application data of the same application on the first mobile terminal.
  • the second mobile terminal After obtaining the application data, the second mobile terminal analyzes the application data, obtains an application sequence and display content on the first mobile terminal, and implements synchronization of interfaces and data on the first mobile terminal and the at least one second mobile terminal. .
  • the cross-device synchronization control method of the page in the embodiment of the present invention can be applied to the display composition of the splicing application among the multiple mobile terminals, so that multiple users holding the mobile terminal can simultaneously operate different parts of the same application, such as music playing. application.
  • a communication link is established between a plurality of mobile terminals, and at the same time, music pieces played by different instruments are used, and the instruments are exchanged by the switching operation of the first mobile terminal as the master device, but the two mobile terminals do not operate simultaneously at the same time.
  • Kind of musical instrument For example, the first mobile terminal first controls one second mobile terminal to play the music using the harmonica, and the other second mobile terminal uses the flute to play the music. Then, the user transmits a music switching instruction to the two second mobile terminals by performing a music switching operation on the first mobile terminal. Thereby, one second mobile terminal is switched from the harmonica to the flute playing music, and the other second mobile terminal is switched from the flute to the harmonica playing music.
  • the at least one second mobile terminal of the first mobile terminal after the at least one second mobile terminal of the first mobile terminal establishes communication and shares the same application data, the at least one second mobile terminal further detects the location of the first mobile terminal, and generates the first mobile terminal and the at least one Second, the location relationship information between the mobile terminals. Then, the at least one second mobile terminal obtains the current page displayed by the first mobile terminal, and adjusts the current page of the at least one second mobile terminal according to the current page and the location relationship information.
  • the process of adjusting the current page according to the current page and location relationship information will be described below by taking two mobile terminals A and B as an example with reference to FIGS. 2 to 4.
  • the mobile terminal A is the first mobile terminal
  • the mobile terminal B is the second mobile terminal.
  • the display content of the current page of the mobile terminal B is adjusted according to the change in the positional relationship with the mobile terminal A and the current page of the mobile terminal A.
  • the mobile terminal B opens the application and accesses, and establishes communication between the two mobile terminals.
  • the application programs opened by the mobile terminal A and the mobile terminal B are the same.
  • the applications of mobile terminal A and mobile terminal B generate the same structure logical screen content and arrangement.
  • the mobile terminal A and the mobile terminal B each include 8 logical screens, and the logical shields are arranged in a two-dimensional matrix.
  • the mobile terminal A and the mobile terminal B determine the positional relationship with each other through the sensor devices on the respective devices.
  • the positional relationship may be, for example, up, down, left, or right.
  • the sensor on the mobile terminal A is loaded. It is detected that the mobile terminal B is located on the left side of the mobile terminal A.
  • the sensor device on the mobile terminal B detects that the mobile terminal A is located on the right side of the mobile terminal B.
  • the sensor device may be a GPS (Global Positioning System), a distance sensor, or an electronic compass.
  • GPS Global Positioning System
  • the sensor device may be a GPS (Global Positioning System), a distance sensor, or an electronic compass.
  • the related parameters can be manually set, so that the devices can know each other's spatial position, thereby forming a two-dimensional matrix relationship between the devices, thereby corresponding to the application ( App ) The two-dimensional relationship of the screen.
  • the mobile terminal B acquires the location relationship information with the mobile terminal A, for example, the mobile terminal B shown in Fig. 3 is located on the right side of the mobile terminal A. Then, the mobile terminal B obtains the current page of the mobile terminal A using the established communication. Then, based on the current display screen position of the mobile terminal A, the screen position displayed by the application on the mobile terminal B is judged. The mobile terminal B performs a corresponding display offset to display the correct screen content. When the mobile terminal B displays the correct screen content, the initialization between the devices is completed.
  • the two mobile terminals each run the contents of the respective screens and maintain communication with each other to maintain the unity of the interaction.
  • the mobile terminal A issues an interaction event
  • the event type and related parameters are passed to the mobile terminal B, so that the mobile terminal B simultaneously responds to the user's interaction.
  • the two-dimensional relationship of the multi-screen screen of the App application is a 3x3 matrix, and each logical screen corresponds to one page content. And, the relative display content of each logical screen with each other is specified.
  • the current page of the application of the mobile terminal A is CO.
  • the current page of the application of the mobile terminal B is A0. If the mobile terminal B detects that it is located on the right side of the mobile terminal A, the current page of the application of the mobile terminal B is C2.
  • the mobile terminal B adjusts the current page according to the location relationship information of the two. As shown in FIG. 4, it is assumed that the mobile terminal A is located on the left side of the mobile terminal B.
  • the page initially displayed by the mobile terminal A is the page corresponding to the first logical exhibition, for example, A1
  • the page initially displayed by the corresponding mobile terminal B is the page corresponding to the second logical screen, for example, A0.
  • the page of the application is switched. For example, if the user drags the screen to the left, the first logical screen is dragged to the second logical screen (the second logical screen is located).
  • the current page of the mobile terminal A is A0.
  • the mobile terminal B detects the interaction event of the mobile terminal A, thereby dragging the mobile terminal B from the second logical screen to the third logical screen, and the current page of the mobile terminal B is displayed as A2.
  • Al, A2, and A3 are a set of continuous content, for example, Al, A2, and A3 together form a picture of a horse, where A1 shows the head of the horse, A2 shows the torso of the horse, and A3 shows the tail of the horse.
  • the mobile terminal A and the mobile terminal B are placed side by side, the mobile terminal A and the mobile terminal B respectively display the head of the hummer
  • the part and the torso, as they are placed next to each other, can be regarded as an overall screen from the perspective of the user.
  • the mobile terminal A gradually transitions from the head of the display horse to the torso of the display horse, and the corresponding mobile terminal B gradually transitions from the torso of the display horse to the tail of the display horse.
  • the mobile terminal A and the mobile terminal B form an overall large screen to display the horse from beginning to end, and the contents displayed by the two mobile terminals are related to each other, the transition is smooth, and the visual impact is strong.
  • the cross-device synchronization control method of the page according to the embodiment of the present invention realizes display synchronization across devices by establishing communication between multiple mobile terminals and sharing data of the same application, thereby improving real-time and accurate display content acquisition. degree. Further, by further detecting the mutual positional relationship between the mobile terminals, the display contents of the plurality of mobile terminals are synchronously adjusted according to the positional relationship, so that the display contents of the plurality of mobile terminals are integrated, thereby giving the user a strong visual impact.
  • the mobile terminal 400 of the embodiment of the present invention will be described below with reference to Figs.
  • the mobile terminal can be a mobile phone or a tablet.
  • the mobile terminal 400 of the embodiment of the present invention includes: an application running module 410, a communication module 420, and a synchronization operation module 430.
  • the application execution module 410 is used to run an application (App).
  • the App can be either a Web App or a Native App.
  • the application can include multiple pages.
  • the pages of the application are arranged in a two-dimensional matrix.
  • the application running module 410 of the embodiment of the present invention includes: a logical screen container 411, a logic setting unit 412, and a switching unit 413.
  • the logical screen container 411 includes a display window and a plurality of container nodes.
  • the display window can display the content of the current page selected by the user.
  • Multiple container nodes correspond to multiple logical screens, and each logical screen corresponds to a physical screen in the mobile terminal.
  • the part of the container in the logical screen container is loaded with the page content for display.
  • the content of the page loaded in each container node corresponds to what is displayed on one physical screen.
  • the logic screen is generated during the app development process.
  • each logical screen is the same size as the client's physical screen.
  • each logical screen has the same size as the screen of the mobile terminal.
  • the content in the logical screen can be displayed correspondingly on the physical screen of the client.
  • the plurality of logical screens include a plurality of active logical screens and a plurality of inactive logical screens, and the plurality of active logical screens and the plurality of inactive logical screens are two Dimension matrix arrangement.
  • the active screen is the part of the container node that loads the content of the page for display.
  • the content of the page in the active screen is the loaded, rendered page, that is, the screen in the activity is in the loading completion state.
  • the inactive logical screen is another portion of the container node that is not loaded with the page content for display.
  • the inactive logical screen can be considered to be an inactive screen, while the active logical screen is the active screen.
  • the logic setting unit 412 can set the control logic of the display window to switch the display window between the plurality of container nodes under the command input by the user.
  • the switching unit 413 switches the display window between the plurality of container nodes under the command input by the user according to the set control logic.
  • the mobile terminal 400 locates a block in a plurality of pages in the form of a two-dimensional matrix.
  • the communication module 420 is configured to establish communication with each other with at least one other mobile terminal.
  • the communication mode between the mobile terminal and the at least one other mobile terminal may be one of the following two types:
  • the mobile terminal 400 of the embodiment of the present invention directly communicates with at least one other mobile terminal to communicate to share the same data;
  • the mobile terminal 400 of the embodiment of the present invention and at least one other mobile terminal establish a connection path to communicate the same data by means of a server (server) transfer data.
  • server server
  • the communication module 420 After establishing the communication, the communication module 420 receives the control command input by the user and sends the control command to at least one other mobile terminal.
  • the control instructions may be synchronized with the mobile terminal 400 for controlling display content of at least one other mobile terminal that establishes communication with the mobile terminal 400 of the embodiment of the present invention.
  • the communication module 420 After receiving the control command input by the user, the communication module 420 further transmits the control command to at least one other mobile terminal with which communication is established.
  • the communication module 400 receives a control command from the mobile terminal as a reference.
  • the other mobile terminal is a reference mobile terminal.
  • the synchronization operation module 430 performs a synchronization operation with the reference mobile terminal based on the received control command from the mobile terminal of the reference.
  • the synchronization operation module 430 After receiving the mobile terminal control command from the reference, the synchronization operation module 430 acquires the application data of the reference mobile terminal by using the established communication link. It can be understood that since the reference mobile terminal and the mobile terminal 400 of the embodiment of the present invention run the same application, the App application of the reference mobile terminal obtains the application data of the same application on the mobile terminal 400. After obtaining the application data, the synchronization operation module 430 analyzes the application data to obtain an application sequence and display content on the reference mobile terminal, thereby implementing an interface between the mobile terminal 400 and the reference mobile terminal according to the embodiment of the present invention. Synchronization of data.
  • the mobile terminal 400 of the embodiment of the present invention further includes a display module, and an application running module 410 and a synchronization operation module 430, respectively, which can display a page of the application, and operate by synchronization The page of the synchronized application of the module 430 is displayed.
  • the mobile terminal 400 of the embodiment of the present invention further includes: a location detecting module 450 and a page adjusting module 460.
  • the location detecting module 450 can detect the location of the reference mobile terminal and generate location relationship information with the reference mobile terminal.
  • the mobile terminal 400 of the embodiment of the present invention is used as a reference mobile terminal or a mobile terminal to be synchronized, it is necessary to detect the location of other mobile terminals.
  • the location detection module 450 further detects the location of the reference mobile terminal and generates location relationship information between the reference mobile terminal and the mobile terminal 400 of the embodiment of the present invention.
  • the page adjustment module 460 can obtain the current page displayed by the reference mobile terminal, and then adjust the current display page of the mobile terminal 400 according to the current page and the location relationship information.
  • the adjusted page is displayed in real time by the display module 440.
  • the position detecting module 450 may be a GPS (Global Positioning System), a distance sensor, or an electronic compass.
  • the related parameters can be manually set, so that the devices can know each other's spatial positions, thereby forming a two-dimensional matrix relationship between the devices, thereby correspondingly The two-dimensional relationship of the application (App) screen.
  • the position detecting module 450 acquires positional relationship information with the reference mobile terminal, for example, the mobile terminal B (the mobile terminal 400 of the embodiment of the present invention) shown in Fig. 3 is located on the right side of the mobile terminal A (reference mobile terminal). Then, the mobile terminal B obtains the current page of the mobile terminal A using the established communication. Then, based on the current display screen position of the mobile terminal A, the screen position displayed by the application on the mobile terminal B is judged. The mobile terminal B performs the corresponding display offset to display the correct screen content. When the mobile terminal B displays that the correct screen content is completed, the initialization between the devices is completed.
  • the reference mobile terminal for example, the mobile terminal B (the mobile terminal 400 of the embodiment of the present invention) shown in Fig. 3 is located on the right side of the mobile terminal A (reference mobile terminal). Then, the mobile terminal B obtains the current page of the mobile terminal A using the established communication. Then, based on the current display screen position of the mobile terminal A, the screen position displayed by the application on
  • the two mobile terminals each run the contents of the respective screens and maintain communication with each other to maintain the unity of the interaction.
  • the mobile terminal A issues an interactive event
  • the event type and related parameters are passed To the mobile terminal B, so that the mobile terminal B simultaneously responds to the user's interaction.
  • the mobile terminal realizes communication synchronization between devices by establishing communication with other mobile terminals and sharing data of the same application, thereby improving real-time and accuracy of display content acquisition. Further, by further detecting the mutual positional relationship between the mobile terminals, the display contents of the plurality of mobile terminals are synchronously adjusted according to the positional relationship, so that the display contents of the plurality of mobile terminals are integrated, thereby giving the user a strong visual impact.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by the instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method proceeds to obtain the program electronically and then store it in computer memory.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented with any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as separate products, may also be stored in a computer readable storage medium.
  • the above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the description of the terms “one embodiment”, “some embodiments”, “example”, “specific example”, or “some examples” and the like means a specific feature described in connection with the embodiment or example.
  • a structure, material or feature is included in at least one embodiment or example of the invention.
  • the schematic representation of the above terms does not necessarily mean the same embodiment or example.
  • the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Disclosed is a cross-device synchronization control method for pages, and the method comprises the following steps: a first mobile terminal and at least one second mobile terminal respectively running the same application program, the application program comprising a plurality of pages; the first mobile terminal and the at least one second mobile terminal establishing communication with each other; the first mobile terminal receiving a control instruction input by a user, and sending the control instruction to the at least one second mobile terminal; the first mobile terminal and the at least one second mobile terminal performing synchronization according to the control instruction. Further disclosed is a mobile terminal. According to the present invention, by establishing communication with another mobile terminal and sharing data of the same application program, cross-device display synchronization is implemented, and timeliness and accuracy of acquiring display content are improved.

Description

移动终端及用于其的页面的跨设备同步控制方法 技术领域  Cross-device synchronization control method for mobile terminal and page therefor
本发明涉及移动通信技术领域, 特别涉及一种页面的跨设备同步控制方法及利用上述 同步控制方法的移动终端。 背景 ¾术  The present invention relates to the field of mobile communication technologies, and in particular, to a cross-device synchronization control method for a page and a mobile terminal using the above synchronization control method. Background 3⁄4
随着智能手机和平板电脑等移动终端设备的普及, 第三方应用程序(App )被越来越多 的植入到移动终端中。人们逐渐习惯了使用 APP客户端上网的方式,而目前国内各大电商, 均拥有了自己的 APP客户端。 同一个 App应用程序可能安装于多个用户的移动终端中。 传统的 App在移动终端上的应用, 还是仅限于本地移动终端上, 而不能实现跨设备的 同步的共享数据。 由此, 当多个用户使用同一个 App应用程序, 且需要共享数据时, 带来 极大的不便, 影响用户的体验度。 发明内容  With the popularity of mobile terminal devices such as smartphones and tablets, third-party applications (Apps) are increasingly being embedded in mobile terminals. People are getting used to the way of using the APP client to access the Internet. At present, all major e-commerce companies in China have their own APP client. The same App application may be installed on multiple users' mobile terminals. The application of the traditional App on the mobile terminal is still limited to the local mobile terminal, and the shared data across the device cannot be realized. Thus, when multiple users use the same App application and need to share data, it is extremely inconvenient and affects the user's experience. Summary of the invention
本发明旨在至少在一定程度上解决上述技术问题之一或至少提供一种有用的商业选 择。 为此, 本发明的一个目的在于提出一种在多个设备之间实现页面显示内容同步的页面 的跨设备同步控制方法。 本发明的另一个目的在于提供一种移动终端。  The present invention is directed to solving at least some of the above technical problems or at least providing a useful commercial option. Accordingly, it is an object of the present invention to provide a cross-device synchronization control method for a page that synchronizes page display content between a plurality of devices. Another object of the present invention is to provide a mobile terminal.
为实现上述目的, 本发明的第一方面的实施例的页面的跨设备同步控制方法, 包括以 下步骤:  To achieve the above object, a cross-device synchronization control method for a page of an embodiment of the first aspect of the present invention includes the following steps:
第一移动终端和至少一个第二移动终端分别运行相同的应用程序, 其中, 所述应 用程序包括多个页面;  The first mobile terminal and the at least one second mobile terminal respectively run the same application, wherein the application includes multiple pages;
所述第一移动终端和所述至少一个第二移动终端相互建立通讯;  The first mobile terminal and the at least one second mobile terminal establish communication with each other;
所述第一移动终端接收用户输入的控制指令, 并将所述控制指令发送至所述至少 一个第二移动终端; 以及  Receiving, by the first mobile terminal, a control instruction input by a user, and transmitting the control instruction to the at least one second mobile terminal;
所述第一移动终端和所述至少一个第二移动终端根据所述控制指令进行同步操 作。  The first mobile terminal and the at least one second mobile terminal perform a synchronization operation according to the control instruction.
根据本发明实施例的页面的跨设备同步控制方法,通过在多个移动终端之间建立通讯 并共享相同应用程序的数据, 从而实现跨设备的显示同步, 提高了显示内容获取的实 时性和准确度。 并且, 通过进一步检测移动终端之间的相互位置关系, 根据位置关系 对多个移动终端的显示内容进行同步调整, 从而使得多个移动终端的显示内容整体化, 给用户以较强的视觉冲击。 本发明第二方面的实施例提供一种移动终端, 包括: 应用程序运行模块, 用于运行应 用程序, 其中, 所述应用程序包括多个页面; 通讯模块, 用于与至少一个其它移动终 端之间相互建立通讯, 并在建立通讯后, 接收用户输入的控制指令并将所述控制指令 发送至所述至少一个其它移动终端, 或者接收来自其它移动终端的控制指令; 同步操 作模块, 用于根据来自所述其他移动终端的所述控制指令与所述其它移动终端进行同 步操作。 The cross-device synchronization control method of the page according to the embodiment of the present invention realizes display synchronization across devices by establishing communication between multiple mobile terminals and sharing data of the same application, thereby improving real-time and accurate display content acquisition. degree. Moreover, by further detecting the mutual positional relationship between the mobile terminals, the display contents of the plurality of mobile terminals are synchronously adjusted according to the positional relationship, so that the display contents of the plurality of mobile terminals are integrated, thereby giving the user a strong visual impact. An embodiment of the second aspect of the present invention provides a mobile terminal, including: an application running module, configured to run an application, where the application includes multiple pages; and a communication module, configured to be used with at least one other mobile terminal Establishing communication with each other, and after establishing communication, receiving a control command input by the user and transmitting the control command to the at least one other mobile terminal, or receiving a control instruction from another mobile terminal; and a synchronization operation module, configured to The control commands from the other mobile terminals are synchronized with the other mobile terminals.
根据本发明第二方面的移动终端, 通过在其它移动终端之间建立通讯并共享相同 应用程序的数据从而实现跨设备的显示同步, 提高了显示内容获取的实时性和准确度。 并且, 通过进一步检测移动终端之间的相互位置关系, 根据位置关系对多个移动终端 的显示内容进行同步调整, 从而使得多个移动终端的显示内容整体化, 给用户以较强 的视觉冲击。 本发明的附加方面和优点将在下面的描述中部分给出, 部分将从下面的描述中变得明 显, 或通过本发明的实践了解到。 酎图说明  According to the mobile terminal of the second aspect of the present invention, display synchronization across devices is achieved by establishing communication between other mobile terminals and sharing data of the same application, thereby improving real-time and accuracy of display content acquisition. Further, by further detecting the mutual positional relationship between the mobile terminals, the display contents of the plurality of mobile terminals are synchronously adjusted according to the positional relationship, so that the display contents of the plurality of mobile terminals are integrated, thereby giving the user a strong visual impact. The additional aspects and advantages of the invention will be set forth in part in the description which follows. Description
本发明的上述和 /或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和 容易理解, 其中:  The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from
图 1为根据本发明实施例的页面的跨设备同步控制方法;  1 is a cross-device synchronization control method for a page according to an embodiment of the present invention;
图 2为根据本发明实施例的两个移动终端同步过程中的页面示意图;  2 is a schematic diagram of a page during synchronization of two mobile terminals according to an embodiment of the present invention;
图 3为才艮据本发明实施例的两个移动终端位置关系与显示页面的对应示意图; 图 4为才艮据本发明实施例的两个移动终端在拖动屏幕过程中的页面示意图; 图 5为根据本发明一个实施例的移动终端的示意图;  3 is a schematic diagram of correspondence between two mobile terminal location relationships and a display page according to an embodiment of the present invention; FIG. 4 is a schematic diagram of a page of two mobile terminals in the process of dragging a screen according to an embodiment of the present invention; 5 is a schematic diagram of a mobile terminal according to an embodiment of the present invention;
图 6为根据本发明实施例的应用程序运行模块的示意图; 以及 图 7为才艮据本发明另一个实施例的移动终端的示意图。 具体实施方式  6 is a schematic diagram of an application execution module according to an embodiment of the present invention; and FIG. 7 is a schematic diagram of a mobile terminal according to another embodiment of the present invention. detailed description
下面详细描述本发明的实施例, 所述实施例的示例在附图中示出, 其中自始至终相同 或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。 下面通过参考附图描 述的实施例是示例性的, 旨在用于解释本发明, 而不能理解为对本发明的限制。  The embodiments of the present invention are described in detail below, and the examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals are used to refer to the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the drawings are intended to be illustrative of the invention and are not to be construed as limiting.
此外, 术语"第一"、 "第二 "仅用于描述目的, 而不能理解为指示或暗示相对重要性或者 隐含指明所指示的技术特征的数量。 由此, 限定有 "第一"、 "第二 "的特征可以明示或者隐 含地包括一个或者更多个该特征。 在本发明的描述中, "多个"的含义是两个或两个以上, 除非另有明确具体的限定。 在本发明中, 除非另有明确的规定和限定, 术语"安装"、 "相连"、 "连接"、 "固定 "等术 语应做广义理解, 例如, 可以是固定连接, 也可以是可拆卸连接, 或一体地连接; 可以是 机械连接, 也可以是电连接; 可以是直接相连, 也可以通过中间媒介间接相连, 可以是两 个元件内部的连通。 对于本领域的普通技术人员而言, 可以根据具体情况理解上述术语在 本发明中的具体含义。 Moreover, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" and "second" may include one or more of the features, either explicitly or implicitly. In the description of the present invention, the meaning of "plurality" is two or more, unless specifically defined otherwise. In the present invention, the terms "installation", "connected", "connected", "fixed" and the like should be understood broadly, and may be either a fixed connection or a detachable connection, unless otherwise explicitly stated and defined. , or connected integrally; can be mechanical or electrical; can be directly connected, or indirectly connected through an intermediate medium, can be the internal communication of the two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood on a case-by-case basis.
在本发明中, 除非另有明确的规定和限定, 第一特征在第二特征之"上"或之"下"可以 包括第一和第二特征直接接触, 也可以包括第一和第二特征不是直接接触而是通过它 们之间的另外的特征接触。 而且, 第一特征在第二特征 "之上"、 "上方 "和"上面"包括第 一特征在第二特征正上方和斜上方, 或仅仅表示第一特征水平高度高于第二特征。 第 一特征在第二特征"之下"、 "下方 "和"下面"包括第一特征在第二特征正上方和斜上方, 或仅仅表示第一特征水平高度小于第二特征。  In the present invention, the first feature "on" or "under" the second feature may include direct contact of the first and second features, and may also include first and second features, unless otherwise explicitly defined and defined. It is not in direct contact but through additional features between them. Moreover, the first feature "above", "above" and "above" the second feature includes the first feature directly above and above the second feature, or merely indicating that the first feature level is higher than the second feature. The first feature "below", "below" and "below" the second feature includes the first feature directly above and above the second feature, or merely indicating that the first feature level is less than the second feature.
下面参考图 1至图 3描述根据本发明实施例的页面的跨设备同步控制方法。 其中, 该的页面的跨设备同步控制方法可以应用于手机或平板电脑等移动终端的 App开发中。 需要说明的是, 在本发明的实施例中, App既可以是 Web App , 也可以是 Native App。  A cross-device synchronization control method for a page according to an embodiment of the present invention will be described below with reference to FIGS. 1 through 3. The cross-device synchronization control method of the page can be applied to the application development of a mobile terminal such as a mobile phone or a tablet computer. It should be noted that, in the embodiment of the present invention, the App may be either a Web App or a Native App.
如图 1所示, 本发明实施例的页面的跨设备同步控制方法, 包括如下步骤: 步骤 S101 , 第一移动终端和至少一个第二移动终端分别运行相同的应用程序。 首先, 第一移动终端 App应用开启后, 第二移动终端开启相应的 App应用。 第一 移动终端和至少一个第二移动终端的 App应用中可以包括多个页面, 其中多个页面以 二维矩阵的形式进行排列。  As shown in FIG. 1, the cross-device synchronization control method of the page in the embodiment of the present invention includes the following steps: Step S101: The first mobile terminal and the at least one second mobile terminal respectively run the same application. First, after the first mobile terminal App application is turned on, the second mobile terminal starts the corresponding App application. The App of the first mobile terminal and the at least one second mobile terminal may include a plurality of pages, wherein the plurality of pages are arranged in a two-dimensional matrix.
第一移动终端和至少一个第二移动终端运行相同的应用程序, 进一步包括: 向第 一移动终端和至少一个第二移动终端提供逻辑屏幕容器。 在逻辑屏幕容器中包括显示 窗口和多个容器结点。 其中, 显示窗口可以显示用户选择的当前页面的内容。 多个容器 结点对应多个逻辑屏幕, 并且每个逻辑屏幕与第一移动终端或至少一个第二移动终端 中的物理屏幕相对应。 换言之, 第一移动终端的逻辑屏幕容器中的每个逻辑屏幕与第 一移动终端中的物理屏幕对应。 第二移动终端中的逻辑屏幕容器中的每个逻辑屏幕与 第二移动终端中的物理屏幕对应。 其中, 逻辑屏幕为 App开发过程中所产生。 此外, 每 个逻辑屏幕的尺寸均与客户端的物理屏幕相同。 例如, 每个逻辑屏幕的尺寸与手机的屏幕 相同。 从而, 逻辑屏幕中的内容可以对应的在客户端的物理屏幕上显示。  The first mobile terminal and the at least one second mobile terminal running the same application, further comprising: providing a logical screen container to the first mobile terminal and the at least one second mobile terminal. A display window and multiple container nodes are included in the logical screen container. The display window can display the content of the current page selected by the user. The plurality of container nodes correspond to a plurality of logical screens, and each of the logical screens corresponds to a physical screen in the first mobile terminal or the at least one second mobile terminal. In other words, each logical screen in the logical screen container of the first mobile terminal corresponds to a physical screen in the first mobile terminal. Each of the logical screen containers in the second mobile terminal corresponds to a physical screen in the second mobile terminal. Among them, the logical screen is generated during the app development process. In addition, each logical screen is the same size as the physical screen of the client. For example, each logical screen is the same size as the phone's screen. Thus, the content in the logical screen can be displayed correspondingly on the physical screen of the client.
然后在第一移动终端和至少一个第二移动终端的逻辑屏幕容器中的一部分容器结 点内装入用于显示的页面内容。 其中, 每个容器结点中装入的页面内容与在一个物理 屏幕中显示的内容相对应。 在本发明的一个实施例中, 多个逻辑屏幕包括多个活动中的逻辑屏幕和多个非活 动中的逻辑屏幕, 并且多个活动中的逻辑屏幕和多个非活动中的逻辑屏幕以二维矩阵 排列。 The page content for display is then loaded in a portion of the container nodes in the logical screen container of the first mobile terminal and the at least one second mobile terminal. Wherein, the content of the page loaded in each container node corresponds to the content displayed on one physical screen. In one embodiment of the present invention, the plurality of logical screens include a plurality of active logical screens and a plurality of inactive logical screens, and the plurality of active logical screens and the plurality of inactive logical screens are two Dimension matrix arrangement.
其中, 活动中的屏幕即为装入用于显示的页面内容的部分容器结点。 活动中的屏 幕中的页面内容为加载、 渲染后的页面, 即活动中的屏幕均处于加载完成状态。 用户 可以通过选择, 查看到多个活动中的屏幕中的一个的页面内容。  Among them, the active screen is the part of the container node that loads the content of the page for display. The content of the page in the active screen is the loaded, rendered page, that is, the screen in the activity is in the loading completion state. Users can view the page content of one of the screens in multiple activities by selecting.
非活动中的逻辑屏幕即为未装入用于显示的页面内容的另一部分容器结点。 可以 认为非活动中的逻辑屏幕为未激活的屏幕, 而活动中的逻辑屏幕为激活的屏幕。  The inactive logical screen is another portion of the container node that is not loaded with the page content for display. It can be considered that the inactive logical screen is an inactive screen and the active logical screen is an active screen.
设定显示窗口的控制逻辑, 使显示窗口在用户输入的指令下在多个容器结点之间 进行切换。  The control logic of the display window is set such that the display window switches between multiple container nodes under the command input by the user.
第一移动终端和至少一个第二移动终端每次屏幕切换时, 均是在二维矩阵的形式 的多个页面中定位一个区域块。通过设置逻辑屏幕,可以实现将移动终端的物理屏幕与逻 辑屏幕在逻辑上分离。  Each time the first mobile terminal and the at least one second mobile terminal switch, a block is located in a plurality of pages in the form of a two-dimensional matrix. By setting the logic screen, it is possible to logically separate the physical screen of the mobile terminal from the logical screen.
步骤 S 102 , 第一移动终端和至少一个第二移动终端相互建立通讯。  Step S102: The first mobile terminal and the at least one second mobile terminal establish communication with each other.
在开启相同的 App应用后,第一移动终端和至少一个第二移动终端相互建立通讯。 在本发明的一个实施例中, 第一移动终端和至少一个第二移动终端之间的通信方 式可以采用以下两种之一:  After the same App application is opened, the first mobile terminal and the at least one second mobile terminal establish communication with each other. In an embodiment of the present invention, the communication mode between the first mobile terminal and the at least one second mobile terminal may be one of the following two types:
( 1 ) 第一移动终端和至少一个第二移动终端直接连接进行通信以共享相同的数 据;  (1) the first mobile terminal and the at least one second mobile terminal are directly connected to communicate to share the same data;
( 2 ) 第一移动终端和至少一个第二移动终端通过服务器 (server ) 中转数据的方 式建立连接通路进行通信以共享相同的数据。  (2) The first mobile terminal and the at least one second mobile terminal establish a connection path to communicate by the server (server) to share the same data.
步骤 S 103 , 第一移动终端接收用户输入的控制指令, 并将控制指令发送至至少一 个第二移动终端。  Step S103: The first mobile terminal receives a control instruction input by the user, and sends the control instruction to the at least one second mobile terminal.
用户以第一移动终端为基准, 向第一移动终端输入控制指令。 在本发明的一个实 施例中, 该控制指令可以为控制与第一移动终端建立通讯的至少一个第二移动终端的 显示内容与第一移动终端同步。  The user inputs a control command to the first mobile terminal based on the first mobile terminal. In an embodiment of the present invention, the control instruction may be to synchronize display content of the at least one second mobile terminal that establishes communication with the first mobile terminal with the first mobile terminal.
第一移动终端在接收到用户输入的控制指令后, 将该控制指令进一步发送给与其 建立通讯的至少一个第二移动终端。  After receiving the control command input by the user, the first mobile terminal further transmits the control command to the at least one second mobile terminal with which the communication is established.
步骤 S 104 , 第一移动终端和至少一个第二移动终端根据控制指令进行同步操作。 至少一个第二移动终端在接收到来自第一移动终端控制指令后, 其上的 App应用 利用已经建立的通讯链接获取第一移动终端的应用数据。 可以理解的是, 由于至少一 个第二移动终端和第一移动终端运行相同的应用程序, 因此至少一个第二移动终端的 App应用获得的是第一移动终端上的相同应用的应用数据。 Step S104: The first mobile terminal and the at least one second mobile terminal perform a synchronization operation according to the control instruction. After receiving the control instruction from the first mobile terminal, the at least one second mobile terminal acquires the application data of the first mobile terminal by using the established communication link. Understandably, due to at least one The second mobile terminal and the first mobile terminal run the same application, so the App application of the at least one second mobile terminal obtains the application data of the same application on the first mobile terminal.
第二移动终端在获得上述应用数据后, 对上述应用数据进行分析, 获得第一移动 终端上的应用顺序和显示内容, 实现第一移动终端和至少一个第二移动终端上的界面 和数据的同步。  After obtaining the application data, the second mobile terminal analyzes the application data, obtains an application sequence and display content on the first mobile terminal, and implements synchronization of interfaces and data on the first mobile terminal and the at least one second mobile terminal. .
本发明实施例的页面的跨设备同步控制方法可以应用在多个移动终端间拼接应用 的显示组成, 使持有移动终端的多个用户可以同时操作同一个应用的不同部份, 例如 音乐演奏的应用。  The cross-device synchronization control method of the page in the embodiment of the present invention can be applied to the display composition of the splicing application among the multiple mobile terminals, so that multiple users holding the mobile terminal can simultaneously operate different parts of the same application, such as music playing. application.
具体地, 多个移动终端之间建立通讯链接, 并同时使用不同乐器演奏的乐曲, 通 过作为主控设备的第一移动终端的切换操作来交换乐器, 但是两台移动终端并不会同 时操作同一种乐器。 例如, 第一移动终端首先控制一个第二移动终端使用口琴演奏乐 曲, 另一个第二移动终端使用笛子演奏乐曲。 然后, 用户通过在第一移动终端上执行 乐曲切换操作, 进而向两个第二移动终端发送乐曲切换指令。 由此, 一个第二移动终 端由口琴切换至笛子演奏乐曲, 另一个第二移动终端由笛子切换至口琴演奏乐曲。 具体而言, 第一移动终端至少一个第二移动终端在建立通讯, 共享相同的应用数 据后, 至少一个第二移动终端进一步检测第一移动终端的位置, 并生成第一移动终端 和至少一个第二移动终端之间的位置关系信息。 然后, 至少一个第二移动终端获得第 一移动终端所显示的当前页面, 并根据当前页面和位置关系信息对至少一个第二移动 终端的当前页面进行调整。  Specifically, a communication link is established between a plurality of mobile terminals, and at the same time, music pieces played by different instruments are used, and the instruments are exchanged by the switching operation of the first mobile terminal as the master device, but the two mobile terminals do not operate simultaneously at the same time. Kind of musical instrument. For example, the first mobile terminal first controls one second mobile terminal to play the music using the harmonica, and the other second mobile terminal uses the flute to play the music. Then, the user transmits a music switching instruction to the two second mobile terminals by performing a music switching operation on the first mobile terminal. Thereby, one second mobile terminal is switched from the harmonica to the flute playing music, and the other second mobile terminal is switched from the flute to the harmonica playing music. Specifically, after the at least one second mobile terminal of the first mobile terminal establishes communication and shares the same application data, the at least one second mobile terminal further detects the location of the first mobile terminal, and generates the first mobile terminal and the at least one Second, the location relationship information between the mobile terminals. Then, the at least one second mobile terminal obtains the current page displayed by the first mobile terminal, and adjusts the current page of the at least one second mobile terminal according to the current page and the location relationship information.
下面参考图 2至图 4以两个移动终端 A和 B为例对根据当前页面和位置关系信息 调整当前页面的过程进行描述。 其中, 移动终端 A为第一移动终端, 移动终端 B为第 二移动终端。 移动终端 B的当前页面的显示内容根据与移动终端 A的位置关系变化和 移动终端 A的当前页面进行调整。  The process of adjusting the current page according to the current page and location relationship information will be described below by taking two mobile terminals A and B as an example with reference to FIGS. 2 to 4. The mobile terminal A is the first mobile terminal, and the mobile terminal B is the second mobile terminal. The display content of the current page of the mobile terminal B is adjusted according to the change in the positional relationship with the mobile terminal A and the current page of the mobile terminal A.
具体地, 移动终端 A上的应用程序开启后, 移动终端 B开启应用并接入, 两台移 动终端之间建立通讯。 其中, 移动终端 A和移动终端 B开启的应用程序相同。  Specifically, after the application on the mobile terminal A is turned on, the mobile terminal B opens the application and accesses, and establishes communication between the two mobile terminals. The application programs opened by the mobile terminal A and the mobile terminal B are the same.
如图 2所示, 移动终端 A和移动终端 B的应用程序生成相同结构逻辑屏内容和排 列。 其中, 移动终端 A和移动终端 B均包括 8个逻辑屏幕, 且逻辑屏蔽以二维矩阵形 式排列。  As shown in Figure 2, the applications of mobile terminal A and mobile terminal B generate the same structure logical screen content and arrangement. The mobile terminal A and the mobile terminal B each include 8 logical screens, and the logical shields are arranged in a two-dimensional matrix.
移动终端 A和移动终端 B通过各自设备上的传感器装置确定相互间的位置关系。 其中, 位置关系例如可以为上、 下、 左、 右。 如图 3所示, 移动终端 A上的传感器装 置检测到移动终端 B位于移动终端 A的左侧。 相应的, 移动终端 B上的传感器装置检 测到移动终端 A位于移动终端 B的右侧。 The mobile terminal A and the mobile terminal B determine the positional relationship with each other through the sensor devices on the respective devices. The positional relationship may be, for example, up, down, left, or right. As shown in Figure 3, the sensor on the mobile terminal A is loaded. It is detected that the mobile terminal B is located on the left side of the mobile terminal A. Correspondingly, the sensor device on the mobile terminal B detects that the mobile terminal A is located on the right side of the mobile terminal B.
在本发明的一个示例中, 传感器装置可以为 GPS ( Global Positioning System, 全球 定位系统) 、 距离传感器或电子罗盘等。  In one example of the present invention, the sensor device may be a GPS (Global Positioning System), a distance sensor, or an electronic compass.
如果移动终端上的传感器装置无效或无法判断, 则可以通过手动设置相关参数, 使设备间互相获知相互间的空间位置, 从而使得设备间形成一个二维的矩阵关系, 从 而用来对应应用程序 (App ) 屏幕的二维关系。  If the sensor device on the mobile terminal is invalid or cannot be judged, the related parameters can be manually set, so that the devices can know each other's spatial position, thereby forming a two-dimensional matrix relationship between the devices, thereby corresponding to the application ( App ) The two-dimensional relationship of the screen.
由此, 移动终端 B获取与移动终端 A的位置关系信息, 例如图 3所示的移动终端 B位于移动终端 A的右侧。 然后, 移动终端 B利用已建立的通讯获得移动终端 A的当 前页面。 然后以移动终端 A的当前显示屏幕位置为基点, 判断移动终端 B上应用程序 所显示的屏幕位置。 移动终端 B进行相应的显示偏移显示正确的屏幕内容。 当移动终 端 B显示完成正确的屏幕内容后, 即设备间的初始化完成。  Thereby, the mobile terminal B acquires the location relationship information with the mobile terminal A, for example, the mobile terminal B shown in Fig. 3 is located on the right side of the mobile terminal A. Then, the mobile terminal B obtains the current page of the mobile terminal A using the established communication. Then, based on the current display screen position of the mobile terminal A, the screen position displayed by the application on the mobile terminal B is judged. The mobile terminal B performs a corresponding display offset to display the correct screen content. When the mobile terminal B displays the correct screen content, the initialization between the devices is completed.
在初始化完成后, 两个移动终端各自运行各自屏幕中的内容, 并保持相互间通信 以保持交互动作的统一。 当移动终端 A发出交互事件时, 将事件类型与相关参数传递 至移动终端 B , 从而使移动终端 B同时响应用户的交互。  After the initialization is completed, the two mobile terminals each run the contents of the respective screens and maintain communication with each other to maintain the unity of the interaction. When the mobile terminal A issues an interaction event, the event type and related parameters are passed to the mobile terminal B, so that the mobile terminal B simultaneously responds to the user's interaction.
如图 3所示, App应用的多屏屏幕的二维关系为一个 3x3的矩阵, 每个逻辑屏对 应一个页面内容。 并且, 每个逻辑屏幕彼此之间的相对显示内容是规定的。 如图中所 示, 移动终端 A的应用程序的当前页面为 CO, 当移动终端 B检测到位于移动终端 A 的下方时, 移动终端 B的应用程序的当前页面为 A0。如果移动终端 B检测到位于移动 终端 A的右侧, 则移动终端 B的应用程序的当前页面为 C2。  As shown in Figure 3, the two-dimensional relationship of the multi-screen screen of the App application is a 3x3 matrix, and each logical screen corresponds to one page content. And, the relative display content of each logical screen with each other is specified. As shown in the figure, the current page of the application of the mobile terminal A is CO. When the mobile terminal B detects that it is located below the mobile terminal A, the current page of the application of the mobile terminal B is A0. If the mobile terminal B detects that it is located on the right side of the mobile terminal A, the current page of the application of the mobile terminal B is C2.
当移动终端 A的应用程序的当前页面进行切换时, 则移动终端 B根据二者的位置 关系信息对当前页面进行相应的调整。 如图 4所示, 设移动终端 A位于移动终端 B的 左侧。 移动终端 A的初始显示的页面为第 1逻辑展对应的页面, 例如 A1 , 则相应的移 动终端 B的初始显示的页面为第 2逻辑屏对应的页面, 例如 A0。 当用户拖动移动终端 A 的应用程序上的屏幕时, 应用程序的页面进行切换, 例如用户向左拖动屏幕, 则由 第 1逻辑屏拖动至第 2逻辑屏(设第 2逻辑屏位于第 1逻辑屏的右侧), 则移动终端 A 当前页面为 A0。 同时, 移动终端 B检测到移动终端 A的交互事件, 从而将移动终端 B 从第 2逻辑屏拖动至第 3逻辑屏, 此时移动终端 B当前页面显示为 A2。  When the current page of the application of the mobile terminal A is switched, the mobile terminal B adjusts the current page according to the location relationship information of the two. As shown in FIG. 4, it is assumed that the mobile terminal A is located on the left side of the mobile terminal B. The page initially displayed by the mobile terminal A is the page corresponding to the first logical exhibition, for example, A1, and the page initially displayed by the corresponding mobile terminal B is the page corresponding to the second logical screen, for example, A0. When the user drags the screen on the application of the mobile terminal A, the page of the application is switched. For example, if the user drags the screen to the left, the first logical screen is dragged to the second logical screen (the second logical screen is located). On the right side of the first logic screen, the current page of the mobile terminal A is A0. At the same time, the mobile terminal B detects the interaction event of the mobile terminal A, thereby dragging the mobile terminal B from the second logical screen to the third logical screen, and the current page of the mobile terminal B is displayed as A2.
当 Al、 A2和 A3的显示页面为一组连续内容时, 例如, Al、 A2和 A3共同组成 一匹骏马的图片,其中 A1显示骏马的头部, A2显示骏马的躯干, A3显示骏马的尾部。 将移动终端 A和移动终端 B并排放置,则移动终端 A和移动终端 B分别显示睃马的头 部和躯干, 由于二者相邻的并排放置, 则从用户的角度, 可以视为一个整体屏幕。 随 着用户对移动终端 A的屏幕的拖动, 移动终端 A由显示骏马的头部逐步过渡到显示骏 马的躯干, 相应的移动终端 B由显示骏马的躯干逐步过渡到显示骏马的尾部。 这个过 程中, 从用户的角度, 移动终端 A和移动终端 B形成一个整体大屏幕从头至尾显示骏 马, 两个移动终端显示的内容相互关联, 过渡流畅, 视觉冲击强。 When the display pages of Al, A2, and A3 are a set of continuous content, for example, Al, A2, and A3 together form a picture of a horse, where A1 shows the head of the horse, A2 shows the torso of the horse, and A3 shows the tail of the horse. . When the mobile terminal A and the mobile terminal B are placed side by side, the mobile terminal A and the mobile terminal B respectively display the head of the hummer The part and the torso, as they are placed next to each other, can be regarded as an overall screen from the perspective of the user. As the user drags the screen of the mobile terminal A, the mobile terminal A gradually transitions from the head of the display horse to the torso of the display horse, and the corresponding mobile terminal B gradually transitions from the torso of the display horse to the tail of the display horse. In this process, from the user's point of view, the mobile terminal A and the mobile terminal B form an overall large screen to display the horse from beginning to end, and the contents displayed by the two mobile terminals are related to each other, the transition is smooth, and the visual impact is strong.
根据本发明实施例的页面的跨设备同步控制方法, 通过在多个移动终端之间建立 通讯并共享相同应用程序的数据, 从而实现跨设备的显示同步, 提高了显示内容获取 的实时性和准确度。 并且, 通过进一步检测移动终端之间的相互位置关系, 根据位置 关系对多个移动终端的显示内容进行同步调整, 从而使得多个移动终端的显示内容整 体化, 给用户以较强的视觉冲击。  The cross-device synchronization control method of the page according to the embodiment of the present invention realizes display synchronization across devices by establishing communication between multiple mobile terminals and sharing data of the same application, thereby improving real-time and accurate display content acquisition. degree. Further, by further detecting the mutual positional relationship between the mobile terminals, the display contents of the plurality of mobile terminals are synchronously adjusted according to the positional relationship, so that the display contents of the plurality of mobile terminals are integrated, thereby giving the user a strong visual impact.
下面参考图 5至图 7对本发明实施例的移动终端 400进行描述。 其中,该的移动终 端可以为手机或平板电脑。  The mobile terminal 400 of the embodiment of the present invention will be described below with reference to Figs. The mobile terminal can be a mobile phone or a tablet.
如图 5所示, 本发明实施例的移动终端 400包括: 应用程序运行模块 410、 通讯模 块 420和同步操作模块 430。  As shown in FIG. 5, the mobile terminal 400 of the embodiment of the present invention includes: an application running module 410, a communication module 420, and a synchronization operation module 430.
应用程序运行模块 410用于运行应用程序 (App ) 。 在本发明的实施例中, App既 可以是 Web App, 也可以是 Native App。 其中, 应用程序可以包括多个页面。 在本发 明的一个实施例中, 应用程序的页面排列为二维矩阵。 如图 6所示, 本发明实施例的 应用程序运行模块 410包括: 逻辑屏幕容器 411、 逻辑设定单元 412和切换单元 413。  The application execution module 410 is used to run an application (App). In an embodiment of the invention, the App can be either a Web App or a Native App. Among them, the application can include multiple pages. In one embodiment of the invention, the pages of the application are arranged in a two-dimensional matrix. As shown in FIG. 6, the application running module 410 of the embodiment of the present invention includes: a logical screen container 411, a logic setting unit 412, and a switching unit 413.
逻辑屏幕容器 411中包括显示窗口和多个容器结点。 其中, 显示窗口可以显示用户 选择的当前页面的内容。 多个容器结点对应多个逻辑屏幕, 并且每个逻辑屏幕与移动终 端中物理屏幕相对应。 其中, 逻辑屏幕容器中的一部分容器结点内装入用于显示的页 面内容。 每个容器结点中装入的页面内容与在一个物理屏幕中显示的内容相对应。 其 中, 逻辑屏幕为 App开发过程中所产生。 此外, 每个逻辑屏幕的尺寸均与客户端的物理屏 幕相同。 例如, 每个逻辑屏幕的尺寸与移动终端的屏幕相同。 从而, 逻辑屏幕中的内容可 以对应的在客户端的物理屏幕上显示。  The logical screen container 411 includes a display window and a plurality of container nodes. The display window can display the content of the current page selected by the user. Multiple container nodes correspond to multiple logical screens, and each logical screen corresponds to a physical screen in the mobile terminal. The part of the container in the logical screen container is loaded with the page content for display. The content of the page loaded in each container node corresponds to what is displayed on one physical screen. Among them, the logic screen is generated during the app development process. In addition, each logical screen is the same size as the client's physical screen. For example, each logical screen has the same size as the screen of the mobile terminal. Thus, the content in the logical screen can be displayed correspondingly on the physical screen of the client.
在本发明的一个实施例中, 多个逻辑屏幕包括多个活动中的逻辑屏幕和多个非活 动中的逻辑屏幕, 并且多个活动中的逻辑屏幕和多个非活动中的逻辑屏幕以二维矩阵 排列。  In one embodiment of the present invention, the plurality of logical screens include a plurality of active logical screens and a plurality of inactive logical screens, and the plurality of active logical screens and the plurality of inactive logical screens are two Dimension matrix arrangement.
其中, 活动中的屏幕即为装入用于显示的页面内容的部分容器结点。 活动中的屏 幕中的页面内容为加载、 渲染后的页面, 即活动中的屏幕均处于加载完成状态。 用户 可以通过选择, 查看到多个活动中的屏幕中的一个的页面内容。 非活动中的逻辑屏幕即为未装入用于显示的页面内容的另一部分容器结点。 可以 认为非活动中的逻辑屏幕为未激活的屏幕, 而活动中的逻辑屏幕为激活的屏幕。 Among them, the active screen is the part of the container node that loads the content of the page for display. The content of the page in the active screen is the loaded, rendered page, that is, the screen in the activity is in the loading completion state. By selecting, the user can view the page content of one of the screens in multiple activities. The inactive logical screen is another portion of the container node that is not loaded with the page content for display. The inactive logical screen can be considered to be an inactive screen, while the active logical screen is the active screen.
逻辑设定单元 412 可以设定显示窗口的控制逻辑, 使显示窗口在用户输入的指令 下在多个容器结点之间进行切换。 切换单元 413根据设定的控制逻辑使显示窗口在用 户输入的指令下在多个容器结点之间进行切换。 移动终端 400每次屏幕切换时, 均是 在二维矩阵的形式的多个页面中定位一个区域块。 通过设置逻辑屏幕, 可以实现将移动 终端的物理屏幕与逻辑屏幕在逻辑上分离。  The logic setting unit 412 can set the control logic of the display window to switch the display window between the plurality of container nodes under the command input by the user. The switching unit 413 switches the display window between the plurality of container nodes under the command input by the user according to the set control logic. Each time the screen is switched, the mobile terminal 400 locates a block in a plurality of pages in the form of a two-dimensional matrix. By setting the logic screen, it is possible to logically separate the physical screen and the logical screen of the mobile terminal.
通讯模块 420用于与至少一个其它移动终端之间相互建立通信。  The communication module 420 is configured to establish communication with each other with at least one other mobile terminal.
在本发明的一个实施例中, 移动终端和至少一个其他移动终端之间的通信方式可 以采用以下两种之一:  In an embodiment of the present invention, the communication mode between the mobile terminal and the at least one other mobile terminal may be one of the following two types:
( 1 )本发明实施例的移动终端 400和至少一个其他移动终端直接连接进行通信以 共享相同的数据;  (1) The mobile terminal 400 of the embodiment of the present invention directly communicates with at least one other mobile terminal to communicate to share the same data;
( 2 ) 本发明实施例的移动终端 400和至少一个其他移动终端通过服务器 (server ) 中转数据的方式建立连接通路进行通信以共享相同的数据。  (2) The mobile terminal 400 of the embodiment of the present invention and at least one other mobile terminal establish a connection path to communicate the same data by means of a server (server) transfer data.
通讯模块 420 在建立通讯后, 接收用户输入的控制指令, 并将控制指令发送至至 少一个其它移动终端。  After establishing the communication, the communication module 420 receives the control command input by the user and sends the control command to at least one other mobile terminal.
当以本发明实施例的移动终端 400 为基准时, 即其它移动终端依据本发明实施例 的移动终端 400的当前页面进行页面调整, 则用户向本发明实施例的移动终端 400输 入控制指令。 在本发明的一个实施例中, 该控制指令可以为控制与本发明实施例的移 动终端 400建立通讯的至少一个其它移动终端的显示内容与移动终端 400同步。  When the mobile terminal 400 of the embodiment of the present invention is used as a reference, that is, the other mobile terminal performs page adjustment according to the current page of the mobile terminal 400 according to the embodiment of the present invention, the user inputs a control instruction to the mobile terminal 400 of the embodiment of the present invention. In one embodiment of the invention, the control instructions may be synchronized with the mobile terminal 400 for controlling display content of at least one other mobile terminal that establishes communication with the mobile terminal 400 of the embodiment of the present invention.
通讯模块 420 在接收到用户输入的控制指令后, 将该控制指令进一步发送给与其 建立通讯的至少一个其它移动终端。  After receiving the control command input by the user, the communication module 420 further transmits the control command to at least one other mobile terminal with which communication is established.
当以其它移动终端为基准时, 即本发明实施例的移动终端 400根据其它移动终端 的页面进行页面调整, 通讯模块 400接收来自作为基准的移动终端的控制指令。 其中, 该其它移动终端为基准移动终端。  When the mobile terminal 400 according to the embodiment of the present invention performs page adjustment based on pages of other mobile terminals, the communication module 400 receives a control command from the mobile terminal as a reference. The other mobile terminal is a reference mobile terminal.
同步操作模块 430根据接收到的来自基准的移动终端的控制指令与该基准的移动 终端进行同步操作。  The synchronization operation module 430 performs a synchronization operation with the reference mobile terminal based on the received control command from the mobile terminal of the reference.
同步操作模块 430在接收到来自基准的移动终端控制指令后, 其上的 App应用利 用已经建立的通讯链接获取基准的移动终端的应用数据。 可以理解的是, 由于基准的 移动终端和本发明实施例的移动终端 400运行相同的应用程序, 因此基准的移动终端 的 App应用获得的是移动终端 400上的相同应用的应用数据。 同步操作模块 430 在获得上述应用数据后, 对上述应用数据进行分析, 获得基准 的移动终端上的应用顺序和显示内容, 进而实现本发明实施例的移动终端 400和基准 的移动终端上的界面和数据的同步。 After receiving the mobile terminal control command from the reference, the synchronization operation module 430 acquires the application data of the reference mobile terminal by using the established communication link. It can be understood that since the reference mobile terminal and the mobile terminal 400 of the embodiment of the present invention run the same application, the App application of the reference mobile terminal obtains the application data of the same application on the mobile terminal 400. After obtaining the application data, the synchronization operation module 430 analyzes the application data to obtain an application sequence and display content on the reference mobile terminal, thereby implementing an interface between the mobile terminal 400 and the reference mobile terminal according to the embodiment of the present invention. Synchronization of data.
在本发明的一个实施例中, 本发明实施例的移动终端 400还进一步包括显示模块, 分别与应用程序运行模块 410和同步操作模块 430, 可以对应用程序的页面进行显示, 以及对由同步操作模块 430同步后的应用程序的页面进行显示。  In an embodiment of the present invention, the mobile terminal 400 of the embodiment of the present invention further includes a display module, and an application running module 410 and a synchronization operation module 430, respectively, which can display a page of the application, and operate by synchronization The page of the synchronized application of the module 430 is displayed.
如图 7所示, 本发明实施例的移动终端 400还包括: 位置检测模块 450和页面调 整模块 460。  As shown in FIG. 7, the mobile terminal 400 of the embodiment of the present invention further includes: a location detecting module 450 and a page adjusting module 460.
位置检测模块 450 可以检测基准移动终端的位置, 并生成与上述基准移动终端之 间的位置关系信息。  The location detecting module 450 can detect the location of the reference mobile terminal and generate location relationship information with the reference mobile terminal.
需要说明的是, 当本发明实施例的移动终端 400 作为基准移动终端或待同步移动 终端时, 均需要检测对其它移动终端的位置。  It should be noted that when the mobile terminal 400 of the embodiment of the present invention is used as a reference mobile terminal or a mobile terminal to be synchronized, it is necessary to detect the location of other mobile terminals.
在通讯模块 420建立通讯, 共享相同的应用数据后, 位置检测模块 450进一步检 测基准移动终端的位置, 并生成基准移动终端和本发明实施例的移动终端 400之间的 位置关系信息。  After the communication module 420 establishes communication and shares the same application data, the location detection module 450 further detects the location of the reference mobile terminal and generates location relationship information between the reference mobile terminal and the mobile terminal 400 of the embodiment of the present invention.
页面调整模块 460 可以获得基准移动终端显示的当前页面, 然后根据当前页面和 位置关系信息对移动终端 400的当前显示页面进行调整。 并由显示模块 440实时显示 调整后的页面。  The page adjustment module 460 can obtain the current page displayed by the reference mobile terminal, and then adjust the current display page of the mobile terminal 400 according to the current page and the location relationship information. The adjusted page is displayed in real time by the display module 440.
在本发明的一个示例中,位置检测模块 450可以为 GPS( Global Positioning System, 全球定位系统) 、 距离传感器或电子罗盘等。  In one example of the present invention, the position detecting module 450 may be a GPS (Global Positioning System), a distance sensor, or an electronic compass.
如果移动终端 400上的位置检测模块 450无效或无法判断, 则可以通过手动设置 相关参数, 使设备间互相获知相互间的空间位置, 从而使得设备间形成一个二维的矩 阵关系, 从而用来对应应用程序 ( App )屏幕的二维关系。  If the location detecting module 450 on the mobile terminal 400 is invalid or cannot be determined, the related parameters can be manually set, so that the devices can know each other's spatial positions, thereby forming a two-dimensional matrix relationship between the devices, thereby correspondingly The two-dimensional relationship of the application (App) screen.
由此, 位置检测模块 450获取与基准移动终端的位置关系信息, 例如图 3所示的 移动终端 B (本发明实施例的移动终端 400 )位于移动终端 A (基准移动终端)的右侧。 然后, 移动终端 B利用已建立的通讯获得移动终端 A的当前页面。 然后以移动终端 A 的当前显示屏幕位置为基点, 判断移动终端 B上应用程序所显示的屏幕位置。 移动终 端 B进行相应的显示偏移显示正确的屏幕内容。 当移动终端 B显示完成正确的屏幕内 容后, 即设备间的初始化完成。  Thereby, the position detecting module 450 acquires positional relationship information with the reference mobile terminal, for example, the mobile terminal B (the mobile terminal 400 of the embodiment of the present invention) shown in Fig. 3 is located on the right side of the mobile terminal A (reference mobile terminal). Then, the mobile terminal B obtains the current page of the mobile terminal A using the established communication. Then, based on the current display screen position of the mobile terminal A, the screen position displayed by the application on the mobile terminal B is judged. The mobile terminal B performs the corresponding display offset to display the correct screen content. When the mobile terminal B displays that the correct screen content is completed, the initialization between the devices is completed.
在初始化完成后, 两个移动终端各自运行各自屏幕中的内容, 并保持相互间通信 以保持交互动作的统一。 当移动终端 A发出交互事件时, 将事件类型与相关参数传递 至移动终端 B , 从而使移动终端 B同时响应用户的交互。 After the initialization is completed, the two mobile terminals each run the contents of the respective screens and maintain communication with each other to maintain the unity of the interaction. When the mobile terminal A issues an interactive event, the event type and related parameters are passed To the mobile terminal B, so that the mobile terminal B simultaneously responds to the user's interaction.
根据本发明实施例的移动终端, 通过与其它移动终端之间建立通讯并共享相同应 用程序的数据, 从而实现跨设备的显示同步, 提高了显示内容获取的实时性和准确度。 并且, 通过进一步检测移动终端之间的相互位置关系, 根据位置关系对多个移动终端 的显示内容进行同步调整, 从而使得多个移动终端的显示内容整体化, 给用户以较强 的视觉冲击。  The mobile terminal according to the embodiment of the present invention realizes communication synchronization between devices by establishing communication with other mobile terminals and sharing data of the same application, thereby improving real-time and accuracy of display content acquisition. Further, by further detecting the mutual positional relationship between the mobile terminals, the display contents of the plurality of mobile terminals are synchronously adjusted according to the positional relationship, so that the display contents of the plurality of mobile terminals are integrated, thereby giving the user a strong visual impact.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为, 表示包括 一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、 片段 或部分, 并且本发明的优选实施方式的范围包括另外的实现, 其中可以不按所示出或 讨论的顺序, 包括根据所涉及的功能按基本同时的方式或按相反的顺序, 来执行功能, 这应被本发明的实施例所属技术领域的技术人员所理解。  Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a particular logical function or process. And the scope of the preferred embodiments of the invention includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in an opposite order depending on the functions involved, in the order shown or discussed. It will be understood by those skilled in the art to which the embodiments of the present invention pertain.
在流程图中表示或在此以其他方式描述的逻辑和 /或步骤, 例如, 可以被认为是用 于实现逻辑功能的可执行指令的定序列表, 可以具体实现在任何计算机可读介质中, 以供指令执行系统、 装置或设备(如基于计算机的系统、 包括处理器的系统或其他可 以从指令执行系统、 装置或设备取指令并执行指令的系统) 使用, 或结合这些指令执 行系统、装置或设备而使用。就本说明书而言, "计算机可读介质"可以是任何可以包含、 存储、 通信、 传播或传输程序以供指令执行系统、 装置或设备或结合这些指令执行系 统、 装置或设备而使用的装置。 计算机可读介质的更具体的示例 (非穷尽性列表) 包 括以下: 具有一个或多个布线的电连接部 (电子装置), 便携式计算机盘盒(磁装置), 随 机存取存储器( RAM ), 只读存储器( ROM ), 可擦除可编辑只读存储器( EPROM或闪速 存储器), 光纤装置, 以及便携式光盘只读存储器(CDROM )。 另外, 计算机可读介质甚至 可以是可在其上打印所述程序的纸或其他合适的介质, 因为可以例如通过对纸或其他介质 进行光学扫描, 接着进行编辑、 解译或必要时以其他合适方式进行处理来以电子方式获得 所述程序, 然后将其存储在计算机存储器中。  The logic and/or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer readable medium, Used in conjunction with, or in conjunction with, an instruction execution system, apparatus, or device (eg, a computer-based system, a system including a processor, or other system that can fetch instructions and execute instructions from an instruction execution system, apparatus, or device) Or use with equipment. For the purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by the instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). Furthermore, the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method proceeds to obtain the program electronically and then store it in computer memory.
应当理解, 本发明的各部分可以用硬件、 软件、 固件或它们的组合来实现。 在上述实 施方式中, 多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或 固件来实现。 例如, 如果用硬件来实现, 和在另一实施方式中一样, 可用本领域公知的下 列技术中的任一项或他们的组合来实现: 具有用于对数据信号实现逻辑功能的逻辑门电路 的离散逻辑电路, 具有合适的组合逻辑门电路的专用集成电路, 可编程门阵列 (PGA ), 现 场可编程门阵列 (FPGA )等。  It should be understood that portions of the invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented with any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可 以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储介质中, 该程序在执行时, 包括方法实施例的步骤之一或其组合。 One of ordinary skill in the art can understand that all or part of the steps carried by the method of the above embodiment are The instructions are stored in a computer readable storage medium, and the program, when executed, includes one or a combination of the steps of the method embodiments.
此外, 在本发明各个实施例中的各功能单元可以集成在一个处理模块中, 也可以是各 个单元单独物理存在, 也可以两个或两个以上单元集成在一个模块中。 上述集成的模块既 可以采用硬件的形式实现, 也可以采用软件功能模块的形式实现。 所述集成的模块如果以 软件功能模块的形式实现并作为独立的产品销售或使用时, 也可以存储在一个计算机可读 取存储介质中。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as separate products, may also be stored in a computer readable storage medium.
上述提到的存储介质可以是只读存储器, 磁盘或光盘等。  The above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
在本说明书的描述中, 参考术语"一个实施例"、 "一些实施例"、 "示例"、 "具体示例"、 或"一些示例"等的描述意指结合该实施例或示例描述的具体特征、 结构、 材料或者特点包 含于本发明的至少一个实施例或示例中。 在本说明书中, 对上述术语的示意性表述不一定 指的是相同的实施例或示例。 而且, 描述的具体特征、 结构、 材料或者特点可以在任何的 一个或多个实施例或示例中以合适的方式结合。  In the description of the present specification, the description of the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means a specific feature described in connection with the embodiment or example. A structure, material or feature is included in at least one embodiment or example of the invention. In the present specification, the schematic representation of the above terms does not necessarily mean the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples.
尽管上面已经示出和描述了本发明的实施例, 可以理解的是, 上述实施例是示例性的, 不能理解为对本发明的限制, 本领域的普通技术人员在不脱离本发明的原理和宗旨的情况 下在本发明的范围内可以对上述实施例进行变化、 修改、 替换和变型。  Although the embodiments of the present invention have been shown and described, it is understood that the foregoing embodiments are illustrative and not restrictive Variations, modifications, alterations and variations of the above-described embodiments are possible within the scope of the invention.

Claims

权利要求书 claims
1、 一种页面的跨设备同步控制方法, 其特征在于, 包括以下步骤: 1. A cross-device synchronization control method for pages, which is characterized by including the following steps:
第一移动终端和至少一个第二移动终端分别运行相同的应用程序, 其中, 所述应 用程序包括多个页面; The first mobile terminal and at least one second mobile terminal respectively run the same application program, wherein the application program includes multiple pages;
所述第一移动终端和所述至少一个第二移动终端相互建立通讯; The first mobile terminal and the at least one second mobile terminal establish communication with each other;
所述第一移动终端接收用户输入的控制指令, 并将所述控制指令发送至所述至少 一个第二移动终端; 以及 The first mobile terminal receives the control instruction input by the user and sends the control instruction to the at least one second mobile terminal; and
所述第一移动终端和所述至少一个第二移动终端根据所述控制指令进行同步操 作。 The first mobile terminal and the at least one second mobile terminal perform synchronous operations according to the control instruction.
2、 如权利要求 1所述的页面的跨设备同步控制方法, 其特征在于, 所述第一移动 终端和所述至少一个第二移动终端直接通信。 2. The cross-device synchronization control method of pages according to claim 1, characterized in that the first mobile terminal and the at least one second mobile terminal communicate directly.
3、 如权利要求 1所述的页面的跨设备同步控制方法, 其特征在于, 所述第一移动 终端和所述至少一个第二移动终端之间通过服务器相互通信。 3. The cross-device synchronization control method of pages according to claim 1, wherein the first mobile terminal and the at least one second mobile terminal communicate with each other through a server.
4、 如权利要求 1所述的页面的跨设备同步控制方法, 其特征在于, 所述应用程序 中的页面排列为二维矩阵。 4. The cross-device synchronization control method of pages according to claim 1, characterized in that the pages in the application program are arranged in a two-dimensional matrix.
5、 如权利要求 1所述的页面的跨设备同步控制方法, 其特征在于, 还包括: 所述至少一个第二移动终端检测所述第一移动终端的位置, 并生成所述第一移动 终端和所述至少一个第二移动终端之间的位置关系信息; 5. The cross-device synchronization control method of a page according to claim 1, further comprising: the at least one second mobile terminal detecting the position of the first mobile terminal, and generating a location of the first mobile terminal. and location relationship information between the at least one second mobile terminal;
所述至少一个第二移动终端获得所述第一移动终端所显示的当前页面, 并根据所 述当前页面和所述位置关系信息对所述至少一个第二移动终端的当前显示页面进行调 整。 The at least one second mobile terminal obtains the current page displayed by the first mobile terminal, and adjusts the currently displayed page of the at least one second mobile terminal according to the current page and the location relationship information.
6、 如权利要求 1所述的页面的跨设备同步控制方法, 其特征在于, 所述第一移动 终端和至少一个第二移动终端分别运行相同的应用程序, 进一步包括: 6. The cross-device synchronization control method of pages according to claim 1, wherein the first mobile terminal and at least one second mobile terminal respectively run the same application program, further comprising:
向所述第一移动终端和至少一个所述第二移动终端提供逻辑屏幕容器, 其中, 所 述逻辑屏幕容器中包括显示窗口和多个容器结点, 所述多个容器结点对应多个逻辑屏 幕, 且每个所述逻辑屏幕与所述第一移动终端或至少一个所述第二移动终端中物理屏 幕相对应; A logical screen container is provided to the first mobile terminal and at least one of the second mobile terminals, wherein the logical screen container includes a display window and a plurality of container nodes, and the plurality of container nodes correspond to a plurality of logic screens, and each of the logical screens corresponds to a physical screen in the first mobile terminal or at least one of the second mobile terminals;
在所述逻辑屏幕容器中的一部分所述容器结点内装入用于显示的页面内容, 其中, 每个所述容器结点中装入的页面内容与在一个物理屏幕中显示的内容相对应; 设定所述显示窗口的控制逻辑, 以使所述显示窗口在用户输入的指令下在所述多 个容器结点之间进行切换。 Load page content for display into a part of the container nodes in the logical screen container, where the page content loaded into each container node corresponds to content displayed on a physical screen; The control logic of the display window is set so that the display window switches between the plurality of container nodes under instructions input by the user.
7、 如权利要求 6所述的页面的跨设备同步控制方法, 其特征在于, 所述多个逻辑 屏幕包括多个活动中的逻辑屏幕和多个非活动中的逻辑屏幕, 且所述多个活动中的逻 辑屏幕和多个非活动中的逻辑屏幕以二维矩阵排列。 7. The cross-device synchronization control method of pages according to claim 6, wherein the plurality of logical screens include a plurality of active logical screens and a plurality of inactive logical screens, and the plurality of The active logical screen and multiple inactive logical screens are arranged in a two-dimensional matrix.
8、 一种移动终端, 包括: 8. A mobile terminal, including:
应用程序运行模块, 用于运行应用程序, 其中, 所述应用程序包括多个页面; 通讯模块, 用于与至少一个其它移动终端之间相互建立通讯, 并在建立通讯后, 接收用户输入的控制指令并将所述控制指令发送至所述至少一个其它移动终端, 或者 接收来自其它移动终端的控制指令; 以及 An application running module is used to run an application program, wherein the application program includes multiple pages; a communication module is used to establish communication with at least one other mobile terminal, and after establishing communication, receive control input by the user Instruct and send the control instruction to the at least one other mobile terminal, or receive control instructions from other mobile terminals; and
同步操作模块, 用于根据来自所述其他移动终端的所述控制指令与所述其它移动 终端进行同步操作。 A synchronization operation module, configured to perform synchronization operations with the other mobile terminals according to the control instructions from the other mobile terminals.
9、 如权利要求 8所述的移动终端, 其特征在于, 还包括: 9. The mobile terminal according to claim 8, further comprising:
显示模块, 用于显示所述应用程序的页面。 A display module is used to display the page of the application program.
10、 如权利要求 8或 9所述的移动终端, 其特征在于, 所述应用程序中的页面排 列为二维矩阵。 10. The mobile terminal according to claim 8 or 9, characterized in that the pages in the application program are arranged in a two-dimensional matrix.
1 1、 如权利要求 8或 9所述的移动终端, 其特征在于, 还包括: 11. The mobile terminal according to claim 8 or 9, further comprising:
位置检测模块, 用于检测所述其它移动终端的位置, 并生成所述移动终端与所述 其它移动终端的位置关系信息; A location detection module, configured to detect the location of the other mobile terminal and generate location relationship information between the mobile terminal and the other mobile terminal;
页面调整模块, 用于获得所述其它移动终端所述显示的当前页面, 并根据所述当 前页面和所述位置关系信息对当前显示页面进行调整。 The page adjustment module is used to obtain the current page displayed by the other mobile terminal, and adjust the current displayed page according to the current page and the position relationship information.
12、 如权利要求 8所述的移动终端, 其特征在于, 所述应用程序运行模块包括: 逻辑屏幕容器, 所述逻辑屏幕容器中包括显示窗口和多个容器结点, 所述多个容 器结点对应多个逻辑屏幕, 且每个所述逻辑屏幕与所述移动终端中物理屏幕相对应, 其中, 所述逻辑屏幕容器中的一部分所述容器结点内装入用于显示的页面内容, 其中, 每个所述容器结点中装入的页面内容与在一个物理屏幕中显示的内容相对应; 12. The mobile terminal of claim 8, wherein the application running module includes: a logical screen container, the logical screen container includes a display window and a plurality of container nodes, and the plurality of container nodes Points correspond to multiple logical screens, and each logical screen corresponds to a physical screen in the mobile terminal, where a part of the container nodes in the logical screen container is loaded with page content for display, where , the page content loaded in each container node corresponds to the content displayed on a physical screen;
逻辑设定单元, 用于设定所述显示窗口的控制逻辑; A logic setting unit, used to set the control logic of the display window;
切换单元, 用于根据设定的所述控制逻辑使所述显示窗口在用户输入的指令下在 所述多个容器结点之间进行切换。 A switching unit, configured to cause the display window to switch between the plurality of container nodes under instructions input by the user according to the set control logic.
13、 如权利要求 1 1所述的移动终端, 其特征在于, 所述多个逻辑屏幕包括多个活 动中的逻辑屏幕和多个非活动中的逻辑屏幕, 且所述多个活动中的逻辑屏幕和多个非 活动中的逻辑屏幕以二维矩阵排列。 13. The mobile terminal of claim 11, wherein the plurality of logical screens includes a plurality of active logical screens and a plurality of inactive logical screens, and the plurality of active logical screens screen and multiple non- The logical screens in an activity are arranged in a two-dimensional matrix.
PCT/CN2012/085570 2012-08-21 2012-11-29 Mobile terminal and cross-device synchronization control method for pages of mobile terminal WO2014029174A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210299665.8 2012-08-21
CN201210299665.8A CN103593153B (en) 2012-08-21 2012-08-21 Mobile terminal and the striding equipment synchronisation control means of the page for it

Publications (1)

Publication Number Publication Date
WO2014029174A1 true WO2014029174A1 (en) 2014-02-27

Family

ID=50083324

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/085570 WO2014029174A1 (en) 2012-08-21 2012-11-29 Mobile terminal and cross-device synchronization control method for pages of mobile terminal

Country Status (2)

Country Link
CN (1) CN103593153B (en)
WO (1) WO2014029174A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018049824A1 (en) * 2016-09-13 2018-03-22 中兴通讯股份有限公司 Real-time state synchronization method and device for terminal, and terminal
WO2019130025A3 (en) * 2017-12-29 2019-08-08 Maria Francisca Jones Display apparatus

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320491A (en) * 2014-11-06 2015-01-28 北京安奇智联科技有限公司 Method for synchronous display between mobile device and web terminal
CN104394200B (en) * 2014-11-06 2018-01-05 北京安奇智联科技有限公司 The method shown for synchronizing preview between mobile device and web terminals
CN104461438B (en) * 2014-12-29 2017-09-15 广东欧珀移动通信有限公司 The method, device and mobile terminal of display control
CN105653311A (en) * 2015-09-23 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Application installation method and apparatus
CN106547800A (en) * 2015-09-23 2017-03-29 北京国双科技有限公司 The method and device of striding equipment synchronization user behavior
CN106610763B (en) * 2015-10-26 2020-11-20 阿里巴巴集团控股有限公司 Method and device for synchronizing user operation across screens
CN105554124A (en) * 2015-12-18 2016-05-04 北京奇虎科技有限公司 PC-based synchronous web page accessing method, network communication equipment and network server
CN106502652B (en) * 2016-09-27 2019-09-27 维沃移动通信有限公司 A kind of method for switching theme and server
US11330029B2 (en) * 2018-03-27 2022-05-10 Lenovo (Singapore) Pte. Ltd. Sharing content with a detected device
CN109460170B (en) * 2018-10-23 2022-09-23 深圳市丝路蓝创意展示有限公司 Screen expansion and interaction method, terminal and computer readable storage medium
CN110213648B (en) * 2019-06-05 2022-09-16 重庆菜鸽途讯科技有限公司 Same-screen method, system, mobile terminal and computer readable storage medium
CN112863457A (en) * 2019-11-27 2021-05-28 深圳市万普拉斯科技有限公司 Display brightness adjusting method and device, electronic equipment and storage medium
CN111949238A (en) * 2020-08-12 2020-11-17 上海仙塔智能科技有限公司 Double-machine linkage system and method and computer readable storage medium
CN114816047A (en) * 2021-04-30 2022-07-29 华为技术有限公司 Method, device, system and storage medium for migrating tasks across equipment
WO2023236939A1 (en) * 2022-06-09 2023-12-14 华为技术有限公司 Application component interaction method and related device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040201628A1 (en) * 2003-04-08 2004-10-14 Johanson Bradley E. Pointright: a system to redirect mouse and keyboard control among multiple machines
CN2752860Y (en) * 2004-11-02 2006-01-18 广东威创日新电子有限公司 Interdynamic electronic writing split display screen
CN101674364A (en) * 2009-09-28 2010-03-17 深圳华为通信技术有限公司 Wireless screen splicing display method, mobile communication terminal and device
CN101754433A (en) * 2009-12-24 2010-06-23 深圳市同洲电子股份有限公司 Method for displaying file content in mobile terminal and mobile terminal
US20100169791A1 (en) * 2008-12-31 2010-07-01 Trevor Pering Remote display remote control
CN102109971A (en) * 2010-12-14 2011-06-29 桂林电子科技大学 Slide projector showing system capable of wirelessly transmitting plotting information
CN102355558A (en) * 2011-08-17 2012-02-15 深圳市同洲电子股份有限公司 Method and system for synchronizing mobile terminal and display device
CN102495712A (en) * 2011-12-15 2012-06-13 王飞 Map splicing display method based on a plurality of display terminals

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011514543A (en) * 2008-01-18 2011-05-06 ラディウス イノベーションズ Method and apparatus for delivering targeted content
CN102193834B (en) * 2010-03-18 2013-02-13 宏碁股份有限公司 Interprogram synchronization method
US8780741B2 (en) * 2010-06-21 2014-07-15 International Business Machines Corporation On-demand information retrieval using wireless communication devices
CN102325217A (en) * 2011-07-11 2012-01-18 惠州Tcl移动通信有限公司 Mobile terminal, software sharing system and sharing method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040201628A1 (en) * 2003-04-08 2004-10-14 Johanson Bradley E. Pointright: a system to redirect mouse and keyboard control among multiple machines
CN2752860Y (en) * 2004-11-02 2006-01-18 广东威创日新电子有限公司 Interdynamic electronic writing split display screen
US20100169791A1 (en) * 2008-12-31 2010-07-01 Trevor Pering Remote display remote control
CN101674364A (en) * 2009-09-28 2010-03-17 深圳华为通信技术有限公司 Wireless screen splicing display method, mobile communication terminal and device
CN101754433A (en) * 2009-12-24 2010-06-23 深圳市同洲电子股份有限公司 Method for displaying file content in mobile terminal and mobile terminal
CN102109971A (en) * 2010-12-14 2011-06-29 桂林电子科技大学 Slide projector showing system capable of wirelessly transmitting plotting information
CN102355558A (en) * 2011-08-17 2012-02-15 深圳市同洲电子股份有限公司 Method and system for synchronizing mobile terminal and display device
CN102495712A (en) * 2011-12-15 2012-06-13 王飞 Map splicing display method based on a plurality of display terminals

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018049824A1 (en) * 2016-09-13 2018-03-22 中兴通讯股份有限公司 Real-time state synchronization method and device for terminal, and terminal
WO2019130025A3 (en) * 2017-12-29 2019-08-08 Maria Francisca Jones Display apparatus
CN111684387A (en) * 2017-12-29 2020-09-18 马里亚·弗朗西斯卡·琼斯 Display device
US11275548B2 (en) 2017-12-29 2022-03-15 Maria Francisca Jones Display apparatus

Also Published As

Publication number Publication date
CN103593153A (en) 2014-02-19
CN103593153B (en) 2016-08-31

Similar Documents

Publication Publication Date Title
WO2014029174A1 (en) Mobile terminal and cross-device synchronization control method for pages of mobile terminal
US10277649B2 (en) Presentation of computing environment on multiple devices
US10168797B2 (en) Terminal apparatus, audio system, and method for controlling sound volume of external speaker thereof
TWI578288B (en) Method and device for generating multimedia poster
JP6671483B2 (en) Method and apparatus for controlling smart devices and computer storage media
US9207902B2 (en) Method and apparatus for implementing multi-vision system by using multiple portable terminals
US20140002471A1 (en) Method and apparatus for displaying content
EP2503446A2 (en) Portable devices, data transmission systems and display sharing methods thereof
US9377989B2 (en) Information processing method for slicing and displaying object and electric device for implementing the same
WO2021008295A1 (en) Mini-program production method and apparatus, and terminal and storage medium
KR20110125724A (en) Electronic device and contents sharing method for electronic device
US9128751B2 (en) Schema-based link processing
WO2014187230A1 (en) Multi-screen combined display method and device, and computer storage medium
JP2017538178A (en) Split application presentation between devices
US11205286B2 (en) Techniques for optimizing creation of digital diagrams
CN106502808A (en) A kind of method of copied files, device and terminal
CN107077353A (en) Terminal device and its control method
JP2015180991A (en) Image forming apparatus, control method of image forming apparatus, and program
CN105955513A (en) Information processing method, electronic device and wireless mouse
CN110392375A (en) WiFi network channel amending method, terminal, server and storage medium
CN106990927B (en) Image forming apparatus, cloud server, image forming system, and connection setting method
US20210373837A1 (en) Method and apparatus of displaying video picture in large screen system, and storage medium
JP6928340B2 (en) Construction management system, construction management method, air volume measurement method, mobile terminal and program
CA3095002A1 (en) Imaging systems with multiple angles of view
US20210141586A1 (en) Selective electronic content casting

Legal Events

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

Ref document number: 12883342

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12883342

Country of ref document: EP

Kind code of ref document: A1