Unlock instant, AI-driven research and patent intelligence for your innovation.

Android horizontal and vertical screen data synchronization method, device, terminal and readable medium

A data synchronization, horizontal and vertical screen technology, applied in the computer field, can solve problems such as abnormal data synchronization and business function disorder, and achieve the effect of reducing the occupation of system resources, avoiding abnormal data synchronization, and improving the stability of data synchronization

Active Publication Date: 2021-09-07
WUHAN DOUYU NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If switching between horizontal and vertical screens is implemented multiple times, all business status information in the horizontal / vertical screen needs to be copied multiple times, which will easily lead to business function disorder and data synchronization exceptions may occur

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Android horizontal and vertical screen data synchronization method, device, terminal and readable medium
  • Android horizontal and vertical screen data synchronization method, device, terminal and readable medium
  • Android horizontal and vertical screen data synchronization method, device, terminal and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] figure 1 It is a flow chart of an Android horizontal and vertical screen data synchronization method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of Android horizontal and vertical screen data synchronization. The method can be implemented by a terminal, specifically through the software and / or in the terminal hardware to implement.

[0043] see figure 1 , the Android horizontal and vertical screen data synchronization method comprises the following steps:

[0044] S110. Receive the switching instruction, switch the service control in the first screen state to the service control in the second screen state according to the switching instruction, and call the reference relationship switching function of the protocol to switch the reference relationship of the data sharing protocol to the second screen state.

[0045] When switching between horizontal and vertical screens on an Android terminal, multiple business cont...

Embodiment 2

[0098] figure 2 It is a schematic structural diagram of an Android horizontal and vertical screen data synchronization device provided in Embodiment 2 of the present invention. This embodiment is applicable to the situation of Android horizontal and vertical screen data synchronization.

[0099] see figure 2 , Android horizontal and vertical screen data synchronizing device in the present embodiment, comprises:

[0100] The business control switching module 210 is used to receive the switching instruction, switch the business control in the first screen state to the business control in the second screen state according to the switching instruction, and call the reference relationship switching function of the protocol to switch the reference relationship of the data sharing agreement to Second screen state;

[0101] The business control information setting module 220 is used to obtain the business control variable in the data sharing object, and set the business control in...

Embodiment 3

[0118] This embodiment provides a terminal, which can be used in the case of Android horizontal and vertical screen data synchronization. image 3 It is a schematic structural diagram of a terminal provided in Embodiment 3 of the present invention. see image 3 , the terminal includes:

[0119] one or more processors 310;

[0120] memory 320, for storing one or more programs;

[0121] When the one or more programs are executed by the one or more processors 310, the one or more processors 310 implement the Android horizontal and vertical screen data synchronization method as proposed in Embodiment 1.

[0122] image 3 Take a processor 310 as an example; the processor 310 and the memory 320 can be connected through a bus or in other ways, image 3 Take connection via bus as an example.

[0123] As a computer-readable storage medium, the memory 320 can be used to store software programs, computer-executable programs and modules, such as program instructions / modules correspo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present invention discloses an Android horizontal and vertical screen data synchronization method, device, terminal and readable medium, wherein the method includes: switching the business control in the first screen state to the business control in the second screen state according to the received switching instruction , call the reference relationship switching function of the protocol to switch the reference relationship of the data sharing protocol to the second screen state; obtain the business control variable in the data sharing object, and set the business control information of the second screen state according to the business control variable; according to the received update The message updates the business control variable, and sends the updated business control variable to the second screen state through the data sharing protocol after the reference relationship is switched, so as to update the business control information of the second screen state. An Android horizontal and vertical screen data synchronization method, device, terminal and readable medium provided by the embodiments of the present invention realize data synchronization of Android horizontal and vertical screens, improve data synchronization stability, and avoid abnormal data synchronization.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular to a method, device, terminal and readable medium for synchronizing Android horizontal and vertical screen data. Background technique [0002] Generally, the method for switching between horizontal and vertical screens on an Android terminal is to completely close the horizontal / portrait screen and then load the vertical / landscape screen, that is, the business logic between the horizontal screen and the vertical screen is completely separated. To complete data synchronization when switching between landscape and portrait screens, it is necessary to copy all business status information in the landscape / portrait screen before closing the landscape / portrait screen, and the copied business status information is used for vertical / landscape loading. data synchronization. If switching between horizontal and vertical screens is implemented multiple times, all business status...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06F3/14
CPCG06F3/1423G06F9/44526
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD