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: 2019-01-15
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 8 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

The embodiment of the invention discloses an Android horizontal and vertical screen data synchronization method, a device, a terminal and a readable medium, wherein, the method comprises the followingsteps: receiving a switching instruction and switching a service control of a first screen state to a service control of a second screen state according to the switching instruction; acquiring a cached message in a message cache queue of a first screen state, wherein the cached message coincides with a historical update message of service control information of the first screen state, and the message cache queue type of the first screen state is a predefined message cache queue class; the service control information of the second screen state is updated according to the cached message. The embodiment of the invention provides an Android horizontal and vertical screen data synchronization method, a device, a terminal and a readable medium, which realize the Android horizontal and verticalscreen data synchronization, improve the data synchronization stability and avoid the 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
IPC IPC(8): G06F3/14G06F9/451
CPCG06F3/1423G06F9/451
Inventor 张磊张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD