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 improving stability and avoiding abnormal data synchronization.

Active Publication Date: 2021-07-23
WUHAN DOUYU NETWORK TECH CO LTD
View PDF3 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

[0041] 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. see figure 1 , the Android horizontal and vertical screen data synchronization method comprises the following steps:

[0042] S110. Receive a switch instruction, and switch the service control in the first screen state to the service control in the second screen state according to the switch instruction.

[0043] When switching between horizontal and vertical screens on an Android terminal, multiple business controls in the horizontal and vertical screens need to synchronize business control information. The business controls can include progress bar controls, volume adjustment controls,...

Embodiment 2

[0091] 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.

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

[0093] The business control switching module 210 is configured to receive a switching instruction, and switch the business control in the first screen state to the business control in the second screen state according to the switching instruction;

[0094] The cached message acquisition module 220 is configured to acquire the cached message in the message cache queue of the first screen state, wherein the cached message is consistent with the historical update message of the service control information in the first screen state, and the message cache queue...

Embodiment 3

[0114] 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:

[0115] one or more processors 310;

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

[0117] 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.

[0118] 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.

[0119] 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 / ...

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

Examples of the present invention disclose a method, device, terminal and readable medium of Android horizontal and vertical screen data synchronization. The method includes: receiving and switching instructions, switching the business control of the first screen status to the second screen state according to the switch instructionBusiness control; get the cache message in the message cache queue of the first screen state, which is the same as the historical update of the business control information of the first screen state, and the message cache queue type of the first screen state is pre -defined messageCcheca queue class; update business control information based on the cache message update the second screen state.An Android -vertical screen data synchronization method, device, terminal and readable medium provided by the embodiment of the present invention, which realizes the synchronization of Android horizontal and vertical screen data, enhances the data synchronization stability, and avoids the situation of data synchronization abnormalities.

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): G06F3/14G06F9/451
CPCG06F3/1423G06F9/451
Inventor 张磊张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD