CN112463891B - Data synchronization method, data synchronization equipment, electronic equipment and storage medium - Google Patents

Data synchronization method, data synchronization equipment, electronic equipment and storage medium Download PDF

Info

Publication number
CN112463891B
CN112463891B CN202110115060.8A CN202110115060A CN112463891B CN 112463891 B CN112463891 B CN 112463891B CN 202110115060 A CN202110115060 A CN 202110115060A CN 112463891 B CN112463891 B CN 112463891B
Authority
CN
China
Prior art keywords
data
synchronization
input terminal
synchronous
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110115060.8A
Other languages
Chinese (zh)
Other versions
CN112463891A (en
Inventor
涂欣
丁学利
苏巧运
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Mengtianmen Technology Co ltd
Original Assignee
Beijing Mengtianmen Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Mengtianmen Technology Co ltd filed Critical Beijing Mengtianmen Technology Co ltd
Priority to CN202110115060.8A priority Critical patent/CN112463891B/en
Publication of CN112463891A publication Critical patent/CN112463891A/en
Application granted granted Critical
Publication of CN112463891B publication Critical patent/CN112463891B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/413Classification of content, e.g. text, photographs or tables

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

One or more embodiments of the present specification provide a data synchronization method, device, electronic device, and storage medium, including: acquiring the operation of a user, and judging whether to enter a synchronous mode according to the operation; after entering a synchronization mode, acquiring a screen capture picture of an operation interface, and performing picture analysis to generate data to be synchronized; determining a data format of a synchronous terminal, and performing data conversion on data to be synchronized to generate synchronous data; and outputting the synchronous data. One or more embodiments of the present disclosure set a synchronization mode in an input terminal, capture an interface in real time in a screen capture mode after entering the synchronization mode to obtain a content currently input by a user at the input terminal, and then synchronize the content input by the user to the synchronization terminal by analyzing a screen capture picture and converting a format of an analysis result. And further, the content can be synchronized to other terminals at the first time, so that the timeliness and the synchronization efficiency of data synchronization are improved, and the operation step of synchronizing data by a user is saved.

Description

Data synchronization method, data synchronization equipment, electronic equipment and storage medium
Technical Field
One or more embodiments of the present disclosure relate to the field of data processing technologies, and in particular, to a data synchronization method, device, electronic device, and storage medium.
Background
At present, in a big data era, data has the characteristics of mass, high growth, diversification and the like, and in actual big data processing, data change in one system is often required to be synchronized to another system in time, or data change in one database is synchronized to another database, namely data synchronization is performed.
When data synchronization is performed on various existing databases, data synchronization is generally performed in a manner of manually inputting and importing the data or by accumulating the data to a certain amount or meeting certain conditions, for example, data synchronization is performed in the early morning of each day. However, such a data synchronization method is not very flexible and inefficient in a scenario where data timeliness is very required.
Disclosure of Invention
In view of the above, an object of one or more embodiments of the present disclosure is to provide a data synchronization method, an apparatus, an electronic apparatus, and a storage medium, so as to solve the problem of inefficient data synchronization.
In view of the above, one or more embodiments of the present specification provide a data synchronization method, including:
acquiring the operation of a user on an input terminal, and judging whether to enter a synchronous mode according to the operation;
in response to the fact that the input terminal enters the synchronization mode, acquiring a screen capture picture of an operation interface of the input terminal, and performing picture analysis on the screen capture picture to generate data to be synchronized;
determining a data format of a synchronous terminal, and performing data conversion on the data to be synchronized according to the data format to generate synchronous data;
and outputting the synchronous data to the synchronous terminal for data synchronization.
In some embodiments, the acquiring a screenshot picture of an operation interface of the input terminal includes:
determining the data type being displayed by the operation interface;
determining a corresponding data interception rule according to the data type;
and indicating the input terminal to intercept the operation interface according to the data interception rule to generate the screenshot picture.
In some embodiments, the instructing, according to the data capture rule, the input terminal to capture the operation interface to generate the screenshot picture includes:
instructing the input terminal to generate prompt information according to the data interception rule;
determining the circle selection operation of a user in the operation interface;
and determining a selected area in the operation interface corresponding to the circle selection operation, and acquiring the screen capture picture of the selected area.
In some embodiments, the data types include: a table type, a chart type, a picture type, and/or a text type.
In some embodiments, the data type is a table type;
the data interception rule comprises:
and determining all data items to be acquired according to the form type, and sequentially acquiring the screen capture pictures corresponding to the data items.
In some embodiments, the determining whether to enter a synchronization mode according to the operation includes:
and when a synchronization instruction triggered by the user on the input terminal is acquired, judging to enter the synchronization mode.
In some embodiments, the determining whether to enter a synchronization mode according to the operation includes:
and when the user is determined to enter a set interface on the input terminal for a preset time, judging to enter the synchronous mode.
Based on the same concept, one or more embodiments of the present specification further provide a data synchronization apparatus, including:
the judging module is used for acquiring the operation of a user on an input terminal and judging whether to enter a synchronous mode according to the operation;
the acquisition module is used for acquiring a screen capture picture of an operation interface of the input terminal in response to the fact that the input terminal is determined to enter the synchronization mode, carrying out picture analysis on the screen capture picture and generating data to be synchronized;
the generating module is used for determining the data format of the synchronous terminal, and performing data conversion on the data to be synchronized according to the data format to generate synchronous data;
and the output module is used for outputting the synchronous data to the synchronous terminal for data synchronization.
Based on the same concept, one or more embodiments of the present specification further provide an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the method according to any one of the above when executing the program.
Based on the same concept, one or more embodiments of the present specification also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to implement the method of any one of the above.
As can be seen from the above description, one or more embodiments of the present specification provide a data synchronization method, device, electronic device, and storage medium, including: acquiring the operation of a user on an input terminal, and judging whether to enter a synchronous mode according to the operation; in response to the fact that the input terminal enters the synchronization mode, acquiring a screen capture picture of an operation interface of the input terminal, and performing picture analysis on the screen capture picture to generate data to be synchronized; determining a data format of a synchronous terminal, and performing data conversion on the data to be synchronized according to the data format to generate synchronous data; and outputting the synchronous data to the synchronous terminal for data synchronization. One or more embodiments of the present disclosure set a synchronization mode in an input terminal, capture an interface in real time in a screen capture mode after entering the synchronization mode to obtain a content currently input by a user at the input terminal, and then synchronize the content input by the user to the synchronization terminal by analyzing a screen capture picture and converting a format of an analysis result. And even if the user is carrying out data entry and writing the entered data, the data synchronization can be carried out, the content can be synchronized to other terminals at the first time, the timeliness and the synchronization efficiency of the data synchronization are improved, and the operation step of synchronizing the data by the user is saved.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, the drawings that are needed in the description of the embodiments or prior art will be briefly described below, and it is obvious that the drawings in the following description are only one or more embodiments of the present specification, and that other drawings may be obtained by those skilled in the art without inventive effort from these drawings.
Fig. 1 is a schematic flow chart of a data synchronization method according to one or more embodiments of the present disclosure;
fig. 2 is a schematic structural diagram of a data synchronization apparatus according to one or more embodiments of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to one or more embodiments of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present specification more apparent, the present specification is further described in detail below with reference to the accompanying drawings in combination with specific embodiments.
It should be noted that technical terms or scientific terms used in the embodiments of the present specification should have a general meaning as understood by those having ordinary skill in the art to which the present disclosure belongs, unless otherwise defined. The use of "first," "second," and similar terms in this disclosure is not intended to indicate any order, quantity, or importance, but rather is used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that a element, article, or method step that precedes the word, and includes the element, article, or method step that follows the word, and equivalents thereof, does not exclude other elements, articles, or method steps. The terms "connected" and "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
As described in the background section, in a specific application scenario, in the medical field, with the advent of various medical and health databases, a method is needed to solve the problem of data synchronization between different medical databases. However, the existing data synchronization methods generally include several methods such as sharing a database, sharing a file, and transmitting a standard system interface, but because of the restriction and limitation of information security of each health care system, the above method of transmitting data in real time cannot be applied, and if the data file is copied, the method cannot guarantee the immediate synchronization of the data and the loss of the data. Particularly, when a serious disease such as complex diagnosis or a sudden new infectious disease is involved, the efficiency of data synchronization is extremely high, the faster the data synchronization is, more time can be won for a patient or epidemic prevention and control, and the efficiency of data synchronization of the existing data synchronization method cannot meet the requirement.
Similarly, in another specific application scenario, in the field of public health supervision and inspection, various databases are involved. When the relative people of public health management are supervised and supervised, the problems are quickly found, and meanwhile, the related data of the relative people of public health management are quickly synchronized into the whole supervision and inspection system, so that the problems can be solved in real time, for example, correction opinions, public website early warning and the like are immediately provided, the faster the synchronous data can quickly react, the public places are purified as much as possible, the responsibility of health and safety subjects is realized, the body health of people is protected, and the data synchronization efficiency of the existing data synchronization method can not meet the requirement.
In combination with the above practical situations, one or more embodiments of the present specification provide a data synchronization scheme, where a synchronization mode is set in an input terminal, a real-time interface is captured in a screen capture mode after the input terminal enters the synchronization mode to obtain a content currently input by a user at the input terminal, and then the content input by the user is synchronized to the synchronization terminal through analysis of a screen capture picture and format conversion of an analysis result. And even if the user is carrying out data entry and writing the entered data, the data synchronization can be carried out, the content can be synchronized to other terminals at the first time, the timeliness and the synchronization efficiency of the data synchronization are improved, and the operation step of synchronizing the data by the user is saved.
Referring to fig. 1, a schematic flow chart of a data synchronization method according to an embodiment of the present disclosure specifically includes the following steps:
step 101, obtaining the operation of a user at an input terminal, and judging whether to enter a synchronization mode according to the operation.
This step is intended to determine whether the content currently displayed on the screen of the input terminal needs to be data-synchronized by determining whether a synchronization mode is entered according to the user's operation on the input terminal. The user can be a doctor, a nurse or a data entry person in a specific application scenario. The input terminal is a terminal processor used by a doctor, such as a computer, an intelligent tablet, an intelligent medical instrument, and the like, and is used for first-hand data entry of the doctor on a patient or a target object on site.
Thereafter, the user may perform various operations in the input terminal, such as clicking, dragging, rotating, text input, drawing a chart, filling out a form, and the like. And then judging or comparing the operations, and determining that the user needs to carry out a synchronization mode when the specific operation is finished. The operations may be clicking on a specific area, for example, displaying a synchronization button on the specific area on the screen of the input terminal, and when the user clicks on the synchronization button, determining to perform a synchronization mode; or whether to carry out the synchronization mode can be determined by a specific mouse pointer track or a touch track, for example, if a right mouse button draws an S-shaped track in a state of being always clicked, the synchronization mode is determined; the synchronization mode may also be determined to be performed after the user enters a specific interface for a certain time or performs a specific operation, for example, the synchronization mode is automatically entered after 1 minute after entering a specific form page, and the like.
And finally, the synchronization mode is a specific mode, data of the input terminal can be acquired in real time in the mode, the data are analyzed and processed, and data conversion is carried out according to different database formats so as to achieve the purpose of data synchronization.
And step 102, responding to the determination of entering the synchronization mode, acquiring a screen capture picture of the operation interface of the input terminal, and performing picture analysis on the screen capture picture to generate data to be synchronized.
The method comprises the steps of acquiring a screen capture picture of an input terminal and performing data extraction on the picture to generate data to be synchronized after the input terminal is determined to enter a synchronization mode, so as to complete data preparation work of data synchronization. The operation Interface of the input terminal is an Interface displayed by a current display of the input terminal, that is, a User Interface (User Interface) refers to an overall design of human-computer interaction, operation logic and attractive Interface of software. The operation interface is a medium for interaction and information exchange between the input terminal and the user, and realizes conversion between the internal form of the information and the human acceptable form. The operation interface is designed between the user and the hardware for interactive communication with the related software, so that the user can conveniently and efficiently operate the hardware to achieve bidirectional interaction and complete the work expected to be completed by the hardware. Then, a screen capture operation is performed on the operation interface, which may be a screen capture operation performed on the entire operation interface or a screen capture operation performed on a specific area, for example, when a user fills in a form with a specific form tool, only a form part of the form tool displayed in the operation interface is captured. The picture generated by screen capture can be in various formats, such as webp, bmp, jpg, png, tif, gif, and the like, which can meet the requirements of the picture analysis later.
And then, carrying out picture analysis on the screen shot picture, identifying characters in the screen shot picture or pictures or tables with set formats and the like, and generating data to be synchronized. The text can be recognized by a text recognition technology, a specific picture in the picture can be recognized by means of gray scale and the like, for example, in a specific application scene, picture data of a patient in a hospital is generally an X-ray picture or a B-mode ultrasound picture and the like, the picture data is generally a black-and-white picture and is clear in black and white, and meanwhile, a color picture or a chart is rarely used when medical data or a report is written, so that a needed picture or chart can be conveniently extracted.
In a specific application scenario, if the user fills in a specific form with a set format, etc. The data acquisition can be performed according to a predetermined acquisition rule, for example, when a table with a fixed format is targeted, each item in the whole table is determined and data information to be acquired is generated, and a user is prompted through an input terminal, the user determines a screen capture area corresponding to each item according to the sequence of each item in the data information to be acquired, for example, the input terminal prompts that name information is to be acquired, the user performs operations such as selection and circling in the input terminal, the area corresponding to the operations is the area where the name information to be synchronized is located, the area is subjected to screen capture, and characters in a screen capture picture are analyzed to determine the name information to be synchronized.
And 103, determining a data format of the synchronous terminal, and performing data conversion on the data to be synchronized according to the data format to generate synchronous data.
The step aims at determining the required data format of the target synchronization terminal and performing data conversion on the data to be synchronized so as to facilitate data synchronization operation.
The synchronous terminal is similar to the input terminal, and a database for storing data or a program for reprocessing data are provided in the synchronous terminal. Different databases or programs have format requirements on the acquired data, and the data to be synchronized obtained in step 102 may have no format or have a certain fixed format, so that data conversion needs to be performed on the data to be synchronized to generate data required by the synchronization terminal. Therefore, the data format required by the target synchronous terminal is determined, the format transcoding is carried out by using the corresponding transcoder according to the format, and the synchronous data is generated after the data conversion.
And 104, outputting the synchronous data to the synchronous terminal for data synchronization.
The step aims at outputting the synchronous data to enable the synchronous terminal to carry out data synchronization, and finishing data synchronization when the user inputs data.
In this step, the output of the synchronization data may be used to store, present, use, or reprocess the synchronization data. According to different application scenarios and implementation requirements, the specific output mode of the synchronous data can be flexibly selected.
For example, for an application scenario in which the method of the present embodiment is executed on a single device, the synchronization data may be directly output in a display manner on a display section (display, projector, etc.) of the current device, so that an operator of the current device can directly see the content of the synchronization data from the display section.
For another example, for an application scenario executed on a system composed of multiple devices by the method of this embodiment, the synchronization data may be sent to other preset devices serving as receivers in the system, that is, the synchronization terminal, through any data communication manner (e.g., wired connection, NFC, bluetooth, wifi, cellular mobile network, etc.), so that the synchronization terminal may perform subsequent processing on the synchronization data. Optionally, the synchronization terminal may be a preset server, and the server is generally arranged at a cloud end and used as a data processing and storage center, which can store and distribute the synchronization data; the recipient of the distribution is a terminal device, and the holder or operator of the terminal device may be a hospital data manager, a hospital data supervisor, a company or an individual who needs to use the data, and so on.
For another example, for an application scenario executed on a system composed of multiple devices, the method of this embodiment may directly send the synchronization data to a preset terminal device through any data communication manner, where the terminal device may be one or more of the foregoing paragraphs.
That is, when the synchronous data is output to the synchronous terminal, the processor itself may display the data, and the synchronous terminal may store or reprocess the synchronous data after receiving the synchronous data, as long as the data synchronization can be completed, and there is no limitation on the processing after the synchronization or other data output modes performed while the data synchronization is performed.
In combination with the above practical situation, one or more embodiments of the present specification provide a data synchronization method, including: acquiring the operation of a user on an input terminal, and judging whether to enter a synchronous mode according to the operation; in response to the fact that the input terminal enters the synchronization mode, acquiring a screen capture picture of an operation interface of the input terminal, and performing picture analysis on the screen capture picture to generate data to be synchronized; determining a data format of a synchronous terminal, and performing data conversion on the data to be synchronized according to the data format to generate synchronous data; and outputting the synchronous data to the synchronous terminal for data synchronization. One or more embodiments of the present disclosure set a synchronization mode in an input terminal, capture an interface in real time in a screen capture mode after entering the synchronization mode to obtain a content currently input by a user at the input terminal, and then synchronize the content input by the user to the synchronization terminal by analyzing a screen capture picture and converting a format of an analysis result. And even if the user is carrying out data entry and writing the entered data, the data synchronization can be carried out, the content can be synchronized to other terminals at the first time, the timeliness and the synchronization efficiency of the data synchronization are improved, and the operation step of synchronizing the data by the user is saved.
It should be noted that the method of one or more embodiments of the present disclosure may be performed by a single device, such as a computer or server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the devices may perform only one or more steps of the method of one or more embodiments of the present disclosure, and the devices may interact with each other to complete the method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In an alternative embodiment of the present specification, the corresponding screen capturing mode is performed for different data formats in order to be accurate. The acquiring of the screenshot picture of the operation interface of the input terminal includes: determining the data type being displayed by the operation interface; determining a corresponding data interception rule according to the data type; and indicating the input terminal to intercept the operation interface according to the data interception rule to generate the screenshot picture.
The data types may be tables, plain text, diagrams, pictures, and the like, that is, the data types include: a table type, a chart type, a picture type, and/or a text type.
In a specific application scenario, a general format of data to be synchronized in medical data is fixed, and for example, formats of a fixed information table, an X-ray report, a B-ultrasonic report, and the like are fixed and universal. Therefore, when the user operates the input terminal, the type of data which is filled by the user at present can be determined, and the specific data interception rule is determined.
In an alternative embodiment of the present specification, each item of data that needs to be synchronized is acquired more accurately. The step of indicating the input terminal to intercept the operation interface according to the data interception rule to generate the screenshot picture comprises the following steps: instructing the input terminal to generate prompt information according to the data interception rule; determining the circle selection operation of a user in the operation interface; and determining a selected area in the operation interface corresponding to the circle selection operation, and acquiring the screen capture picture of the selected area.
In a specific application scenario, because the data format corresponding to the data interception rule is fixed, such as a table format, etc., information can be specifically prompted, and more accurate information can be acquired according to the operation of a user. For example, when data in a table format is synchronized, each item of data to be acquired is determined according to a data interception rule corresponding to the table, prompt information is generated according to the item of data, and a user performs operations such as selection or circling according to the prompt information sequence to confirm each item of information, so that a screen capture area corresponding to each item is determined. Such as: the method comprises the steps of acquiring data such as patient names, patient sexes, identification numbers and the like according to data interception rules, generating prompt information, sequentially prompting to acquire patient name information, performing circle selection operation on an operation interface by a user according to the prompt information, then performing screen interception on a circle-selected area, enabling a screen-intercepted picture to correspond to the patient names, and obtaining data analyzed from the picture, namely the patient names. That is, when the data type is a table type; the data interception rule comprises: and determining all data items to be acquired according to the form type, and sequentially acquiring the screen capture pictures corresponding to the data items.
In an alternative embodiment of the present description, to accurately determine whether a user needs to enter a synchronization mode. The determining whether to enter a synchronization mode according to the operation includes: and when a synchronization instruction triggered by the user on the input terminal is acquired, judging to enter the synchronization mode. Or, the determining whether to enter the synchronization mode according to the operation includes: and when the user is determined to enter a set interface on the input terminal for a preset time, judging to enter the synchronous mode.
In a specific application scenario, the manner of determining whether to enter the synchronization mode may be to set a virtual component such as a synchronization button in a display area of the input terminal, and enter the synchronization mode when a user clicks the synchronization button. Or, when the user enters a specific program to perform operations such as specific form filling or specific chart making, the user is determined to enter the synchronization mode after staying on the specific pages for more than a certain time.
Based on the same concept, one or more embodiments of the present specification further provide a data synchronization apparatus, as shown in fig. 2, including:
the determining module 201 is configured to obtain an operation of a user at an input terminal, and determine whether to enter a synchronization mode according to the operation.
The obtaining module 202 is configured to, in response to determining that the input terminal enters the synchronization mode, obtain a screenshot picture of an operation interface of the input terminal, perform picture analysis on the screenshot picture, and generate data to be synchronized.
The generating module 203 is configured to determine a data format of the synchronization terminal, perform data conversion on the data to be synchronized according to the data format, and generate synchronization data.
An output module 204, configured to output the synchronization data to the synchronization terminal for data synchronization.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the modules may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
The device of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
As an optional embodiment, the obtaining module 202 may be further configured to:
determining the data type being displayed by the operation interface;
determining a corresponding data interception rule according to the data type;
and indicating the input terminal to intercept the operation interface according to the data interception rule to generate the screenshot picture.
As an optional embodiment, the obtaining module 202 may be further configured to:
instructing the input terminal to generate prompt information according to the data interception rule;
determining the circle selection operation of a user in the operation interface;
and determining a selected area in the operation interface corresponding to the circle selection operation, and acquiring the screen capture picture of the selected area.
As an optional embodiment, the data types include: a table type, a chart type, a picture type, and/or a text type.
As an alternative embodiment, the data type is a table type;
the data interception rule comprises:
and determining all data items to be acquired according to the form type, and sequentially acquiring the screen capture pictures corresponding to the data items.
As an optional embodiment, the determining module 201 may be further configured to:
and when a synchronization instruction triggered by the user on the input terminal is acquired, judging to enter the synchronization mode.
As an optional embodiment, the determining module 201 may be further configured to:
and when the user is determined to enter a set interface on the input terminal for a preset time, judging to enter the synchronous mode.
One or more embodiments of the present specification further provide an electronic device based on the same inventive concept. The electronic device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to implement the data synchronization method according to any one of the embodiments.
Fig. 3 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 310, a memory 320, an input/output interface 330, a communication interface 340, and a bus 350. Wherein the processor 310, memory 320, input/output interface 330, and communication interface 340 are communicatively coupled to each other within the device via bus 350.
The processor 310 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 320 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 320 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 320 and called to be executed by the processor 310.
The input/output interface 330 is used for connecting an input/output module to realize information input and output. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 340 is used for connecting a communication module (not shown in the figure) to implement communication interaction between the present device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 350 includes a path that transfers information between the various components of the device, such as processor 310, memory 320, input/output interface 330, and communication interface 340.
It should be noted that although the above-mentioned device only shows the processor 310, the memory 320, the input/output interface 330, the communication interface 340 and the bus 350, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The device of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, one or more embodiments of the present specification further provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to implement a data synchronization method as described in any of the above embodiments.
Computer-readable media of the present embodiments, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the spirit of the present disclosure, features from the above embodiments or from different embodiments may also be combined, steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the present description as described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures, for simplicity of illustration and discussion, and so as not to obscure one or more embodiments of the disclosure. Further, devices may be shown in block diagram form in order to avoid obscuring the understanding of one or more embodiments of the present description, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the one or more embodiments of the present description are to be implemented (i.e., such specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the disclosure, it should be apparent to one skilled in the art that one or more embodiments of the disclosure can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
It is intended that the one or more embodiments of the present specification embrace all such alternatives, modifications and variations as fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of one or more embodiments of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (10)

1. A method of data synchronization, comprising:
acquiring the operation of a user on an input terminal, and judging whether to enter a synchronous mode according to the operation;
in response to the fact that the input terminal enters the synchronization mode, acquiring a screen capture picture of a part of operation interfaces of the input terminal, and performing picture analysis on the screen capture picture to generate data to be synchronized;
determining a data format of a synchronous terminal, and performing data conversion on the data to be synchronized according to the data format to generate synchronous data;
and outputting the synchronous data to the synchronous terminal for data synchronization.
2. The method according to claim 1, wherein the acquiring of the screenshot picture of the operation interface of the input terminal comprises:
determining the data type being displayed by the operation interface;
determining a corresponding data interception rule according to the data type;
and indicating the input terminal to intercept the operation interface according to the data interception rule to generate the screenshot picture.
3. The method according to claim 2, wherein the instructing, according to the data interception rule, the input terminal to intercept the operation interface to generate the screenshot picture comprises:
instructing the input terminal to generate prompt information according to the data interception rule;
determining the circle selection operation of a user in the operation interface;
and determining a selected area in the operation interface corresponding to the circle selection operation, and acquiring the screen capture picture of the selected area.
4. The method of claim 2, wherein the data types include: a table type, a chart type, a picture type, and/or a text type.
5. The method of claim 4, wherein the data type is a table type;
the data interception rule comprises:
and determining all data items to be acquired according to the form type, and sequentially acquiring the screen capture pictures corresponding to the data items.
6. The method of claim 1, wherein determining whether to enter a synchronization mode according to the operation comprises:
and when a synchronization instruction triggered by the user on the input terminal is acquired, judging to enter the synchronization mode.
7. The method of claim 1, wherein determining whether to enter a synchronization mode according to the operation comprises:
and when the user is determined to enter a set interface on the input terminal for a preset time, judging to enter the synchronous mode.
8. A data synchronization apparatus, comprising:
the judging module is used for acquiring the operation of a user on an input terminal and judging whether to enter a synchronous mode according to the operation;
the acquisition module is used for acquiring a screen capture picture of a part of operation interfaces of the input terminal in response to the fact that the input terminal is determined to enter the synchronous mode, carrying out picture analysis on the screen capture picture and generating data to be synchronized;
the generating module is used for determining the data format of the synchronous terminal, and performing data conversion on the data to be synchronized according to the data format to generate synchronous data;
and the output module is used for outputting the synchronous data to the synchronous terminal for data synchronization.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the program.
10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to implement the method of any one of claims 1 to 7.
CN202110115060.8A 2021-01-28 2021-01-28 Data synchronization method, data synchronization equipment, electronic equipment and storage medium Active CN112463891B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110115060.8A CN112463891B (en) 2021-01-28 2021-01-28 Data synchronization method, data synchronization equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110115060.8A CN112463891B (en) 2021-01-28 2021-01-28 Data synchronization method, data synchronization equipment, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112463891A CN112463891A (en) 2021-03-09
CN112463891B true CN112463891B (en) 2021-05-11

Family

ID=74802548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110115060.8A Active CN112463891B (en) 2021-01-28 2021-01-28 Data synchronization method, data synchronization equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112463891B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113791723A (en) * 2021-09-23 2021-12-14 苏州美能华智能科技有限公司 Data entry method, device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461474A (en) * 2013-09-12 2015-03-25 北京三星通信技术研究有限公司 Mobile terminal and screen-shooting method and device therefor
WO2016070372A1 (en) * 2014-11-06 2016-05-12 北京安奇智联科技有限公司 Method for implementing synchronous display between mobile terminal and web terminal
US20190146637A1 (en) * 2017-11-15 2019-05-16 Rockwell Automation Technologies, Inc. Mobile data snapshots
CN109783759A (en) * 2019-01-15 2019-05-21 北京智融网络科技有限公司 Page screenshot automatic generating method, equipment and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN112463891A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
US20220351390A1 (en) Method for generating motion capture data, electronic device and storage medium
WO2011070871A1 (en) Information processing device, information processing method, and program
Raja et al. Android and ODK based data collection framework to aid in epidemiological analysis
US20140164968A1 (en) Medical Photography User Interface Utilizing a Body Map Overlay in Camera Preview to Control Photo Taking and Automatically Tag Photo with Body Location
CN111882634B (en) Image rendering method, device, equipment and storage medium
CN109784304B (en) Method and apparatus for labeling dental images
CN106455056B (en) Positioning method and device
KR102182579B1 (en) Method for interlocking between electronic chart and dental program and dental insurance claim system thereof
WO2019190844A1 (en) Systems and methods for managing server-based patient centric medical data
KR20170035604A (en) Electronic device for processing image and method for controlling thereof
CN112463891B (en) Data synchronization method, data synchronization equipment, electronic equipment and storage medium
US11742063B2 (en) Aggregation and viewing of health records received from multiple sources
JP2024502516A (en) Data annotation methods, apparatus, systems, devices and storage media
CN108062401B (en) Application recommendation method and device and storage medium
CN112101257A (en) Training sample generation method, image processing method, device, equipment and medium
CN111967269A (en) Business risk identification method and device and electronic equipment
CN115328997B (en) Data synchronization method, system, device and storage medium
CN111192643A (en) Medical record data processing method and related equipment
CN116230223A (en) Health management system and method based on human motion data
CN109545304A (en) Medical care method, apparatus, equipment and storage medium based on Intelligent bracelet
CN108153655A (en) The detection method and storage medium of the draw call quantity of virtual reality software
CN108573505B (en) Method for detecting virtual view field rationality, system thereof and storage medium
JP7212994B1 (en) Program, information processing device, information processing method, information processing system
CN112183657A (en) Method and device for acquiring annotation information, electronic equipment and computer readable medium
JP2016071394A (en) Emotional information providing device, emotional information providing method, and emotional information providing program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant