CN110825756A - Data synchronization method, device, storage medium and equipment - Google Patents
Data synchronization method, device, storage medium and equipment Download PDFInfo
- Publication number
- CN110825756A CN110825756A CN201911052671.1A CN201911052671A CN110825756A CN 110825756 A CN110825756 A CN 110825756A CN 201911052671 A CN201911052671 A CN 201911052671A CN 110825756 A CN110825756 A CN 110825756A
- Authority
- CN
- China
- Prior art keywords
- information
- data
- browser plug
- standard
- target application
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2365—Ensuring data consistency and integrity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present application relates to the field of data processing technologies, and in particular, to a data synchronization method, apparatus, storage medium, and device, where the data synchronization method includes: acquiring page data and account information of a target application system through a browser plug-in the target application system; performing data expansion on the page data according to the account information to generate document information; and sending the bill information to a third-party system establishing a data transmission channel with the browser plug-in. By the scheme, the coupling degree and the redundancy of the service interface can be reduced, and the data of the target application system can be conveniently synchronized to the third-party system.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data synchronization method, apparatus, storage medium, and device.
Background
With the development of intellectualization, more and more industries adopt electronic processing methods, such as purchasing industry, recruitment industry and the like, taking the purchasing industry as an example, a supplier and a demander participate in the purchasing process, and the demander directly docks the supplier to exchange materials under the condition of small purchasing quantity, but when the purchasing quantity is large, the demander may have a plurality of suppliers, and if the method that the demander directly docks the supplier is adopted, the docking process is complicated, and the accurate statistics of material data is not facilitated, so that a third-party service system is produced.
The third-party service system is simultaneously connected with a demand party and a supply party, the third-party service system receives the demand information of the demand party, the supply party logs in the third-party service system by adopting the supply party system to fill in the supply information and transmit data, but the scheme needs the third-party service system to provide a plurality of service interfaces for each supply party, such as a login interface, a data transmission interface and the like, and different supply parties may have interfaces with different standards, so that the complexity of the interfaces between the supply party system and the third-party system is high, and the coupling degree of the interfaces is high.
Disclosure of Invention
The application provides a data synchronization method, a data synchronization device, a computer readable storage medium and a computer device, which are used for reducing the interface complexity and the coupling degree between two systems for data transmission.
The embodiment of the present application first provides a data synchronization method, including:
acquiring page data and account information of a target application system through a browser plug-in the target application system;
performing data expansion on the page data according to the account information to generate document information;
and sending the bill information to a third-party system establishing a data transmission channel with the browser plug-in.
In one embodiment, the step of generating document information by performing data expansion on the page data according to the account information includes:
calling a standard information base in a third-party system through the browser plug-in;
and performing data expansion on the page data by using the standard information base and the account information to generate document information.
In one embodiment, the step of performing data expansion on the page data by using a standard information base and account information includes:
analyzing the page data to obtain project information in the page data;
matching the project information with standard project information stored in a standard information base;
calling attribute information of standard project information matched with the project information, and associating the attribute information with corresponding project information in page data;
and expanding the item information associated with the attribute information by combining the account information to generate document information.
In one embodiment, the step of matching the item information with standard item information stored in a standard information base according to the item information includes:
traversing the standard information base by using the item identifier in the item information;
if the item identifier of any item information is matched with a standard item identifier, detecting related information in any item information in the attribute information associated with the standard item identifier;
and if the attribute information contains information consistent with the related information, matching any item information with standard item information.
In one embodiment, after the step of performing data expansion on the page data according to the account information to generate document information, the method further includes:
displaying a confirmation window of the bill information on a current interface of a browser plug-in;
receiving instruction information representing that the bill information is wrong, receiving a correction instruction and correction information of the bill information, forming updated bill information based on the correction information, and executing the previous step;
and receiving a confirmation instruction that the bill information is correct.
In one embodiment, before the step of sending the document information to a third-party system that establishes a data transmission channel with the browser plug-in, the method further includes:
detecting that document information to be sent which is not synchronized in a third-party system exists in a browser plug-in;
updating the bill information to be sent by using the currently acquired page data to form updated bill information so as to carry out data sending based on the updated bill information subsequently;
the third-party system for sending the bill information to the browser plug-in to establish a data transmission channel comprises the following steps:
and sending the updated bill information to a third-party system establishing a data transmission channel with the browser plug-in.
In one embodiment, before the acquiring, by a browser plug-in a target application system, page data and account information of the target application system, the method further includes:
starting a browser plug-in a target application system;
and establishing a data transmission channel between the browser plug-in and the third-party system through the sharing session.
Correspondingly, an embodiment of the present application further provides a data synchronization apparatus, including:
the data acquisition module is used for acquiring page data and account information of a target application system through a browser plug-in the target application system;
the expansion module is used for performing data expansion on the page data according to the account information to generate bill information;
and the document information transmission module is used for sending the document information to a third-party system establishing a data transmission channel with the browser plug-in.
Further, an embodiment of the present application also provides a computer-readable storage medium, which is used for storing computer instructions, and when the computer-readable storage medium is run on a computer, the computer is enabled to execute the steps of the data synchronization method according to any one of the above technical solutions.
Still further, an embodiment of the present application further provides a computer device, where the computer device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the steps of the data synchronization method according to any one of the above technical solutions.
Compared with the prior art, the scheme provided by the application at least has the following advantages:
according to the data synchronization method, data monitoring and data acquisition are carried out through a browser plug-in a target application system, page data and account information of the target application system are obtained, receipt information is generated based on the account information and the page data, the receipt information is sent to a third party system which establishes a data transmission channel with the browser plug-in advance through the browser plug-in, data transmission is carried out without adopting a service interface mode, the coupling degree and the redundancy of the service interface are reduced, and the data of the target application system are synchronized into the third party system conveniently.
According to the data synchronization method provided by the embodiment of the application, on the basis of account information expansion page data, the standard information base is called, the page data is further expanded by using the standard project information stored in the standard information base, more detailed document information can be obtained, document information with unified standards can be obtained for different target application systems, the data acquisition amount of the browser plug-in the target application system is not increased, and the integrity, the accuracy and the uniformity of the document information are improved.
Drawings
FIG. 1 is a diagram of an implementation environment of a data synchronization method according to an embodiment of the present application;
FIG. 2 is a flow chart of a data synchronization method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating data expansion performed on the page data according to the account information to generate document information according to an embodiment of the present application;
fig. 4 is a flowchart illustrating data expansion of the page data according to a standard information base and account information according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating matching of the project information with standard project information stored in a standard information base according to one embodiment of the present application;
fig. 6 is a schematic structural diagram of a data synchronization apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
Fig. 1 is an implementation environment diagram of a data synchronization method according to an embodiment, where the implementation environment includes a target application system, a third-party system, and a browser plug-in the target application system. And data transmission can be carried out between the target application system and the third-party system.
With reference to the environment diagram provided in fig. 1, the implementation process of the scheme provided in the present application when the user terminal is used is as follows:
the method comprises the steps of starting a browser plug-in a target application system, collecting page data and account information of the target application system by using the browser plug-in, carrying out data expansion on the page data according to the account information to generate receipt information, sending the receipt information to a third-party system establishing a data transmission channel with the browser plug-in, synchronizing the receipt information by using the browser plug-in, reducing the dependence of a data synchronization process on an interface, and reducing the coupling degree of a service interface.
The target application system and the third-party system can be installed on the user terminal, and the user terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer and the like.
Fig. 2 is a flowchart of a data synchronization method according to an embodiment of the present application, including the following steps:
step S210, collecting page data and account information of a target application system through a browser plug-in the target application system;
step S220, performing data expansion on the page data according to the account information to generate bill information;
and step S230, sending the bill information to a third-party system establishing a data transmission channel with the browser plug-in.
The target application system and the third-party system are two mutually independent systems, data transmission can be carried out between the two systems, taking a purchasing scene as an example, the target application system can be a distributor system, the third-party system is a third-party service system serving a purchasing party and a distributor, and one third-party system can generate data interaction with the plurality of target application systems.
Before step S210, the method further includes: and starting a browser plug-in the target application system, wherein the browser plug-in is used for data monitoring and data acquisition, the browser plug-in can be an extended plug-in based on a chrome browser, and the extended plug-in is developed by adopting a webpage technology and is used for enhancing the functions of the browser and realizing a customized browser belonging to the target application system. The browser plug-in interface is provided with a plurality of option windows, taking a purchasing scene as an example, the plug-in interface comprises an address input box, a purchasing party selection box, a receipt information list and an import button of a third-party system, wherein the address of the third-party system is input through the address input box of the third-party system; there may be several purchasing parties accessing the third party system to purchase, so the purchasing party is determined by selecting the identification information such as name or number of the purchasing party; the formed receipt information can be stored in the receipt information list, and an item information sheet stored in the target application system can be loaded in the receipt information sheet, wherein the item information sheet comprises a plurality of item information and related information thereof, and the related information of the item information comprises: quantity information and the like, a plurality of item information can form an item information sheet in a form of a table, and in a purchasing scene, the item information is information of a purchased article and comprises the following steps: number or name of the purchased item, quantity, etc. And after bill information is formed based on the account information and the page data of the target application system, the bill information is imported into a third-party system through an import button on a browser plug-in interface. And by determining the information of each option on the browser plug-in page, determining which channel the target application system provides the document information for which purchasing party through, and forming page data.
Performing data expansion on the page data by using account information of a target application system to generate bill information, wherein the bill information comprises: the method comprises the following steps of address information of a third-party system, account information of a target application system, at least one item information and related information thereof, wherein the item information can be identified by an item number or an item name. Taking a purchasing scene as an example, the address information of the third-party system is taken as a receiving party of the receipt information; the item information is information of the purchased article, such as the number or name of the purchased article, and other related information such as the quantity of the purchased article.
In the process of establishing a data transmission channel between a target application system and a third-party system, an identifier of the target application system is stored in the third-party system in advance, when the target application system sends a data acquisition request to the third-party system, verification and authorization of the target application system are firstly carried out, the target application system establishes a data channel with the third-party system in an oauth mode, and after the target application system is authorized, the operations of directly transmitting single data information to the third-party system or calling a standard information base from the third-party system and the like can be executed, wherein the oauth is an open standard, the target application system is allowed to access resources stored in a target website by the third-party system, and the third-party system is not required to be logged in an account password mode, so that the efficiency of data interaction between the target application system and the third-party system.
The browser plug-in is located in the target application system, and after the target application system and the third-party system establish a data transmission channel, the browser plug-in can perform data interaction with the third-party system through the established data transmission channel.
According to the data synchronization method, data monitoring and data acquisition are carried out through a browser plug-in a target application system, page data and account information of the target application system are obtained, receipt information is generated based on the account information and the page data, the receipt information is sent to a third party system which establishes a data transmission channel with the browser plug-in advance through the browser plug-in, data transmission is carried out without adopting a service interface mode, the coupling degree and the redundancy of the service interface are reduced, and the data of the target application system are synchronized into the third party system conveniently.
In order to make the data synchronization scheme and its technical effects provided by the present application clearer, the following detailed description will be made on specific embodiments thereof with various examples.
If the browser plug-in is not detected in the target application system, that is, the browser plug-in has not been created in the target application system, before the step of acquiring the page data and the account information of the target application system through the browser plug-in the target application system in step S210, the method further includes:
a1, creating a browser plug-in a preset target application system;
and A2, loading address information of the third-party system on the browser plug-in page so as to start the browser plug-in to establish a data transmission channel between the browser plug-in and the third-party system.
According to the scheme provided by the embodiment, for the situation that the browser plug-in is installed for the first time, the browser plug-in is firstly created in the target application system, and the address information of the third-party system is entered or loaded in the address entry box on the browser plug-in page, so that the system for establishing data transmission and data interaction with the target application system is defined, and a data transmission channel is established between the subsequent target application system and the third-party system.
Before the step of collecting the page data and the account information of the target application system through the browser plug-in the target application system in step S210, the method further includes:
starting a browser plug-in a target application system;
and establishing a data transmission channel between the browser plug-in and the third-party system through the sharing session.
The sharing session can avoid the third-party system from repeatedly authorizing the browser plug-in, and the browser plug-in automatically obtains login authorization after the target application system obtains the verification authorization of the third-party system, so that data transmission between the two systems is realized through the browser plug-in.
Further, when the browser plug-in is used for data transmission and the third-party system is in a login state at the same time, the target application system and the third-party system can achieve online synchronization of data.
In order to further expand the information in the document information and perfect the item information in the document information, the step S220 of performing data expansion on the page data according to the account information to generate the document information may be implemented in the following manner, and a flowchart of the step S is shown in fig. 3 and includes:
s310, calling a standard information base in a third-party system through the browser plug-in;
and S320, performing data expansion on the page data by using the standard information base and the account information to generate bill information.
In the embodiment, on the basis of expanding the page data according to the account information, the standard information base is called, the page data is further expanded by using the standard item information stored in the standard information base, so that more detailed document information can be obtained, the data acquisition amount of the browser plug-in a target application system is not increased, and in addition, because the standard information corresponding to each item information is stored in the standard information base, if the page data is acquired from different target application systems, the problem that the information is incomplete or the information standard is diversified exists in the expanded page data according to the account information is solved, in the embodiment of the application, on the basis of the situation, the standard information base stored in a third-party system is further utilized to expand the page data, so that document information with unified standard and complete information is formed, wherein the complete information refers to the fact that the item information in the document information has relatively complete attribute information, the integrity and the accuracy of the bill information are improved.
In an embodiment, the step of performing data expansion on the page data by using the standard information base and the account information may be implemented in the following manner, and a flowchart thereof is shown in fig. 4, and includes:
s410, analyzing the page data to acquire project information in the page data;
s420, matching the item information with standard item information stored in a standard information base;
s430, calling attribute information of standard project information matched with the project information, and associating the attribute information with corresponding project information in page data;
and S440, expanding the item information associated with the attribute information by combining the account information to generate bill information.
It should be noted that, in the scheme provided in the embodiment of the present application, the standard information base is used to expand the page data, then the account information is used to expand the page data, and the account information may also be used to expand the page data, and the application does not limit the expansion sequence.
As mentioned above, the page information includes at least one item information, and each item information at least includes: and the project identification and the related information thereof can uniquely determine the corresponding project information according to the project identification and the related information thereof. The standard information base stores a plurality of item information, and each item information comprises a standard item identification and attribute information thereof.
Taking medical articles as an example, the project name is medical gloves, the related information is A manufacturer and 50 pieces, a plurality of manufacturers may exist in the target application system, the browser plug-in can uniquely determine the corresponding medical gloves according to the project name and the related information, other attribute information such as manufacturing materials and applicable objects corresponding to the medical gloves does not need to be loaded, and the reduction of data volume collected from the target application system is facilitated.
The standard information base stores a plurality of item information and attribute information thereof, the item information takes an item name or an item number as an identifier, and taking a medical article as an example, the standard information base stores: the names and attribute information of items such as scalpels, syringes, medical gloves, medical alcohol, etc., taking medical gloves as an example, the attribute information may include: size, color, shape, manufacturer, etc.
Specifically, the step of matching the item information with the standard item information stored in the standard information base may be performed in the following manner, and a flowchart thereof is shown in fig. 5, and includes:
s510, traversing the standard information base by using item identifiers in item information;
s520, if the item identifier of any item information is matched with a standard item identifier, detecting related information in any item information in the attribute information associated with the standard item identifier;
s530, if there is information consistent with the related information in the attribute information, the any item information is matched with a standard item information.
After step S530, the method further includes: and establishing the association relationship between the attribute information and the project information.
According to the scheme provided by the embodiment, the project name and the related information in the page information are matched with the standard information base, and the page information is expanded so as to obtain more complete and accurate document information; in addition, in the process of acquiring the page data, other attribute information corresponding to the item identifier does not need to be loaded, the page information crawled by the browser plug-in is reduced, the page data can be perfected by utilizing a standard information base, and the generated document information has a unified standard.
According to the scheme, the bill information is synchronized to the third-party system through the browser plug-in, compared with the traditional scheme that data receiving/sending is carried out in a server interface mode, data is grabbed and perfected on line through the browser plug-in, and the bill information is finally led into the third-party system, namely background service synchronization is replaced by page data copying of a foreground, the redundancy and the coupling degree of a service interface are reduced, and the bill information with the unified standard is received by the third-party system.
After the document information is generated in the above embodiment, in order to further improve the accuracy of the document information, after step S230, the method further includes:
s1, displaying a confirmation window of the bill information on a current interface of the browser plug-in;
s2, receiving instruction information representing the bill information is wrong, receiving correction instructions and correction information of the bill information, forming updated bill information based on the correction information, and executing the step S1;
and S3, receiving a confirmation instruction that the bill information is correct.
According to the scheme provided by the embodiment of the application, before the receipt information is sent to the third-party system, the receipt data needs to be confirmed, if the receipt information is wrong, correction operation is carried out until a confirmation instruction that the receipt information is correct is received, and the confirmed receipt information is sent to the third-party system, so that the accuracy of the receipt information received by the third-party system is improved.
Further, before the step of sending the document information to the third-party system, the method further comprises:
b1, detecting that document information to be sent which is not synchronized in a third-party system exists in the browser plug-in;
b2, updating the bill information to be sent by using the currently acquired page data to form updated bill information;
the third-party system for sending the bill information to the browser plug-in to establish a data transmission channel comprises the following steps:
and sending the updated bill information to a third-party system establishing a data transmission channel with the browser plug-in.
According to the scheme provided by the embodiment, the bill information to be sent is updated on the basis of acquiring the bill information, the two bill information are integrated into one bill information to be sent to the third party information, repeated operation on the same item information is avoided, and the integrity of each bill information is improved.
The scheme provided by the application can be applied to occasions needing data synchronization, such as a purchasing system, a job hunting system and the like, and the job hunting system can be used for accurately and efficiently synchronizing a plurality of job hunting information to a recruiter system by adopting the scheme in the recruiter system.
The above embodiments of the data synchronization method provided in the present application are directed to the method, and the following describes embodiments of a data synchronization apparatus corresponding to the method.
An embodiment of the present application further provides a data synchronization apparatus, a schematic structural diagram of which is shown in fig. 6, including: the data acquisition module 610, the expansion module 620 and the document information transmission module 630 are as follows:
the data acquisition module 610 is configured to acquire page data and account information of a target application system through a browser plug-in the target application system;
the expansion module 620 is configured to perform data expansion on the page data according to the account information to generate document information;
and a document information transmission module 630, configured to send the document information to a third-party system that establishes a data transmission channel with the browser plug-in.
With regard to the data synchronization apparatus in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be elaborated here.
Further, an embodiment of the present application also provides a computer readable storage medium, on which computer instructions are stored, and the computer instructions, when executed by a processor, implement the steps of the data synchronization method described in any one of the above. The storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer). Which may be a read-only memory, magnetic or optical disk, or the like.
Still further, an embodiment of the present application further provides a computer device, where the computer device includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the steps of the data synchronization method of any one of the preceding claims.
FIG. 7 is a block diagram illustrating a computer device 700 according to an example embodiment. For example, the computer device 700 may be provided as a user terminal. Referring to fig. 7, computer device 700 includes a processing component 722 that further includes one or more processors, and memory resources, represented by memory 732, for storing instructions, e.g., applications, that are executable by processing component 722. The application programs stored in memory 732 may include one or more modules that each correspond to a set of instructions. Further, the processing component 722 is configured to execute instructions to perform the steps of the data synchronization method described above.
The computer device 700 may also include a power component 726 configured to perform power management of the computer device 700, a wired or wireless network interface 750 configured to connect the computer device 700 to a network, and an input output (I/O) interface 758. Computer device 700 may operate based on an operating system stored in memory 732, such as WindowsServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like. It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It should be understood that each functional unit in the embodiments of the present application may be integrated into one processing module, each unit may exist alone physically, or two or more units may be integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.
Claims (10)
1. A method of data synchronization, comprising:
acquiring page data and account information of a target application system through a browser plug-in the target application system;
performing data expansion on the page data according to the account information to generate document information;
and sending the bill information to a third-party system establishing a data transmission channel with the browser plug-in.
2. The data synchronization method according to claim 1, wherein the step of generating document information by performing data expansion on the page data according to the account information comprises:
calling a standard information base in a third-party system through the browser plug-in;
and performing data expansion on the page data by using the standard information base and the account information to generate document information.
3. The data synchronization method according to claim 2, wherein the step of performing data expansion on the page data by using a standard information base and account information comprises:
analyzing the page data to obtain project information in the page data;
matching the project information with standard project information stored in a standard information base;
calling attribute information of standard project information matched with the project information, and associating the attribute information with corresponding project information in page data;
and expanding the item information associated with the attribute information by combining the account information to generate document information.
4. The data synchronization method according to claim 3, wherein the step of matching the item information with standard item information stored in a standard information base according to the item information comprises:
traversing the standard information base by using the item identifier in the item information;
if the item identifier of any item information is matched with a standard item identifier, detecting related information in any item information in the attribute information associated with the standard item identifier;
and if the attribute information contains information consistent with the related information, matching any item information with standard item information.
5. The data synchronization method according to claim 1, wherein after the step of generating document information by performing data expansion on the page data according to the account information, the method further comprises:
displaying a confirmation window of the bill information on a current interface of a browser plug-in;
receiving instruction information representing that the bill information is wrong, receiving a correction instruction and correction information of the bill information, forming updated bill information based on the correction information, and executing the previous step;
and receiving a confirmation instruction that the bill information is correct.
6. The data synchronization method according to claim 1, wherein before the step of sending the document information to a third-party system establishing a data transmission channel with the browser plug-in, the method further comprises:
detecting that document information to be sent which is not synchronized in a third-party system exists in a browser plug-in;
updating the bill information to be sent by using the currently acquired page data to form updated bill information;
the third-party system for sending the bill information to the browser plug-in to establish a data transmission channel comprises the following steps:
and sending the updated bill information to a third-party system establishing a data transmission channel with the browser plug-in.
7. The data synchronization method according to claim 1, before collecting the page data and the account information of the target application system through a browser plug-in the target application system, further comprising:
starting a browser plug-in a target application system;
and establishing a data transmission channel between the browser plug-in and the third-party system through the sharing session.
8. A data synchronization apparatus, comprising:
the data acquisition module is used for acquiring page data and account information of a target application system through a browser plug-in the target application system;
the expansion module is used for performing data expansion on the page data according to the account information to generate bill information;
and the document information transmission module is used for sending the document information to a third-party system establishing a data transmission channel with the browser plug-in.
9. A computer-readable storage medium for storing computer instructions which, when executed on a computer, cause the computer to perform the steps of the data synchronization method of any of claims 1 to 7.
10. A computer device, characterized in that the computer device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the steps of the data synchronization method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911052671.1A CN110825756B (en) | 2019-10-31 | 2019-10-31 | Data synchronization method, device, storage medium and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911052671.1A CN110825756B (en) | 2019-10-31 | 2019-10-31 | Data synchronization method, device, storage medium and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110825756A true CN110825756A (en) | 2020-02-21 |
CN110825756B CN110825756B (en) | 2023-05-26 |
Family
ID=69551680
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911052671.1A Active CN110825756B (en) | 2019-10-31 | 2019-10-31 | Data synchronization method, device, storage medium and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110825756B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111488405A (en) * | 2020-04-16 | 2020-08-04 | 北京字节跳动网络技术有限公司 | Information updating method and device |
CN112765246A (en) * | 2020-12-30 | 2021-05-07 | 北京知因智慧科技有限公司 | Task processing method and device, electronic equipment and storage medium |
CN112765246B (en) * | 2020-12-30 | 2024-05-24 | 北京知因智慧科技有限公司 | Task processing method, device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106022791A (en) * | 2016-05-10 | 2016-10-12 | 厦门研途教育科技有限公司 | Sales agent system and method |
US20180365333A1 (en) * | 2017-06-19 | 2018-12-20 | Salesforce.Com, Inc. | Enhanced web browsing |
US20190141021A1 (en) * | 2014-03-31 | 2019-05-09 | Monticello Enterprises LLC | System and method for providing simplified in store purchases and in-app purchases using a use- interface- based payment apt |
-
2019
- 2019-10-31 CN CN201911052671.1A patent/CN110825756B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190141021A1 (en) * | 2014-03-31 | 2019-05-09 | Monticello Enterprises LLC | System and method for providing simplified in store purchases and in-app purchases using a use- interface- based payment apt |
CN106022791A (en) * | 2016-05-10 | 2016-10-12 | 厦门研途教育科技有限公司 | Sales agent system and method |
US20180365333A1 (en) * | 2017-06-19 | 2018-12-20 | Salesforce.Com, Inc. | Enhanced web browsing |
Non-Patent Citations (3)
Title |
---|
JUNGLE SCOUT 桨歌科技: ""Jungle Scout工具使用方法详解及选品策略"", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/63813013》 * |
沈洪洲: ""一种基于 Chrome 扩展程序的网络数据采集方法"", 《计算机应用与软件》 * |
田思 等: ""基于 Chrome 浏览器扩展的图书采访插件开发"", 《电脑知识与技术》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111488405A (en) * | 2020-04-16 | 2020-08-04 | 北京字节跳动网络技术有限公司 | Information updating method and device |
CN111488405B (en) * | 2020-04-16 | 2022-02-18 | 北京字节跳动网络技术有限公司 | Information updating method and device |
CN112765246A (en) * | 2020-12-30 | 2021-05-07 | 北京知因智慧科技有限公司 | Task processing method and device, electronic equipment and storage medium |
CN112765246B (en) * | 2020-12-30 | 2024-05-24 | 北京知因智慧科技有限公司 | Task processing method, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110825756B (en) | 2023-05-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108470298B (en) | Method, device and system for transferring resource numerical value | |
WO2019075842A1 (en) | Task allocation method and apparatus, storage medium and computer device | |
CN107688733B (en) | Service interface calling method, device, user terminal and readable storage medium | |
CN110880100A (en) | Business approval processing method, device and system | |
CN109361628B (en) | Message assembling method and device, computer equipment and storage medium | |
JP2018517982A (en) | Automatic recharge system, method and server | |
CN114238255A (en) | Method and device for synchronizing files, electronic equipment and computer readable storage medium | |
CN111756829A (en) | Account book data synchronization method, device, equipment and storage medium | |
CN109636460B (en) | Service processing method, device, equipment and storage medium | |
CN110825756B (en) | Data synchronization method, device, storage medium and equipment | |
CN115033211A (en) | Method, device and equipment for querying article based on strategy mode and storage medium | |
CN112199443B (en) | Data synchronization method and device, computer equipment and storage medium | |
US20220405823A1 (en) | Object comparison method, and device | |
US10997539B2 (en) | Supplier analysis and verification system and method | |
CN115809879A (en) | Block chain data processing method, device, equipment and storage medium | |
CN114968822A (en) | Interface testing method and device, computer equipment and storage medium | |
CN113311745B (en) | Method, system, device and equipment for product monitoring | |
CN107135075B (en) | Authorization method and device for user operation | |
WO2018000750A1 (en) | User rights splitting method, system and electronic device | |
CN107203915B (en) | Data storage method and device | |
WO2017129068A1 (en) | Event execution method and device and system therefor | |
CN113138814A (en) | Remote assistance method, device, equipment and storage medium | |
CN111538899A (en) | Resource information pushing method, equipment side and server side | |
WO2022057595A1 (en) | Marking information processing method and device, and storage medium | |
CN115794927B (en) | Service function expansion method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information |
Address after: 801-2, floor 8, building 3, No. 22, Ronghua Middle Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing Applicant after: Wanghai Kangxin (Beijing) Technology Co.,Ltd. Address before: Room 07, Room 2, Building B, 12 Hongda North Road, Beijing Daxing District, Beijing Applicant before: BEIJING NEUSOFT VIEWHIGH TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |