WO2019196276A1 - 报表同步方法、电子设备及存储介质 - Google Patents

报表同步方法、电子设备及存储介质 Download PDF

Info

Publication number
WO2019196276A1
WO2019196276A1 PCT/CN2018/099286 CN2018099286W WO2019196276A1 WO 2019196276 A1 WO2019196276 A1 WO 2019196276A1 CN 2018099286 W CN2018099286 W CN 2018099286W WO 2019196276 A1 WO2019196276 A1 WO 2019196276A1
Authority
WO
WIPO (PCT)
Prior art keywords
user report
running environment
target user
base table
report
Prior art date
Application number
PCT/CN2018/099286
Other languages
English (en)
French (fr)
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 WO2019196276A1 publication Critical patent/WO2019196276A1/zh

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
    • G06F16/275Synchronous replication

Definitions

  • the present application relates to the field of intelligent report technologies, and in particular, to a report synchronization method, an electronic device, and a storage medium.
  • a report synchronization method comprising:
  • a report synchronization device comprising:
  • the obtaining unit is configured to obtain a configured user report information base table, and obtain user report information of each running environment in at least two running environments;
  • a comparison unit configured to compare user report information of each running environment with the user report information base table to obtain a comparison result
  • a determining unit configured to determine, according to the comparison result, a target user report and status information of the target user report from user report information of each running environment;
  • a synchronization unit configured to synchronize the state of the target user report to the at least two operating environments according to the status information of the target user report.
  • An electronic device comprising:
  • a memory storing at least one instruction
  • a processor executing instructions stored in the memory to implement the report synchronization method.
  • a non-volatile readable storage medium the instructions stored in the non-volatile readable storage medium being executed by a processor in an electronic device to implement the report synchronization method.
  • the application obtains the configured user report information base table, and obtains user report information of each running environment in at least two running environments; and the user report information of each running environment and the user report.
  • the information base table is compared to obtain a comparison result; according to the comparison result, the target user report and the status information of the target user report are determined from the user report information of each running environment; and the status information of the target user report is And synchronizing the status of the target user report into the at least two operating environments.
  • the application can synchronize the reports in different operating environments to maintain the consistency of data in different operating environments.
  • FIG. 1 is a flow chart of a preferred embodiment of a method for synchronizing reports in the present application.
  • FIG. 2 is a functional block diagram of a preferred embodiment of the report synchronization device of the present application.
  • FIG. 3 is a schematic structural diagram of an electronic device according to a preferred embodiment of the method for implementing report synchronization in the present application.
  • FIG. 1 is a flow chart of a preferred embodiment of the method for synchronizing reports in the present application. The order of the steps in the flowchart may be changed according to different requirements, and some steps may be omitted.
  • the report synchronization method is applied to one or more electronic devices, which are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, the hardware of which includes but is not limited to A microprocessor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, and the like.
  • a microprocessor an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, and the like.
  • ASIC application specific integrated circuit
  • FPGA field-programmable gate array
  • DSP digital signal processor
  • the electronic device can be any electronic product that can interact with a user, such as a personal computer, a tablet, a smart phone, a personal digital assistant (PDA), a game machine, an interactive network television ( Internet Protocol Television (IPTV), smart wearable devices, etc.
  • a personal computer such as a personal computer, a tablet, a smart phone, a personal digital assistant (PDA), a game machine, an interactive network television ( Internet Protocol Television (IPTV), smart wearable devices, etc.
  • PDA personal digital assistant
  • IPTV Internet Protocol Television
  • smart wearable devices etc.
  • the electronic device may also include a network device and/or a user device.
  • the network device includes, but is not limited to, a single network server, a server group composed of multiple network servers, or a cloud computing-based cloud composed of a large number of hosts or network servers.
  • the network in which the electronic device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), and the like.
  • the Internet includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), and the like.
  • VPN virtual private network
  • the electronic device acquires a configured user report information base table, and obtains user report information of each running environment in at least two operating environments.
  • the electronic device before acquiring the configured user report information base table, the electronic device enters each of at least two operating environments through a packaged specified SDK (Software Development Kit) interface, and Create user reports in each runtime environment.
  • SDK Software Development Kit
  • the specified SDK interface of the package may include a cognos application interface or the like.
  • the cognos is a BI (Business Intelligence) reporting system.
  • BI Business Intelligence
  • the electronic device configures a user report information base table.
  • the electronic device configuration user report information base table comprises the following two steps:
  • the electronic device periodically acquires an inquiry instruction of each running environment, and acquires a user report in each running environment after obtaining an inquiry instruction of each running environment.
  • the query instruction of each running environment is a trigger condition for acquiring a user report in each running environment, that is, after the electronic device obtains the query instruction of each running environment, , you can get user reports in each runtime environment.
  • the electronic device adopts a manner of periodically obtaining an inquiry instruction of each operating environment.
  • the electronic device may be configured to perform an access to the user report in each running environment at a preset time interval, where the preset time interval may be customized by the user, for example, the pre- Let the time interval be 1 minute, 2 minutes, or 5 minutes, and so on.
  • the electronic device can obtain status information of the user report by using the user report.
  • the status information includes: a type of the user report, a user name of the user report, a modification manner of the user report, and a modification time.
  • the electronic device may also obtain an instruction for configuring a user report information base table input by the user, thereby triggering configuration of the user report information base table, which is not limited herein.
  • the electronic device establishes an intersection of user reports in each operating environment, and uses the intersection as the base table of the user report information.
  • the existing operating environment A and the operating environment B are in a running environment. After a preset interval of 2 minutes, the user reports in the running environment A and the user reports in the running environment B are respectively accessed. . After the access, there are 300,000 user reports in the operating environment A, and there are 301,000 user reports in the operating environment B.
  • the electronic device establishes an intersection of the user report existing in the running environment A and the user report existing in the running environment B, and further obtains the user report information base table, and the user report information base table includes 30 Ten thousand user reports, and the above 300,000 user reports are user reports that exist in both the running environment A and the running environment B.
  • the user report information base table is used as a basis for subsequent comparison, and is used to determine whether any user report exists in each of the at least two operating environments in an initial situation.
  • the electronic device when the electronic device acquires user report information of each running environment in at least two operating environments, in order to implement synchronization of the user report in each running environment in a timely manner, the electronic device may be set every pre-preparation. Set the duration to get the user report information.
  • the preset duration can be customized by the user, and the application is not limited herein.
  • the user report information stores user reports in each running environment, and each user report can obtain status information of each user report.
  • the status information includes, but is not limited to, the type of the user report, the user name of the user report, the modification manner of the user report, and the modification time of the user report.
  • the electronic device compares user report information of each running environment with the user report information base table to obtain a comparison result.
  • the electronic device compares the user report information of each running environment with the user report information base table, and obtains a user report different from the record in the user report information base table.
  • the comparison results include, but are not limited to:
  • a user report does not exist in the user report information base table, but exists in one running environment in each running environment, and does not exist in other running environments in each running environment.
  • a user report exists in the user report information base table, but does not exist in one running environment in each running environment, and exists in other running environments in each running environment.
  • a user report exists in the user report information base table and exists in each running environment, and the user report has an update record in an operating environment in each running environment.
  • the manner in which the electronic device determines whether each user report exists in the user report information base table and/or an operating environment includes, but is not limited to, one or more of the following combinations:
  • the electronic device acquires a name of each user report, and determines whether a name of each user report exists in the user report information base table and/or a running environment, when a user report name does not exist in the When the user report information base table and/or an operating environment, the electronic device determines that the one user report does not exist in the user report information base table and/or a running environment; when the name of the one user report exists in When the user report information base table and/or an operating environment, the electronic device determines that the one user report exists in the user report information base table and/or an operating environment.
  • the electronic device acquires the content of each user report, and determines whether the content of each user report exists in the user report information base table and/or a running environment, when the content of the one user report does not exist in the When the user report information base table and/or an operating environment, the electronic device determines that the one user report does not exist in the user report information base table and/or an operating environment; when the content of the one user report The electronic device determines that the one user report exists in the user report information base table and/or an operating environment when the user report information base table and/or an operating environment exists.
  • the electronic device may determine, by other means, whether each user report exists in the user report information base table and/or an operating environment, and the application does not limit the application.
  • the electronic device determines, according to the comparison result, a target user report and status information of the target user report from user report information of each running environment.
  • the electronic device determines, according to the foregoing three cases of the comparison result, that the electronic device determines, according to the comparison result, the target user report from the user report information of each running environment, including:
  • the electronic device determines the user report with different status information as the target user report.
  • the electronic device determines status information of the target user report according to the comparison result.
  • the specific method is as follows:
  • the electronic device determines that the status information of the target user report is new.
  • the electronic device may determine that the user report C is a new user report.
  • the electronic device determines that the status information of the target user report is deleted.
  • the electronic device determines that the user report C does not exist in the operating environment A, and the user report C exists in the operating environment B, and the electronic device may determine that the user report C is a deleted user report.
  • the target user report exists in the user report information base table, and exists in each running environment, and the target user report has an update record in a running environment in each running environment.
  • the electronic device determines that the status information of the target user report is an update.
  • the user report C exists in the user report information base table, it is indicated that, in an initial situation, the user report C exists in each of the at least two operating environments, and at this time, if The user report C exists in the operating environment A, and the user report C is also present in the operating environment B.
  • the electronic device may determine that the user report C is not a newly added or deleted user report. If it is determined in the operating environment A that the user report C is updated, the electronic device may determine that the user report C is an updated user report.
  • the electronic device synchronizes the status of the target user report to the at least two operating environments according to status information of the target user report.
  • the electronic device synchronizes the status of the target user report to the at least two operating environments according to the status information of the target user report, but is not limited to the following three cases:
  • the electronic device adds the target user report to an operating environment in which the target user report does not exist in the at least two running environments.
  • the electronic device may add the user report C to the running environment B.
  • the electronic device deletes the target user report from an operating environment in which the target user report exists in the at least two operating environments.
  • the electronic device may delete the user report C from the running environment B.
  • the electronic device updates the target user report to each running environment.
  • the electronic device may use the user report C in the running environment A.
  • the new status is updated in the user report C in the runtime environment B.
  • the synchronization of the target user report can be implemented in each running environment.
  • the synchronization of the target user reports is implemented, and the consistency of data in different operating environments is further maintained.
  • the target user report may also be synchronized into the user report information base table to enable the user
  • the report information base table can record the latest status of user reports existing in each running environment in the current state, so that subsequent comparisons are more accurate.
  • the application can obtain the configured user report information base table, and obtain user report information of each running environment in at least two operating environments; and the user report information of each running environment and the user report information base.
  • the comparison is performed, and the comparison result is obtained.
  • the target user report and the status information of the target user report are determined from the user report information of each running environment; and according to the status information of the target user report, The status of the target user report is synchronized to the at least two operating environments. Therefore, the present application can synchronize reports in different operating environments to maintain data consistency in different operating environments.
  • the report synchronization device 11 includes an acquisition unit 110, a comparison unit 111, a determination unit 112, a synchronization unit 113, a creation unit 114, and a configuration unit 115.
  • a module/unit referred to in this application refers to a series of computer readable instruction segments that can be executed by the processor 13 and that are capable of performing fixed functions, which are stored in the memory 12. In this embodiment, the functions of the respective modules/units will be detailed in the subsequent embodiments.
  • the obtaining unit 110 obtains the configured user report information base table, and obtains user report information of each running environment in at least two running environments.
  • the creating unit 114 enters each running environment in at least two running environments through the encapsulated specified SDK interface, and creates in each running environment. User report.
  • the specified SDK interface of the package may include a cognos application interface or the like.
  • the cognos is a BI reporting system. Through the cognos application interface, user reports in each running environment can be created, read, modified, etc., thereby realizing customization of user reports.
  • the configuration unit 115 configures the user report information base table.
  • the configuration unit 115 configures the user report information base table to include the following two steps:
  • the configuration unit 115 periodically acquires the query instruction of each running environment, and obtains the user report in each running environment after obtaining the query instruction of each running environment.
  • the query command of each running environment is a trigger condition for acquiring a user report in each running environment, that is, the configuration unit 115 obtains an inquiry command of each running environment. After that, you can get user reports in each runtime environment.
  • the configuration unit 115 adopts a manner of periodically acquiring an inquiry instruction of each operating environment.
  • the configuration unit 115 may be configured to perform an access to the user report in each running environment every preset time interval, where the preset time interval may be customized by the user, for example:
  • the preset time interval can be 1 minute, 2 minutes, or 5 minutes, and the like.
  • the electronic device can obtain status information of the user report by using the user report.
  • the status information includes: a type of the user report, a user name of the user report, a modification manner of the user report, and a modification time.
  • the configuration unit 115 may also obtain an instruction for configuring the user report information base table that is input by the user, so as to trigger the configuration of the user report information base table, which is not limited herein.
  • the configuration unit 115 establishes an intersection of user reports in each operating environment, and uses the intersection as the base table of the user report information.
  • the existing operating environment A and the operating environment B are in a running environment. After a preset interval of 2 minutes, the user reports in the running environment A and the user reports in the running environment B are respectively accessed. . After the access, there are 300,000 user reports in the operating environment A, and there are 301,000 user reports in the operating environment B.
  • the configuration unit 115 establishes an intersection of the user report existing in the running environment A and the user report existing in the running environment B, and further obtains the user report information base table, and the user report information base table includes 300,000 user reports, and the above 300,000 user reports are user reports that exist in the running environment A and the running environment B.
  • the user report information base table is used as a basis for subsequent comparison, and is used to determine whether any user report exists in each of the at least two operating environments in an initial situation.
  • the obtaining unit 110 may set each Get user report information once every preset time.
  • the preset duration can be customized by the user, and the application is not limited herein.
  • the user report information stores user reports in each running environment, and each user report can obtain status information of each user report.
  • the status information includes, but is not limited to, the type of the user report, the user name of the user report, the modification manner of the user report, and the modification time of the user report.
  • the comparing unit 111 compares the user report information of each running environment with the user report information base table to obtain a comparison result.
  • the comparing unit 111 compares the user report information of each running environment with the user report information base table, and obtains a user report different from the record in the user report information base table.
  • the comparison results include, but are not limited to:
  • a user report does not exist in the user report information base table, but exists in one running environment in each running environment, and does not exist in other running environments in each running environment.
  • a user report exists in the user report information base table, but does not exist in one running environment in each running environment, and exists in other running environments in each running environment.
  • a user report exists in the user report information base table and exists in each running environment, and the user report has an update record in an operating environment in each running environment.
  • the comparing unit 111 determines whether each user report exists in the user report information base table and/or an operating environment includes, but is not limited to, one or more of the following combinations:
  • the comparison unit 111 obtains the name of each user report, and determines whether the name of each user report exists in the user report information base table and/or a running environment, when the name of a user report does not exist in the When the user report information base table and/or an operating environment is described, the comparing unit 111 determines that the one user report does not exist in the user report information base table and/or a running environment; when the name of the one user report When the user report information base table and/or an operating environment exists, the comparing unit 111 determines that the one user report exists in the user report information base table and/or an operating environment.
  • the comparison unit 111 obtains the content of each user report, and determines whether the content of each user report exists in the user report information base table and/or a running environment, when the content of the one user report does not exist. In the user report information base table and/or an operating environment, the comparing unit 111 determines that the one user report does not exist in the user report information base table and/or a running environment; when the one user report When the content exists in the user report information base table and/or an operating environment, the comparing unit 111 determines that the one user report exists in the user report information base table and/or an operating environment.
  • the comparison unit 111 may determine, in other manners, whether each user report exists in the user report information base table and/or an operating environment, which is not limited in this application.
  • the determining unit 112 determines, according to the comparison result, the target user report and the status information of the target user report from the user report information of each running environment.
  • the determining unit 112 is determined according to the foregoing three cases of the comparison result, and the determining unit 112 determines, according to the comparison result, the target user report from the user report information of each running environment, including:
  • the determining unit 112 determines the user report having the different status information as the target user report.
  • the determining unit 112 determines status information of the target user report according to the comparison result.
  • the specific method is as follows:
  • the determining unit 112 determines that the status information of the target user report is new.
  • the determining unit 112 determines that the user report C exists in the operating environment A, and the user report C does not exist in the operating environment B, the determining unit 112 may determine that the user report C is a newly added user report. .
  • the determining unit 112 determines that the status information of the target user report is deleted.
  • the determining unit 112 determines that the user report C does not exist in the operating environment A, and the user report C exists in the operating environment B, and the determining unit 112 may determine that the user report C is a deleted user report.
  • the determining unit 112 determines that the status information of the target user report is an update.
  • the user report C exists in the user report information base table, it is indicated that, in an initial situation, the user report C exists in each of the at least two operating environments, and at this time, if The user report C exists in the operating environment A, and the user report C is also present in the running environment B.
  • the determining unit 112 may determine that the user report C is not a newly added or deleted user report. If it is determined in the running environment A that the user report C has an update, the determining unit 112 may determine that the user report C is an updated user report.
  • the synchronization unit 113 synchronizes the status of the target user report to the at least two operating environments according to the status information of the target user report.
  • the synchronization unit 113 synchronizes the status of the target user report to the at least two operating environments according to the status information of the target user report, but is not limited to the following three cases:
  • the synchronization unit 113 adds the target user report to the running environment in which the target user report does not exist in the at least two running environments. .
  • the synchronization unit 113 may add the user report C to the running environment B.
  • the synchronization unit 113 deletes the target user report from an operating environment in which the target user report exists in the at least two operating environments.
  • the synchronization unit 113 may delete the user report C from the running environment B.
  • the synchronization unit 113 updates the target user report to each running environment.
  • the synchronization unit 113 may set the user report C in the running environment A.
  • the new status in is updated in the user report C in the runtime environment B.
  • the synchronization of the target user report can be implemented in each running environment.
  • the synchronization of the target user reports is implemented, and the consistency of data in different operating environments is further maintained.
  • the target user report may also be synchronized into the user report information base table, so that the The user report information base table can record the latest status of the user reports existing in each running environment in the current state, so that subsequent comparisons are more accurate.
  • the application can obtain the configured user report information base table, and obtain user report information of each running environment in at least two operating environments; and the user report information of each running environment and the user report information base.
  • the comparison is performed, and the comparison result is obtained.
  • the target user report and the status information of the target user report are determined from the user report information of each running environment; and according to the status information of the target user report, The status of the target user report is synchronized to the at least two operating environments. Therefore, the present application can synchronize reports in different operating environments to maintain data consistency in different operating environments.
  • FIG. 3 is a schematic structural diagram of an electronic device according to a preferred embodiment of the method for implementing report synchronization in the present application.
  • the electronic device 1 is a device capable of automatically performing numerical calculation and/or information processing according to an instruction set or stored in advance, and the hardware includes, but not limited to, a microprocessor, an application specific integrated circuit (ASIC). ), Field-Programmable Gate Array (FPGA), Digital Signal Processor (DSP), embedded devices, etc.
  • ASIC application specific integrated circuit
  • FPGA Field-Programmable Gate Array
  • DSP Digital Signal Processor
  • the electronic device 1 can also be, but is not limited to, any electronic product that can interact with a user through a keyboard, a mouse, a remote controller, a touch panel, or a voice control device, such as a personal computer, a tablet, or a smart phone. , Personal Digital Assistant (PDA), game consoles, Internet Protocol Television (IPTV), smart wearable devices, etc.
  • PDA Personal Digital Assistant
  • IPTV Internet Protocol Television
  • the electronic device 1 can also be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the network in which the electronic device 1 is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), and the like.
  • the Internet includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), and the like.
  • VPN virtual private network
  • the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and computer readable instructions stored in the memory 12 and executable on the processor 13. , such as a report synchronization program.
  • the schematic diagram is merely an example of the electronic device 1, does not constitute a limitation on the electronic device 1, may include more or less components than those illustrated, or combine some components, or different. Components such as the electronic device 1 may also include input and output devices, network access devices, buses, and the like.
  • the processor 13 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 13 is an operation core and a control center of the electronic device 1, and connects the entire electronic device by using various interfaces and lines. Each part of 1 and an operating system of the electronic device 1 and various installed applications, program codes, and the like.
  • the processor 13 executes an operating system of the electronic device 1 and various types of installed applications.
  • the processor 13 executes the application to implement the steps in the foregoing various report synchronization method embodiments, such as steps S10, S11, S12, and S13 shown in FIG.
  • the processor 13 implements the functions of each module/unit in each device embodiment when executing the computer readable instructions, for example, acquiring a configured user report information base table, and acquiring each of at least two operating environments.
  • the user report information of the running environment is compared with the user report information of each running environment, and the comparison result is obtained; according to the comparison result, the target user is determined from the user report information of each running environment. a report, and status information of the target user report; synchronizing the status of the target user report to the at least two operating environments according to the status information of the target user report.
  • the computer readable instructions may be partitioned into one or more modules/units, the one or more modules/units being stored in the memory 12 and executed by the processor 13 to Complete this application.
  • the one or more modules/units may be a series of computer readable instruction segments capable of performing a particular function for describing the execution of the computer readable instructions in the electronic device 1.
  • the computer readable instructions may be divided into an acquisition unit 110, a comparison unit 111, a determination unit 112, a synchronization unit 113, a creation unit 114, and a configuration unit 115.
  • the memory 12 can be used to store the computer readable instructions and/or modules, which are stored or executed in a memory 12 by running or executing computer readable instructions and/or modules stored in the memory 12.
  • the internal data implements various functions of the electronic device 1.
  • the memory 12 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; Stores data created based on the use of the phone (such as audio data, phone book, etc.).
  • the memory 12 may include a high-speed random access memory, and may also include a non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SMC), and a secure digital (SD).
  • a non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SMC), and a secure digital (SD).
  • SSD secure digital
  • flash card at least one disk storage device, flash device, or other volatile solid state storage device.
  • the memory 12 may be an external memory and/or an internal memory of the electronic device 1. Further, the memory 12 may be a circuit having a storage function in a physical form, such as a RAM (Random-Access Memory), a FIFO (First In First Out), or the like. Alternatively, the memory 12 may also be a memory having a physical form such as a memory stick, a TF card, or the like.
  • the modules/units integrated by the electronic device 1 can be stored in a non-volatile readable storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the present application implements all or part of the processes in the foregoing embodiments, and may also be implemented by computer-readable instructions, which may be stored in a non-volatile manner. In reading a storage medium, the computer readable instructions, when executed by a processor, implement the steps of the various method embodiments described above.
  • the computer readable instructions comprise computer readable instruction code, which may be in the form of source code, an object code form, an executable file or some intermediate form or the like.
  • the computer readable medium can include any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a removable hard drive, a magnetic disk, an optical disk, a computer memory, a read only memory (ROM, Read-Only) Memory), random access memory (RAM), electrical carrier signals, telecommunications signals, and software distribution media.
  • the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, non-volatile
  • the readable medium does not include an electrical carrier signal and a telecommunications signal.
  • the memory 12 in the electronic device 1 stores a plurality of instructions to implement a report synchronization method
  • the processor 13 can execute the plurality of instructions to implement: obtaining a configured user report information base table. And obtaining user report information of each running environment in at least two operating environments; comparing user report information of each running environment with the user report information base table to obtain a comparison result; according to the comparison result, from each Determining the target user report and the status information of the target user report in the user report information of the running environment; and synchronizing the status of the target user report to the at least two operating environments according to the status information of the target user report in.
  • the processor 13 further executes a plurality of instructions including:
  • the processor 13 further executes a plurality of instructions including:
  • the base table for configuring the user report information includes:
  • the comparison results include:
  • a user report does not exist in the user report information base table, but exists in one running environment in each running environment, and does not exist in other running environments in each running environment;
  • a user report exists in the user report information base table, but does not exist in one running environment in each running environment, exists in other running environments in each running environment;
  • a user report exists in the user report information base table and exists in each running environment, and the user report has an update record in a running environment in each running environment.
  • the processor 13 further executes a plurality of instructions including:
  • the user report with different status information is determined as the target user report.
  • the processor 13 further executes a plurality of instructions including:
  • the status information of the target user report is an update.
  • the processor 13 further executes a plurality of instructions including:
  • the target user report is updated to each running environment.
  • the processor 13 further executes a plurality of instructions including:
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional module in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software function modules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请提供一种报表同步方法、电子设备及存储介质。所述报表同步方法包括:获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息;将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果;根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表的状态信息;根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。本申请能实现不同运行环境下报表的同步,以维护不同运行环境下数据的一致性。

Description

报表同步方法、电子设备及存储介质
本申请要求于2018年04月10日提交中国专利局,申请号为201810316501.9发明名称为“报表同步方法、电子设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及智能报表技术领域,尤其涉及一种报表同步方法、电子设备及存储介质。
背景技术
通常情况下,采用单活体系架构,用户只要在应用中创建了报表即可以下次继续查看,但是没有与另一系统环境同步的概念。也就是说,现有技术方案中,无法实现不同运行环境下报表的同步,数据的不同步也将给用户的使用带来不便。
发明内容
鉴于以上内容,有必要提供一种报表同步方法、电子设备及存储介质,能实现不同运行环境下报表的同步,以维护不同运行环境下数据的一致性。
一种报表同步方法,所述方法包括:
获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息;
将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果;
根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表的状态信息;
根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。
一种报表同步装置,所述装置包括:
获取单元,用于获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息;
对比单元,用于将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果;
确定单元,用于根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表的状态信息;
同步单元,用于根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。
一种电子设备,所述电子设备包括:
存储器,存储至少一个指令;及
处理器,执行所述存储器中存储的指令以实现所述的报表同步方法。
一种非易失性可读存储介质,所述非易失性可读存储介质中存储的指令被电子设备中的处理器执行以实现所述报表同步方法。
由以上技术方案可以看出,本申请获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息;将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果;根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表的状态信息;根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。利用本申请能实现不同运行环境下报表的同步,以维护不同运行环境下数据的一致性。
附图说明
图1是本申请报表同步方法的较佳实施例的流程图。
图2是本申请报表同步装置的较佳实施例的功能模块图。
图3是本申请实现报表同步方法的较佳实施例的电子设备的结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本申请进行详细描述。
如图1所示,是本申请报表同步方法的较佳实施例的流程图。根据不同的需求,该流程图中步骤的顺序可以改变,某些步骤可以省略。
所述报表同步方法应用于一个或者多个电子设备中,所述电子设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。
所述电子设备可以是任何一种可与用户进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(Internet Protocol Television,IPTV)、智能式穿戴式设备等。
所述电子设备还可以包括网络设备和/或用户设备。其中,所述网络设备 包括,但不限于单个网络服务器、多个网络服务器组成的服务器组或基于云计算(Cloud Computing)的由大量主机或网络服务器构成的云。
所述电子设备所处的网络包括但不限于互联网、广域网、城域网、局域网、虚拟专用网络(Virtual Private Network,VPN)等。
S10,所述电子设备获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息。
优选地,在获取配置的用户报表信息基表前,所述电子设备通过封装的指定SDK(Software Development Kit,软件开发工具包)接口进入至少两个运行环境中的每个运行环境中,并在每个运行环境下创建用户报表。
具体地,所述封装的指定SDK接口可以包括cognos(康格诺)应用接口等。所述cognos是一种BI(Business Intelligence,商业智能)报表系统。通过所述cognos应用接口,可以对每个运行环境中的用户报表进行创建、读取、修改等操作,从而实现对用户报表的自定义。
优选地,在所述电子设备获取配置的用户报表信息基表前,所述电子设备配置用户报表信息基表。
优选地,所述电子设备配置用户报表信息基表包括以下两个步骤:
(1)所述电子设备定时获取每个运行环境的询问指令,并在获取到所述每个运行环境的询问指令后,获取每个运行环境中的用户报表。
在本实施例中,所述每个运行环境的询问指令是获取每个运行环境中的用户报表的触发条件,也就是说,所述电子设备在获取到所述每个运行环境的询问指令后,即可获取每个运行环境中的用户报表。
具体地,由于用户随时可能在每个运行环境中的任意一个环境下进行用户报表的自定义操作,因此每个运行环境中的用户报表是动态变化的。在本技术方案中,为了尽可能的获取到用户报表的最新状态,因此,所述电子设备采用定时获取每个运行环境的询问指令的方式。
具体地,所述电子设备可以配置为每隔预设时间间隔对每个运行环境中的用户报表进行一次访问,其中,所述预设时间间隔可以由用户进行自定义设置,例如:所述预设时间间隔可以是1分钟、2分钟,或者是5分钟等等。
可以理解的是,所述电子设备通过所述用户报表可以获取到所述用户报表的状态信息。其中,所述状态信息包括:所述用户报表的类型、所述用户报表的用户名称、所述用户报表的修改方式及修改时间等。
当然,在其他实施例中,所述电子设备也可以获取所述用户输入的配置用户报表信息基表的指令,从而触发所述用户报表信息基表的配置,本申请在此不作限制。
(2)所述电子设备建立每个运行环境中的用户报表的交集,并将所述交集作为所述用户报表信息基表。
例如:现有运行环境A及运行环境B两个运行环境,经过2分钟的预设时间间隔后,分别访问所述运行环境A中存在的用户报表,及所述运行环境B中存在的用户报表。访问后可知,所述运行环境A中存在30万个用户报表,所述运行环境B中存在30.1万个用户报表。所述电子设备建立所述运行环境A中存在的用户报表及所述运行环境B中存在的用户报表的交集,进而得到所述用户报表信息基表,且所述用户报表信息基表中包含30万个用户报表,而且上述30万个用户报表是所述运行环境A及所述运行环境B中都存在的用户报表。
在本实施例中,所述用户报表信息基表将作为后续比较的基础,用于判断初始情况下,任意一个用户报表是否存在于所述至少两个运行环境中的每个运行环境中。
具体地,在所述电子设备获取至少两个运行环境中每个运行环境的用户报表信息时,为了更加及时的实现用户报表在每个运行环境中的同步,所述电子设备可以设置每隔预设时长获取一次用户报表信息。其中,所述预设时长可以由用户进行自定义设置,本申请在此不作限制。
优选地,所述用户报表信息中存储着每个运行环境中的用户报表,通过每个用户报表能够获取到每个用户报表的状态信息。其中,所述状态信息包括,但不限于:用户报表的类型、用户报表的用户名称、用户报表的修改方式、用户报表的修改时间等。
S11,所述电子设备将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果。
具体地,所述电子设备将每个运行环境的用户报表信息与所述用户报表信息基表进行对比后,可以获取到与所述用户报表信息基表中的记录不同的用户报表。
优选地,所述对比结果包括,但不限于:
(1)一个用户报表在所述用户报表信息基表中不存在,而在每个运行环境中的一个运行环境中存在,在每个运行环境中的其他运行环境中不存在。
(2)一个用户报表在所述用户报表信息基表中存在,而在每个运行环境中的一个运行环境中不存在,在每个运行环境中的其他运行环境中存在。
(3)一个用户报表在所述用户报表信息基表中存在,且在每个运行环境中均存在,而且所述用户报表在每个运行环境中的一个运行环境中有更新记录。
具体地,所述电子设备判断每个用户报表是否存在于所述用户报表信息基表及/或一个运行环境的方式包括,但不限于以下一种或者多种的组合:
(1)所述电子设备获取每个用户报表的名称,判断每个用户报表的名称是否存在于所述用户报表信息基表及/或一个运行环境,当一个用户报表的名 称不存在于所述用户报表信息基表及/或一个运行环境时,所述电子设备确定所述一个用户报表不存在于所述用户报表信息基表及/或一个运行环境;当所述一个用户报表的名称存在于所述用户报表信息基表及/或一个运行环境时,所述电子设备确定所述一个用户报表存在于所述用户报表信息基表及/或一个运行环境。
(2)所述电子设备获取每个用户报表的内容,判断每个用户报表的内容是否存在于所述用户报表信息基表及/或一个运行环境,当所述一个用户报表的内容不存在于所述用户报表信息基表及/或一个运行环境时,所述电子设备确定所述一个用户报表不存在于所述用户报表信息基表及/或一个运行环境;当所述一个用户报表的内容存在于所述用户报表信息基表及/或一个运行环境时,所述电子设备确定所述一个用户报表存在于所述用户报表信息基表及/或一个运行环境。
当然,在其他实施例中,所述电子设备也可以通过其他方式判断每个用户报表是否存在于所述用户报表信息基表及/或一个运行环境,本申请不做限制。
S12,所述电子设备根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表的状态信息。
优选地,所述电子设备根据所述对比结果的上述三种情况,可以得出,所述电子设备根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表包括:
当获取到一个用户报表的当前状态信息与所述用户报表信息基表中记录的状态信息不同时,所述电子设备将具有不同状态信息的用户报表确定为所述目标用户报表。
优选地,所述电子设备根据所述对比结果,确定所述目标用户报表的状态信息。具体方式如下:
(1)当所述目标用户报表在所述用户报表信息基表中不存在,而在每个运行环境中的一个运行环境中存在,在每个运行环境中的其他运行环境中不存在时,所述电子设备确定所述目标用户报表的状态信息为新增。
例如:如果用户报表C在所述用户报表信息基表中不存在,说明在初始情况下,所述用户报表C并非存在于所述至少两个运行环境中的每个运行环境中,此时,如果所述电子设备确定运行环境A中存在所述用户报表C,而运行环境B中不存在所述用户报表C,则所述电子设备可以确定所述用户报表C为新增的用户报表。
(2)当所述目标用户报表在所述用户报表信息基表中存在,而在每个运行环境中的一个运行环境中不存在,在每个运行环境中的其他运行环境中存在时,所述电子设备确定所述目标用户报表的状态信息为删除。
例如:如果用户报表C在所述用户报表信息基表中存在,说明在初始情况下,所述用户报表C存在于所述至少两个运行环境中的每个运行环境中,此时,如果所述电子设备确定运行环境A中不存在所述用户报表C,而运行环境B中存在所述用户报表C,则所述电子设备可以确定所述用户报表C为删除的用户报表。
(3)当所述目标用户报表在所述用户报表信息基表中存在,且在每个运行环境中均存在,而且所述目标用户报表在每个运行环境中的一个运行环境中有更新记录时,所述电子设备确定所述目标用户报表的状态信息为更新。
例如:如果用户报表C在所述用户报表信息基表中存在,说明在初始情况下,所述用户报表C存在于所述至少两个运行环境中的每个运行环境中,此时,如果确定运行环境A中存在所述用户报表C,而运行环境B中也存在所述用户报表C,则所述电子设备可以确定所述用户报表C并非新增或者删除的用户报表。如果同时确定在所述运行环境A中,所述用户报表C有更新,则所述电子设备可以确定所述用户报表C为更新的用户报表。
S13,所述电子设备根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。
优选地,所述电子设备根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中包括,但不限于以下三种情况:
(1)当所述目标用户报表的状态信息为新增时,所述电子设备将所述目标用户报表新增到所述至少两个运行环境中不存在所述目标用户报表的运行环境中。
例如:如果运行环境A中存在所述用户报表C,而运行环境B中不存在所述用户报表C,则所述电子设备可以新增所述用户报表C至所述运行环境B中。
(2)当所述目标用户报表的状态信息为删除时,所述电子设备将所述目标用户报表从所述至少两个运行环境中存在所述目标用户报表的运行环境中删除。
例如:如果运行环境A中不存在所述用户报表C,而运行环境B中存在所述用户报表C,则所述电子设备可以将所述用户报表C从所述运行环境B中删除。
(3)当所述目标用户报表的状态信息为更新时,所述电子设备将所述目标用户报表更新至每个运行环境中。
例如:如果运行环境A中的所述用户报表C存在更新状态,而运行环境B中的所述用户报表C未更新,则所述电子设备可以将所述用户报表C在所述运行环境A中的新状态更新于所述运行环境B中的所述用户报表C。
通过上述方式,即可在每个运行环境中实现所述目标用户报表的同步,同时,由于实现了所述目标用户报表的同步,也进一步维护了不同运行环境下数据的一致性。
优选地,在所述电子设备将所述目标用户报表同步至所述至少两个运行环境中时,还可以将所述目标用户报表同步至所述用户报表信息基表中,以使所述用户报表信息基表可以记录当前状态下,每个运行环境中所存在的用户报表的最新状态,以使后续的比较更加准确。
综上所述,本申请能获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息;将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果;根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表的状态信息;根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。因此,本申请能实现不同运行环境下报表的同步,以维护不同运行环境下数据的一致性。
如图2所示,是本申请报表同步装置的较佳实施例的功能模块图。所述报表同步装置11包括获取单元110、对比单元111、确定单元112、同步单元113、创建单元114、配置单元115。本申请所称的模块/单元是指一种能够被处理器13所执行,并且能够完成固定功能的一系列计算机可读指令段,其存储在存储器12中。在本实施例中,关于各模块/单元的功能将在后续的实施例中详述。
获取单元110获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息。
优选地,在所述获取单元110获取配置的用户报表信息基表前,创建单元114通过封装的指定SDK接口进入至少两个运行环境中的每个运行环境中,并在每个运行环境下创建用户报表。
具体地,所述封装的指定SDK接口可以包括cognos应用接口等。所述cognos是一种BI报表系统。通过所述cognos应用接口,可以对每个运行环境中的用户报表进行创建、读取、修改等操作,从而实现对用户报表的自定义。
优选地,在所述获取单元110获取配置的用户报表信息基表前,配置单元115配置用户报表信息基表。
优选地,所述配置单元115配置用户报表信息基表包括以下两个步骤:
(1)所述配置单元115定时获取每个运行环境的询问指令,并在获取到所述每个运行环境的询问指令后,获取每个运行环境中的用户报表。
在本实施例中,所述每个运行环境的询问指令是获取每个运行环境中的用户报表的触发条件,也就是说,所述配置单元115在获取到所述每个运行 环境的询问指令后,即可获取每个运行环境中的用户报表。
具体地,由于用户随时可能在每个运行环境中的任意一个环境下进行用户报表的自定义操作,因此每个运行环境中的用户报表是动态变化的。在本技术方案中,为了尽可能的获取到用户报表的最新状态,因此,所述配置单元115采用定时获取每个运行环境的询问指令的方式。
具体地,所述配置单元115可以配置为每隔预设时间间隔对每个运行环境中的用户报表进行一次访问,其中,所述预设时间间隔可以由用户进行自定义设置,例如:所述预设时间间隔可以是1分钟、2分钟,或者是5分钟等等。
可以理解的是,所述电子设备通过所述用户报表可以获取到所述用户报表的状态信息。其中,所述状态信息包括:所述用户报表的类型、所述用户报表的用户名称、所述用户报表的修改方式及修改时间等。
当然,在其他实施例中,所述配置单元115也可以获取所述用户输入的配置用户报表信息基表的指令,从而触发所述用户报表信息基表的配置,本申请在此不作限制。
(2)所述配置单元115建立每个运行环境中的用户报表的交集,并将所述交集作为所述用户报表信息基表。
例如:现有运行环境A及运行环境B两个运行环境,经过2分钟的预设时间间隔后,分别访问所述运行环境A中存在的用户报表,及所述运行环境B中存在的用户报表。访问后可知,所述运行环境A中存在30万个用户报表,所述运行环境B中存在30.1万个用户报表。所述配置单元115建立所述运行环境A中存在的用户报表及所述运行环境B中存在的用户报表的交集,进而得到所述用户报表信息基表,且所述用户报表信息基表中包含30万个用户报表,而且上述30万个用户报表是所述运行环境A及所述运行环境B中都存在的用户报表。
在本实施例中,所述用户报表信息基表将作为后续比较的基础,用于判断初始情况下,任意一个用户报表是否存在于所述至少两个运行环境中的每个运行环境中。
具体地,在所述获取单元110获取至少两个运行环境中每个运行环境的用户报表信息时,为了更加及时的实现用户报表在每个运行环境中的同步,所述获取单元110可以设置每隔预设时长获取一次用户报表信息。其中,所述预设时长可以由用户进行自定义设置,本申请在此不作限制。
优选地,所述用户报表信息中存储着每个运行环境中的用户报表,通过每个用户报表能够获取到每个用户报表的状态信息。其中,所述状态信息包括,但不限于:用户报表的类型、用户报表的用户名称、用户报表的修改方式、用户报表的修改时间等。
对比单元111将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果。
具体地,所述对比单元111将每个运行环境的用户报表信息与所述用户报表信息基表进行对比后,可以获取到与所述用户报表信息基表中的记录不同的用户报表。
优选地,所述对比结果包括,但不限于:
(1)一个用户报表在所述用户报表信息基表中不存在,而在每个运行环境中的一个运行环境中存在,在每个运行环境中的其他运行环境中不存在。
(2)一个用户报表在所述用户报表信息基表中存在,而在每个运行环境中的一个运行环境中不存在,在每个运行环境中的其他运行环境中存在。
(3)一个用户报表在所述用户报表信息基表中存在,且在每个运行环境中均存在,而且所述用户报表在每个运行环境中的一个运行环境中有更新记录。
具体地,所述对比单元111判断每个用户报表是否存在于所述用户报表信息基表及/或一个运行环境的方式包括,但不限于以下一种或者多种的组合:
(1)所述对比单元111获取每个用户报表的名称,判断每个用户报表的名称是否存在于所述用户报表信息基表及/或一个运行环境,当一个用户报表的名称不存在于所述用户报表信息基表及/或一个运行环境时,所述对比单元111确定所述一个用户报表不存在于所述用户报表信息基表及/或一个运行环境;当所述一个用户报表的名称存在于所述用户报表信息基表及/或一个运行环境时,所述对比单元111确定所述一个用户报表存在于所述用户报表信息基表及/或一个运行环境。
(2)所述对比单元111获取每个用户报表的内容,判断每个用户报表的内容是否存在于所述用户报表信息基表及/或一个运行环境,当所述一个用户报表的内容不存在于所述用户报表信息基表及/或一个运行环境时,所述对比单元111确定所述一个用户报表不存在于所述用户报表信息基表及/或一个运行环境;当所述一个用户报表的内容存在于所述用户报表信息基表及/或一个运行环境时,所述对比单元111确定所述一个用户报表存在于所述用户报表信息基表及/或一个运行环境。
当然,在其他实施例中,所述对比单元111也可以通过其他方式判断每个用户报表是否存在于所述用户报表信息基表及/或一个运行环境,本申请不做限制。
确定单元112根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表的状态信息。
优选地,所述确定单元112根据所述对比结果的上述三种情况,可以得出,所述确定单元112根据所述对比结果,从每个运行环境的用户报表信息 中确定目标用户报表包括:
当获取到一个用户报表的当前状态信息与所述用户报表信息基表中记录的状态信息不同时,所述确定单元112将具有不同状态信息的用户报表确定为所述目标用户报表。
优选地,所述确定单元112根据所述对比结果,确定所述目标用户报表的状态信息。具体方式如下:
(1)当所述目标用户报表在所述用户报表信息基表中不存在,而在每个运行环境中的一个运行环境中存在,在每个运行环境中的其他运行环境中不存在时,所述确定单元112确定所述目标用户报表的状态信息为新增。
例如:如果用户报表C在所述用户报表信息基表中不存在,说明在初始情况下,所述用户报表C并非存在于所述至少两个运行环境中的每个运行环境中,此时,如果所述确定单元112确定运行环境A中存在所述用户报表C,而运行环境B中不存在所述用户报表C,则所述确定单元112可以确定所述用户报表C为新增的用户报表。
(2)当所述目标用户报表在所述用户报表信息基表中存在,而在每个运行环境中的一个运行环境中不存在,在每个运行环境中的其他运行环境中存在时,所述确定单元112确定所述目标用户报表的状态信息为删除。
例如:如果用户报表C在所述用户报表信息基表中存在,说明在初始情况下,所述用户报表C存在于所述至少两个运行环境中的每个运行环境中,此时,如果所述确定单元112确定运行环境A中不存在所述用户报表C,而运行环境B中存在所述用户报表C,则所述确定单元112可以确定所述用户报表C为删除的用户报表。
(3)当所述目标用户报表在所述用户报表信息基表中存在,且在每个运行环境中均存在,而且所述目标用户报表在每个运行环境中的一个运行环境中有更新记录时,所述确定单元112确定所述目标用户报表的状态信息为更新。
例如:如果用户报表C在所述用户报表信息基表中存在,说明在初始情况下,所述用户报表C存在于所述至少两个运行环境中的每个运行环境中,此时,如果确定运行环境A中存在所述用户报表C,而运行环境B中也存在所述用户报表C,则所述确定单元112可以确定所述用户报表C并非新增或者删除的用户报表。如果同时确定在所述运行环境A中,所述用户报表C有更新,则所述确定单元112可以确定所述用户报表C为更新的用户报表。
同步单元113根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。
优选地,所述同步单元113根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中包括,但不限于以下三 种情况:
(1)当所述目标用户报表的状态信息为新增时,所述同步单元113将所述目标用户报表新增到所述至少两个运行环境中不存在所述目标用户报表的运行环境中。
例如:如果运行环境A中存在所述用户报表C,而运行环境B中不存在所述用户报表C,则所述同步单元113可以新增所述用户报表C至所述运行环境B中。
(2)当所述目标用户报表的状态信息为删除时,所述同步单元113将所述目标用户报表从所述至少两个运行环境中存在所述目标用户报表的运行环境中删除。
例如:如果运行环境A中不存在所述用户报表C,而运行环境B中存在所述用户报表C,则所述同步单元113可以将所述用户报表C从所述运行环境B中删除。
(3)当所述目标用户报表的状态信息为更新时,所述同步单元113将所述目标用户报表更新至每个运行环境中。
例如:如果运行环境A中的所述用户报表C存在更新状态,而运行环境B中的所述用户报表C未更新,则所述同步单元113可以将所述用户报表C在所述运行环境A中的新状态更新于所述运行环境B中的所述用户报表C。
通过上述方式,即可在每个运行环境中实现所述目标用户报表的同步,同时,由于实现了所述目标用户报表的同步,也进一步维护了不同运行环境下数据的一致性。
优选地,在所述同步单元113将所述目标用户报表同步至所述至少两个运行环境中时,还可以将所述目标用户报表同步至所述用户报表信息基表中,以使所述用户报表信息基表可以记录当前状态下,每个运行环境中所存在的用户报表的最新状态,以使后续的比较更加准确。
综上所述,本申请能获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息;将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果;根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表的状态信息;根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。因此,本申请能实现不同运行环境下报表的同步,以维护不同运行环境下数据的一致性。
如图3所示,是本申请实现报表同步方法的较佳实施例的电子设备的结构示意图。
所述电子设备1是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路 (Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。
所述电子设备1还可以是但不限于任何一种可与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(Internet Protocol Television,IPTV)、智能式穿戴式设备等。
所述电子设备1还可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。
所述电子设备1所处的网络包括但不限于互联网、广域网、城域网、局域网、虚拟专用网络(Virtual Private Network,VPN)等。
在本申请的一个实施例中,所述电子设备1包括,但不限于,存储器12、处理器13,以及存储在所述存储器12中并可在所述处理器13上运行的计算机可读指令,例如报表同步程序。
本领域技术人员可以理解,所述示意图仅仅是电子设备1的示例,并不构成对电子设备1的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述电子设备1还可以包括输入输出设备、网络接入设备、总线等。
所称处理器13可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器13是所述电子设备1的运算核心和控制中心,利用各种接口和线路连接整个电子设备1的各个部分,及执行所述电子设备1的操作系统以及安装的各类应用程序、程序代码等。
所述处理器13执行所述电子设备1的操作系统以及安装的各类应用程序。所述处理器13执行所述应用程序以实现上述各个报表同步方法实施例中的步骤,例如图1所示的步骤S10、S11、S12、S13。
或者,所述处理器13执行所述计算机可读指令时实现上述各装置实施例中各模块/单元的功能,例如:获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息;将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果;根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表 的状态信息;根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。
示例性的,所述计算机可读指令可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器12中,并由所述处理器13执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述计算机可读指令在所述电子设备1中的执行过程。例如,所述计算机可读指令可以被分割成获取单元110、对比单元111、确定单元112、同步单元113、创建单元114、配置单元115。
所述存储器12可用于存储所述计算机可读指令和/或模块,所述处理器13通过运行或执行存储在所述存储器12内的计算机可读指令和/或模块,以及调用存储在存储器12内的数据,实现所述电子设备1的各种功能。所述存储器12可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器12可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
所述存储器12可以是电子设备1的外部存储器和/或内部存储器。进一步地,所述存储器12可以是集成电路中没有实物形式的具有存储功能的电路,如RAM(Random-Access Memory,随机存取存储器)、FIFO(First In First Out,)等。或者,所述存储器12也可以是具有实物形式的存储器,如内存条、TF卡(Trans-flash Card)等等。
所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个非易失性可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。
其中,所述计算机可读指令包括计算机可读指令代码,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求 进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,非易失性可读介质不包括电载波信号和电信信号。
结合图1,所述电子设备1中的所述存储器12存储多个指令以实现一种报表同步方法,所述处理器13可执行所述多个指令从而实现:获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息;将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果;根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表的状态信息;根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。
根据本申请优选实施例,所述处理器13还执行多个指令包括:
通过封装的指定SDK接口进入至少两个运行环境中的每个运行环境中,并在每个运行环境下创建用户报表。
根据本申请优选实施例,所述处理器13还执行多个指令包括:
配置用户报表信息基表;
其中,所述配置用户报表信息基表包括:
定时获取每个运行环境的询问指令;
在获取到所述每个运行环境的询问指令后,获取每个运行环境中的用户报表;
建立每个运行环境中的用户报表的交集,并将所述交集作为所述用户报表信息基表。
根据本申请优选实施例,所述对比结果包括:
一个用户报表在所述用户报表信息基表中不存在,而在每个运行环境中的一个运行环境中存在,在每个运行环境中的其他运行环境中不存在;或者
一个用户报表在所述用户报表信息基表中存在,而在每个运行环境中的一个运行环境中不存在,在每个运行环境中的其他运行环境中存在;或者
一个用户报表在所述用户报表信息基表中存在,且在每个运行环境中均存在,而且所述用户报表在每个运行环境中的一个运行环境中有更新记录。
根据本申请优选实施例,所述处理器13还执行多个指令包括:
当获取到一个用户报表的当前状态信息与所述用户报表信息基表中记录的状态信息不同时,将具有不同状态信息的用户报表确定为所述目标用户报表。
根据本申请优选实施例,所述处理器13还执行多个指令包括:
当所述目标用户报表在所述用户报表信息基表中不存在,而在每个运行环境中的一个运行环境中存在,在每个运行环境中的其他运行环境中不存在时,确定所述目标用户报表的状态信息为新增;或者
当所述目标用户报表在所述用户报表信息基表中存在,而在每个运行环 境中的一个运行环境中不存在,在每个运行环境中的其他运行环境中存在时,确定所述目标用户报表的状态信息为删除;或者
当所述目标用户报表在所述用户报表信息基表中存在,且在每个运行环境中均存在,而且所述目标用户报表在每个运行环境中的一个运行环境中有更新记录时,确定所述目标用户报表的状态信息为更新。
根据本申请优选实施例,所述处理器13还执行多个指令包括:
当所述目标用户报表的状态信息为新增时,将所述目标用户报表新增到所述至少两个运行环境中不存在所述目标用户报表的运行环境中;或者
当所述目标用户报表的状态信息为删除时,将所述目标用户报表从所述至少两个运行环境中存在所述目标用户报表的运行环境中删除;或者
当所述目标用户报表的状态信息为更新时,将所述目标用户报表更新至每个运行环境中。
根据本申请优选实施例,所述处理器13还执行多个指令包括:
将所述目标用户报表同步至所述用户报表信息基表中。
具体地,所述处理器13对上述指令的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。
因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。
此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。

Claims (20)

  1. 一种报表同步方法,其特征在于,所述方法包括:
    获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息;
    将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果;
    根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表的状态信息;
    根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。
  2. 如权利要求1所述的报表同步方法,其特征在于,在获取配置的用户报表信息基表前,所述方法还包括:
    通过封装的指定SDK接口进入至少两个运行环境中的每个运行环境中,并在每个运行环境下创建用户报表。
  3. 如权利要求1所述的报表同步方法,其特征在于,在获取配置的用户报表信息基表前,所述方法还包括:
    配置用户报表信息基表;
    其中,所述配置用户报表信息基表包括:
    定时获取每个运行环境的询问指令;
    在获取到所述每个运行环境的询问指令后,获取每个运行环境中的用户报表;
    建立每个运行环境中的用户报表的交集,并将所述交集作为所述用户报表信息基表。
  4. 如权利要求1所述的报表同步方法,其特征在于,所述对比结果包括:
    一个用户报表在所述用户报表信息基表中不存在,而在每个运行环境中的一个运行环境中存在,在每个运行环境中的其他运行环境中不存在;或者
    一个用户报表在所述用户报表信息基表中存在,而在每个运行环境中的一个运行环境中不存在,在每个运行环境中的其他运行环境中存在;或者
    一个用户报表在所述用户报表信息基表中存在,且在每个运行环境中均存在,而且所述用户报表在每个运行环境中的一个运行环境中有更新记录。
  5. 如权利要求4所述的报表同步方法,其特征在于,所述根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表包括:
    当获取到一个用户报表的当前状态信息与所述用户报表信息基表中记录的状态信息不同时,将具有不同状态信息的用户报表确定为所述目标用户报表。
  6. 如权利要求5所述的报表同步方法,其特征在于,所述根据所述对比结果,确定所述目标用户报表的状态信息包括:
    当所述目标用户报表在所述用户报表信息基表中不存在,而在每个运行环境中的一个运行环境中存在,在每个运行环境中的其他运行环境中不存在时,确定所述目标用户报表的状态信息为新增;或者
    当所述目标用户报表在所述用户报表信息基表中存在,而在每个运行环境中的一个运行环境中不存在,在每个运行环境中的其他运行环境中存在时,确定所述目标用户报表的状态信息为删除;或者
    当所述目标用户报表在所述用户报表信息基表中存在,且在每个运行环境中均存在,而且所述目标用户报表在每个运行环境中的一个运行环境中有更新记录时,确定所述目标用户报表的状态信息为更新。
  7. 如权利要求6所述的报表同步方法,其特征在于,所述根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中包括:
    当所述目标用户报表的状态信息为新增时,将所述目标用户报表新增到所述至少两个运行环境中不存在所述目标用户报表的运行环境中;或者
    当所述目标用户报表的状态信息为删除时,将所述目标用户报表从所述至少两个运行环境中存在所述目标用户报表的运行环境中删除;或者
    当所述目标用户报表的状态信息为更新时,将所述目标用户报表更新至每个运行环境中。
  8. 如权利要求7所述的报表同步方法,其特征在于,在将所述目标用户报表同步至所述至少两个运行环境中时,所述方法还包括:
    将所述目标用户报表同步至所述用户报表信息基表中。
  9. 一种电子设备,其特征在于,所述电子设备包括存储器及处理器,所述存储器用于存储至少一个计算机可读指令,所述处理器用于执行所述至少一个计算机可读指令以实现以下步骤:
    获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息;
    将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果;
    根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表的状态信息;
    根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。
  10. 如权利要求9所述的电子设备,其特征在于,在所述获取配置的用户报表信息基表前,所述处理器还用于执行所述至少一个计算机可读指令,以实现以下步骤:
    通过封装的指定SDK接口进入至少两个运行环境中的每个运行环境中,并在每个运行环境下创建用户报表。
  11. 如权利要求9所述的电子设备,其特征在于,在所述获取配置的用户报表信息基表前,所述处理器还用于执行所述至少一个计算机可读指令,以实现以下步骤:
    配置用户报表信息基表;
    其中,所述配置用户报表信息基表包括:
    定时获取每个运行环境的询问指令;
    在获取到所述每个运行环境的询问指令后,获取每个运行环境中的用户报表;
    建立每个运行环境中的用户报表的交集,并将所述交集作为所述用户报表信息基表。
  12. 如权利要求9所述的电子设备,其特征在于,所述对比结果包括:
    一个用户报表在所述用户报表信息基表中不存在,而在每个运行环境中的一个运行环境中存在,在每个运行环境中的其他运行环境中不存在;或者
    一个用户报表在所述用户报表信息基表中存在,而在每个运行环境中的一个运行环境中不存在,在每个运行环境中的其他运行环境中存在;或者
    一个用户报表在所述用户报表信息基表中存在,且在每个运行环境中均存在,而且所述用户报表在每个运行环境中的一个运行环境中有更新记录。
  13. 如权利要求12所述的电子设备,其特征在于,所述根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表包括:
    当获取到一个用户报表的当前状态信息与所述用户报表信息基表中记录的状态信息不同时,将具有不同状态信息的用户报表确定为所述目标用户报表。
  14. 如权利要求13所述的电子设备,其特征在于,所述根据所述对比结果,确定所述目标用户报表的状态信息包括:
    当所述目标用户报表在所述用户报表信息基表中不存在,而在每个运行环境中的一个运行环境中存在,在每个运行环境中的其他运行环境中不存在时,确定所述目标用户报表的状态信息为新增;或者
    当所述目标用户报表在所述用户报表信息基表中存在,而在每个运行环 境中的一个运行环境中不存在,在每个运行环境中的其他运行环境中存在时,确定所述目标用户报表的状态信息为删除;或者
    当所述目标用户报表在所述用户报表信息基表中存在,且在每个运行环境中均存在,而且所述目标用户报表在每个运行环境中的一个运行环境中有更新记录时,确定所述目标用户报表的状态信息为更新。
  15. 如权利要求14所述的电子设备,其特征在于,所述根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中包括:
    当所述目标用户报表的状态信息为新增时,将所述目标用户报表新增到所述至少两个运行环境中不存在所述目标用户报表的运行环境中;或者
    当所述目标用户报表的状态信息为删除时,将所述目标用户报表从所述至少两个运行环境中存在所述目标用户报表的运行环境中删除;或者
    当所述目标用户报表的状态信息为更新时,将所述目标用户报表更新至每个运行环境中。
  16. 如权利要求15所述的电子设备,其特征在于,在将所述目标用户报表同步至所述至少两个运行环境中时,所述处理器还用于执行所述至少一个计算机可读指令,以实现以下步骤:
    将所述目标用户报表同步至所述用户报表信息基表中。
  17. 一种非易失性可读存储介质,其特征在于,所述非易失性可读存储介质中存储有至少一个指令,所述至少一个指令被处理器执行以实现如下步骤:
    获取配置的用户报表信息基表,及获取至少两个运行环境中每个运行环境的用户报表信息;
    将每个运行环境的用户报表信息与所述用户报表信息基表进行对比,得到对比结果;
    根据所述对比结果,从每个运行环境的用户报表信息中确定目标用户报表,及所述目标用户报表的状态信息;
    根据所述目标用户报表的状态信息,将所述目标用户报表的状态同步至所述至少两个运行环境中。
  18. 如权利要求17所述的存储介质,其特征在于,在所述获取配置的用户报表信息基表前,所述至少一个计算机可读指令被处理器执行时,还实现以下步骤:
    通过封装的指定SDK接口进入至少两个运行环境中的每个运行环境中,并在每个运行环境下创建用户报表。
  19. 如权利要求17所述的存储介质,其特征在于,在所述获取配置的用 户报表信息基表前,所述至少一个计算机可读指令被处理器执行时,还实现以下步骤:
    配置用户报表信息基表;
    其中,所述配置用户报表信息基表包括:
    定时获取每个运行环境的询问指令;
    在获取到所述每个运行环境的询问指令后,获取每个运行环境中的用户报表;
    建立每个运行环境中的用户报表的交集,并将所述交集作为所述用户报表信息基表。
  20. 如权利要求17所述的存储介质,其特征在于,在将所述目标用户报表同步至所述至少两个运行环境中时,所述至少一个计算机可读指令被处理器执行时,还实现以下步骤:
    将所述目标用户报表同步至所述用户报表信息基表中。
PCT/CN2018/099286 2018-04-10 2018-08-08 报表同步方法、电子设备及存储介质 WO2019196276A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810316501.9 2018-04-10
CN201810316501.9A CN108573042B (zh) 2018-04-10 2018-04-10 报表同步方法、电子设备及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2019196276A1 true WO2019196276A1 (zh) 2019-10-17

Family

ID=63574604

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/099286 WO2019196276A1 (zh) 2018-04-10 2018-08-08 报表同步方法、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN108573042B (zh)
WO (1) WO2019196276A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108573042B (zh) * 2018-04-10 2022-06-10 平安科技(深圳)有限公司 报表同步方法、电子设备及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8266101B1 (en) * 2009-07-16 2012-09-11 Binpeng Shuai Share nothing database cluster and real time synchronization by signaling
CN102801543A (zh) * 2011-05-24 2012-11-28 中国银联股份有限公司 一种双活系统间动态数据同步的方法
CN204719753U (zh) * 2015-06-23 2015-10-21 国网重庆市电力公司客户服务中心 报表采集监测系统
CN107707393A (zh) * 2017-09-26 2018-02-16 赛尔网络有限公司 基于Openstack O版特性的多活系统

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6694336B1 (en) * 2000-01-25 2004-02-17 Fusionone, Inc. Data transfer and synchronization system
US6711565B1 (en) * 2001-06-18 2004-03-23 Siebel Systems, Inc. Method, apparatus, and system for previewing search results
US7054891B2 (en) * 2002-03-18 2006-05-30 Bmc Software, Inc. System and method for comparing database data
US7472254B2 (en) * 2003-10-10 2008-12-30 Iora, Ltd. Systems and methods for modifying a set of data objects
JP2006053649A (ja) * 2004-08-10 2006-02-23 Nippon Telegr & Teleph Corp <Ntt> 入力装置、共同利用コンピュータシステム、入力プログラム、および記録媒体
WO2008106783A1 (en) * 2007-03-07 2008-09-12 Spoton Systems Inc. A generic, customizable navigation, layout and reporting system for mobile forms data capture
CA2609083C (en) * 2007-10-31 2016-05-31 Caseware International Inc. Hierarchical file synchronization method, software and devices
CN101308513A (zh) * 2008-06-27 2008-11-19 福建星网锐捷网络有限公司 分布式系统中缓存数据的同步配置方法与装置
CN102457549A (zh) * 2010-10-28 2012-05-16 盛乐信息技术(上海)有限公司 多个网络存储装置的数据同步系统及方法
JPWO2012108015A1 (ja) * 2011-02-09 2014-07-03 富士通株式会社 データ同期方法、データ同期プログラム、及びデータ同期制御装置
CN102289460B (zh) * 2011-07-13 2013-03-27 中国工商银行股份有限公司 一种向测试环境进行报表元数据同步的方法及系统
US9613190B2 (en) * 2014-04-23 2017-04-04 Intralinks, Inc. Systems and methods of secure data exchange
CN104615759A (zh) * 2015-02-13 2015-05-13 厦门雅迅网络股份有限公司 一种不同业务系统平台间的数据同步方法
CN107025242A (zh) * 2016-02-02 2017-08-08 南京中兴新软件有限责任公司 数据库间数据的复制方法及装置
GB2550928B (en) * 2016-05-31 2019-08-28 Ig Knowhow Ltd Methods for synchronisation of independent data handling systems
CN106156278B (zh) * 2016-06-24 2020-07-17 安徽三禾一信息科技有限公司 一种数据库数据读写方法和装置
JP6737039B2 (ja) * 2016-07-22 2020-08-05 沖電気工業株式会社 データベースシステム、データ処理プログラム、及びデータ処理方法
CN107562882A (zh) * 2017-09-04 2018-01-09 郑州云海信息技术有限公司 一种基于日志分析的数据同步方法及装置
CN107689998B (zh) * 2017-09-14 2020-02-14 平安科技(深圳)有限公司 一种增量数据同步方法、终端设备及计算机可读存储介质
CN108573042B (zh) * 2018-04-10 2022-06-10 平安科技(深圳)有限公司 报表同步方法、电子设备及计算机可读存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8266101B1 (en) * 2009-07-16 2012-09-11 Binpeng Shuai Share nothing database cluster and real time synchronization by signaling
CN102801543A (zh) * 2011-05-24 2012-11-28 中国银联股份有限公司 一种双活系统间动态数据同步的方法
CN204719753U (zh) * 2015-06-23 2015-10-21 国网重庆市电力公司客户服务中心 报表采集监测系统
CN107707393A (zh) * 2017-09-26 2018-02-16 赛尔网络有限公司 基于Openstack O版特性的多活系统

Also Published As

Publication number Publication date
CN108573042A (zh) 2018-09-25
CN108573042B (zh) 2022-06-10

Similar Documents

Publication Publication Date Title
US11847438B2 (en) Offline capabilities for live applications in a cloud collaboration platform
US10255108B2 (en) Parallel execution of blockchain transactions
US20190317666A1 (en) Transactional operations in multi-master distributed data management systems
US20160164722A1 (en) Zero-downtime, reversible, client-driven service migration
US11188560B2 (en) Synchronizing object in local object storage node
AU2020408143B2 (en) Watermark-based techniques for change-data-capture
US9754015B2 (en) Feature rich view of an entity subgraph
AU2015316450A1 (en) Method for updating data table of KeyValue database and apparatus for updating table data
WO2023160608A1 (zh) 机器人的控制方法、装置、存储介质及机器人集群
CN114422462A (zh) 消息显示方法、消息显示装置、电子设备和存储介质
JP2023057543A (ja) アプリケーションマイクロサービスのための異種グラフ作成のための方法、装置、コンピュータプログラム製品(アプリケーションマイクロサービスのための異種グラフ作成)
WO2019196276A1 (zh) 报表同步方法、电子设备及存储介质
US10127270B1 (en) Transaction processing using a key-value store
CN113312052A (zh) 一种组件调用方法、装置、电子设备以及存储介质
US20180225333A1 (en) Data write/import performance in a database through distributed memory
US10169343B2 (en) Deferring the cost of virtual storage
CN108351888B (zh) 生成可推迟数据流
WO2019196272A1 (zh) 数据立方体发布方法、装置、电子设备和存储介质
WO2019242152A1 (zh) 费率确定方法、电子设备及非易失性可读存储介质
US11822570B2 (en) Database synchronization employing parallel poll threads
US20180074867A1 (en) Provide copy of notebook document
WO2015184830A1 (zh) 一种设备中管理文件的方法和装置
US20200396285A1 (en) Cell phone synchronization server
JP2022097397A (ja) 質問回答システムの更新処理方法及び装置
CN117753013A (zh) 用于技能编辑的方法、装置、设备和存储介质

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01/02/2021)

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

Ref document number: 18914278

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18914278

Country of ref document: EP

Kind code of ref document: A1