CN111352749B - Data synchronization method, device, equipment and storage medium - Google Patents

Data synchronization method, device, equipment and storage medium Download PDF

Info

Publication number
CN111352749B
CN111352749B CN202010135494.XA CN202010135494A CN111352749B CN 111352749 B CN111352749 B CN 111352749B CN 202010135494 A CN202010135494 A CN 202010135494A CN 111352749 B CN111352749 B CN 111352749B
Authority
CN
China
Prior art keywords
application
data
server
synchronous data
identification code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010135494.XA
Other languages
Chinese (zh)
Other versions
CN111352749A (en
Inventor
毕胜
肖爱军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Necessary Industrial Technology Co ltd
Original Assignee
Zhuhai Necessary Industrial Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Necessary Industrial Technology Co ltd filed Critical Zhuhai Necessary Industrial Technology Co ltd
Priority to CN202010135494.XA priority Critical patent/CN111352749B/en
Publication of CN111352749A publication Critical patent/CN111352749A/en
Application granted granted Critical
Publication of CN111352749B publication Critical patent/CN111352749B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/541Client-server

Abstract

The embodiment of the invention discloses a data synchronization method, a device, equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps that a first application sends synchronous data and a corresponding character identification code to a server, or the first application sends the synchronous data to the server and receives the character identification code corresponding to the synchronous data fed back by the server; the first application stores the character recognition code in a clipboard; the second application reads the character recognition code in the clipboard and sends the read character recognition code to the server when the fact that the read character recognition code accords with a check rule is determined; and the second application receives the synchronous data corresponding to the character identification code fed back by the server and carries out response operation on the synchronous data. The technical scheme provided by the embodiment of the invention can synchronize more data contents and can prevent the leakage of the synchronized data.

Description

Data synchronization method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a data synchronization method, a data synchronization device, data synchronization equipment and a storage medium.
Background
With the development of mobile internet technology, besides traditional Web applications and native applications, various applets are also more and more popular, and enterprises need to develop their own applications at each end for introducing data of a third party and finally guiding the data to a platform application of a lead push, such as a native application. After the platform application of the main push is opened, the drainage application (e.g., a conventional Web application) is required to transfer related data information, including a page being browsed, a guidance channel, user information, and the like, so that the scene of the user in the drainage application is conveniently restored.
In the related art, a simple data synchronization is realized by utilizing a wake-up mode among respective platform applications, and a data synchronization mode is realized by waking up page transfer parameters, and the parameter transfer mode is limited by the length of a link, so that the transferred data content is less, and the data is easy to intercept and capture, which causes information leakage.
Disclosure of Invention
The embodiment of the invention provides a data synchronization method, a data synchronization device, data synchronization equipment and a storage medium, which can synchronize more data contents and prevent the leakage of synchronous data.
In a first aspect, a data synchronization method provided in an embodiment of the present invention includes:
the method comprises the steps that a first application sends synchronous data and a corresponding character identification code to a server, or the first application sends the synchronous data to the server and receives the character identification code corresponding to the synchronous data fed back by the server;
the first application stores the character recognition code in a clipboard;
the second application reads the character recognition code in the clipboard and sends the read character recognition code to the server when the fact that the read character recognition code accords with a check rule is determined;
and the second application receives the synchronous data corresponding to the character identification code fed back by the server and carries out response operation on the synchronous data.
In a second aspect, an embodiment of the present invention provides a data synchronization method, including:
the method comprises the steps that a server receives synchronous data and a corresponding character identification code sent by a first application, or receives the synchronous data sent by the first application, and feeds back the character identification code corresponding to the synchronous data to the first application;
and the server receives the character identification code sent by the second application, inquires synchronous data corresponding to the character identification code sent by the second application, and feeds the inquired synchronous data back to the second application.
In a third aspect, an embodiment of the present invention provides a data synchronization apparatus, including: a first application and a second application;
the first application comprises a sending module and a storage module, and the second application comprises a reading module and a receiving/responding module;
the sending module is used for sending the synchronous data and the corresponding character identification code to a server, or sending the synchronous data to the server and receiving the character identification code which is fed back by the server and corresponds to the synchronous data;
the storage module is used for storing the character identification code in a clipboard;
the reading module is used for reading the character identification code in the clipboard and sending the read character identification code to the server when the fact that the read character identification code accords with a check rule is determined;
and the receiving/responding module is used for receiving the synchronous data corresponding to the character identification code fed back by the server and responding the synchronous data.
In a fourth aspect, an embodiment of the present invention provides a data synchronization apparatus, including:
the receiving module is used for receiving synchronous data and a corresponding character identification code sent by a first application, or receiving the synchronous data sent by the first application and feeding back the character identification code corresponding to the synchronous data to the first application;
and the query module/feedback module is used for receiving the character identification code sent by the second application, querying synchronous data corresponding to the character identification code sent by the second application and feeding the queried synchronous data back to the second application.
In a fifth aspect, an embodiment of the present invention provides an apparatus, including:
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 a method as provided by embodiments of the invention.
In a sixth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method provided by the present invention.
According to the technical scheme provided by the embodiment of the invention, the synchronous data is sent to the server through the first application, the character identification code corresponding to the synchronous data is stored in the clipboard, the character identification code in the clipboard is read through the second application and sent to the server, the synchronous data corresponding to the character identification code fed back by the server is received, and the synchronous data is responded, so that the synchronization of more data contents among applications can be realized, the data leakage is prevented, the sensitive information of a user is protected, the method and the system are suitable for various applications, and the application range is wide.
Drawings
Fig. 1 is a flowchart of a data synchronization method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a data synchronization method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a data synchronization method according to an embodiment of the present invention;
FIG. 4 is a flow chart of a data synchronization method according to an embodiment of the present invention;
FIG. 5 is a flow chart of a data synchronization method according to an embodiment of the present invention;
FIG. 6a is a flow chart of a data synchronization method according to an embodiment of the present invention;
fig. 6b is a flowchart illustrating a server generating a text identifier and uploading synchronization data to the server by an application sending data according to an embodiment of the present invention;
fig. 6c is a flowchart of generating a text recognition code and uploading the generated text recognition code and synchronous data to a server by an application for sending data according to an embodiment of the present invention;
fig. 6d is a flowchart illustrating that an application receiving data reads clipboard contents after being started, and interacts with a server to request data synchronization according to an embodiment of the present invention;
fig. 7 is a block diagram of a data synchronization apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram of a data synchronization apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a data synchronization method according to an embodiment of the present invention, where the method may be executed by a data synchronization apparatus, where the apparatus may be implemented by software and/or hardware, the apparatus may be configured in an electronic device such as a smart phone, a tablet computer, or a computer, and the method may be applied in scenarios such as media public number delivery, commodity recommendation, account number associated login, and the like.
In the related art, simple data synchronization is realized by using a wake-up mode between respective platform applications, such as Universal Links of an iOS platform of a mobile operating system, URL Scheme (application page link) of an Android end of an open source mobile operating system, page routing of an applet, and the like. The data synchronization is realized by waking up the page transfer parameter, and the parameter transfer mode is limited by the length of the link, so that the transferred data content is often less, and the data is easily intercepted, which causes information leakage. The technical scheme provided by the embodiment of the invention can synchronize more data contents and can prevent the leakage of the synchronized data.
As shown in fig. 1, the technical solution provided by the embodiment of the present invention includes:
s110: the first application sends the synchronous data and the corresponding character identification code to a server, or the first application sends the synchronous data to the server and receives the character identification code which is fed back by the server and corresponds to the synchronous data.
In an embodiment of the present invention, the first application may be an application that transmits data. The first application can comprise Web application, an iOS-end App, an Android-end App, an App embedded webpage application, an App embedded applet, a fast application and the like.
In an embodiment of the present invention, the synchronization data includes at least one of: a page path and parameters of the first application; channel information in the first application; the popup content required to be displayed by the first application; user identification information of the first application; user behavior data for the first application; the first application generates data-carried content. The format of the synchronous data is not limited, and the synchronous data may be words, pictures, binary files, or other carrier files that can be transmitted over a network.
In an implementation manner of the embodiment of the present invention, optionally, the sending, by the first application, the synchronization data and the corresponding text identification code to the server includes: the first application generates a character identification code according to a built-in generation rule, or when the first application is started, sends an acquisition request of the generation rule to a server, receives the generation rule sent by the server based on the acquisition request, and generates the character identification code based on the received generation rule; and the first application sends the character identification code and the synchronous data to the server. The generation rule contains the content of the rule matched through a regular expression, or the characteristic identified by a specific single character or a combination of a plurality of characters, or contains a key value used by the server for querying.
Specifically, the server side issues a preset generation rule to a first application, the first application generates a string of character identification codes according to the generation rule, and the character identification codes and synchronous data are sent to the server side for storage; or the first application sends the synchronous data needing to be synchronized to the server, the server generates a string of character identification codes according to the generation rule, stores the character identification codes and the synchronous data, and returns the generated character identification codes to the first application.
S120: the first application stores the text recognition code in a clipboard.
In the embodiment of the invention, when the first application receives the character recognition code fed back by the server or the first application generates the character recognition code, the character recognition code is written into the clipboard.
S130: and the second application reads the character identification code in the clipboard and sends the read character identification code to the server when the fact that the read character identification code accords with a check rule is determined.
In the embodiment of the invention, after the second application is started, the character identification code in the clipboard is read. Wherein the launching of the second application may be achieved by the first application guiding the user. Specifically, the first application displays a control for opening the second application; when a user triggers the control, if the second application is installed, the second application is awakened, so that the second application is started; and if the second application is not installed, showing the path information of downloading the second application, installing based on the installation package of the second application, and starting the second application after the second application is installed. If the second application is not installed, the mode of the first application for guiding the second application to start is determined by the environment of the first application, and a Web application (equivalent to the first application) is used for guiding a target APP (equivalent to the second application) to install: the Web application awakens an App homepage of an application store through Scheme, and if the awakening is successful, a user clicks an installation target App in the App of the application store; and if the Web application is in the environment which cannot wake up the target APP, opening the Web application in a system browser by using a menu prompted by a page.
In the related art, when the second application is not installed or cannot be woken up, the second application cannot be woken up directly, and the first application shields the wakening capability, which all result in that data synchronization cannot be implemented. Therefore, the second application can be normally started by guiding the second application to wake up and start or install and start through the first application, and data synchronization is realized.
In an implementation manner of the embodiment of the present invention, optionally, when it is determined that the read text identification code conforms to a verification rule, sending the read text identification code to the server includes: the second application sends a verification request to a server and receives a verification rule fed back by the server based on the verification request; the second application judges whether the read character identification code accords with the check rule or not; and if so, the second application sends the read character identification code to a server. The verification rule may be the same as the generation rule of the character identifier. And when the second application judges that the character identification code does not accord with the check rule, stopping the subsequent steps. In the embodiment, the server issues the verification rule, so that the dynamic modification of the verification rule can be realized, and the dynamic control can be realized according to the operation condition.
S140: and the second application receives the synchronous data corresponding to the character identification code fed back by the server and carries out response operation on the synchronous data.
In the embodiment of the invention, the server inquires the synchronous data corresponding to the character identification code and feeds the synchronous data back to the second application, and the second application receives the synchronous data fed back by the server and carries out response operation on the synchronous data.
In the embodiment of the present invention, optionally, when the server queries the synchronization data corresponding to the text identification code, the server determines whether the synchronization data is valid, and feeds back the valid synchronization data to the second application, and the second application performs a response operation on the received valid synchronization data. Optionally, determining whether the synchronization data is valid may include at least one of: judging whether the synchronous data is in the valid period; whether application scenario operation of the synchronization data is already started. Whether the application scenario operation for the synchronized data is on, for example, if the sales promotion activity of the commodity has stopped, the application scenario operation for the synchronized data of the commodity has been off.
In an implementation manner of the embodiment of the present invention, optionally, the responding to the synchronization data includes at least one of: displaying a page corresponding to the page path contained in the synchronous data, and displaying commodities in the page based on parameters contained in the synchronous data; reporting channel information of the synchronous data; displaying content corresponding to the user identification information; requesting to recommend and display corresponding content according to the user behavior data; and executing other preset operations corresponding to the synchronous data. The channel information may be source information of the synchronization data, such as a public name of an article. The parameter may be a parameter of the item in the page corresponding to the page path. Other predetermined operations can be set as required, for example, the synchronous data can be presented, or corresponding operations are performed on the synchronous data.
S120 may be executed after the first application transmits the synchronization data and the corresponding character identifier to the server, or may be executed before "the first application transmits the synchronization data and the corresponding character identifier to the server", and may be adjusted as necessary.
According to the technical scheme provided by the embodiment of the invention, the synchronous data is sent to the server through the first application, the character identification code corresponding to the synchronous data is stored in the clipboard, the character identification code in the clipboard is read through the second application and sent to the server, the synchronous data corresponding to the character identification code fed back by the server is received, and the synchronous data is responded, so that the synchronization of more data contents among applications can be realized, the data leakage is prevented, the sensitive information of a user is protected, the method and the system are suitable for various applications, and the application range is wide.
Fig. 2 is a flowchart of a data synchronization method provided in an embodiment of the present invention, where in the embodiment of the present invention, the method is applied in a scene of media public address delivery, as shown in fig. 2, a technical solution provided in the embodiment of the present invention includes:
s210: when commodity promotion resources released through a media public number enter a commodity detail page displayed by a Web application, the Web application sends synchronous data to a server; the synchronous data comprises a page path and parameters corresponding to the commodity detail page and channel information of the media public number.
In the embodiment of the invention, the commodity promotion resource can be a commodity promotion article and the like. When a user opens a commodity promotion article released by the public media, clicks and looks up an original text, or presses a two-dimensional code picture for a long time, and the like, a commodity detail page of the Web application in the example can be accessed. When the goods detail page is opened, the Web application may request the server to generate a text identification code interface, sending synchronized data to the server.
In this embodiment, after receiving the synchronization data, the server generates a segment of character identification code according to the generation rule, and stores the character identification code, the synchronization data, and the receiving time of the synchronization data (the time of the synchronization request) in the server. And the server returns the generated character identification code to the commodity detail page of the Web application through generating a character identification code interface.
S220: and the Web application receives the character identification code corresponding to the synchronous data fed back by the server.
S230: and when detecting that the user triggers an application operation for starting data receiving in the commodity detail page, the Web application stores the character identification code in a clipboard.
S240: and when the application for receiving the data is awakened and started or the application for receiving the data is installed and started, reading the character identification code in the clipboard.
In the embodiment of the invention, the Web application wakes up the application for receiving data through the URL Scheme or Universal Links, and the Web application jumps to an application store to guide a user to install the application for receiving data under the condition that the application for receiving data cannot be woken up. When the application receiving the data is awakened to start or installed to start, the character identification code in the clipboard is read. Optionally, when the application receiving the data is awakened to start or installed to start, the server is requested to feed back the check rule, and the server feeds back the check rule through the interface. When the application receiving the data requests the verification rule, the character identification code in the clipboard is read.
S250: and when the application receiving the data determines that the read character identification code accords with the check rule, the read character identification code is sent to the server.
In the embodiment of the invention, when the application receiving the data judges that the read character identification code is in accordance with the check rule, the character identification code can be sent to the request synchronous data interface of the server, the request synchronous data interface of the server receives the character identification code, inquires the content stored locally, and if the corresponding synchronous data is not inquired, the data fed back to the application receiving the data is empty, and the process is ended. If the server inquires the corresponding synchronous data, whether the synchronous data is overtime can be judged, if yes, the data fed back to the application receiving the data is empty, and the process is ended. If the synchronous data is not overtime, whether the synchronous data operation function module is closed or not can be inquired, if the synchronous data operation function module is closed, the synchronous data of the opened operation function module is only returned, and if the operation function modules of the synchronous data are closed, the data of the application returning the received data is empty, and the process is ended.
S260: if the synchronous data received by the application for receiving the data comprises the page path and the parameters of the commodity detail page, displaying the page corresponding to the page path, and displaying the commodity based on the parameters; and if the synchronous data received by the application for receiving the data comprises the channel information of the media public number, reporting the channel information.
In the embodiment of the invention, if the received synchronous data is empty, the application receiving the data does not perform any processing, and the process is ended; and if the received synchronous data comprises the page path and the parameters of the commodity detail page, the application for receiving the data opens the page corresponding to the page path, and the commodity in the page is displayed based on the parameters. If the channel information of the data media public number is received, the channel information is stored locally, so that other subsequent interfaces request for attaching the data, and the channel information is reported through the log interface.
According to the technical scheme provided by the embodiment of the invention, under the condition that the application for receiving the data is not installed, a commodity detail page of a user in Web application can be restored, the ordering rate of the user is improved, the user flow data of each channel flow of media public number delivery, the application quantity for installing the received data and the quantity of new users are accurately counted, data reference is provided for quality judgment of the media public number delivery, and the quality of the media delivery is improved.
Fig. 3 is a flowchart of a data synchronization method provided in an embodiment of the present invention, where in a scenario where the method is applied to commodity recommendation in the embodiment of the present invention, as shown in fig. 3, a technical solution provided in the embodiment of the present invention includes:
s310: and the Web application sends the synchronous data to a server and receives the character identification code which is fed back by the server and corresponds to the synchronous data, wherein the synchronous data is the commodity browsing history data of the Web application.
S320: and the Web application stores the character identification code in a clipboard.
S330: and the application for receiving the data reads the character identification code in the clipboard and sends the read character identification code to the server when the fact that the read character identification code accords with the verification rule is determined.
S340: and the application for receiving data receives the commodity browsing history data corresponding to the character identification code fed back by the server, and acquires a commodity recommendation list from the server based on the commodity browsing history data.
In the prior art, historical data of commodities browsed by users of a Web application and an application (such as a target App) for receiving data are independent from each other, and when the Web application guides the users to open the application for receiving data, the application for receiving data displays commodities by using default recommendations under the condition that the users do not log in.
According to the technical scheme provided by the embodiment of the invention, commodity browsing history data generated by a Universal Unique Identifier (UUID) corresponding to Web application can be synchronized to the application receiving data, if the application receiving data does not have browsing history, when the application receiving data starts to request a commodity recommendation interface, a commodity recommendation list can be obtained by adopting the commodity browsing history data of the Web application, and the ordering purchase rate is improved by optimizing the individual commodity recommendation of a new user.
Fig. 4 is a flowchart of a data synchronization method provided in an embodiment of the present invention, where in the embodiment of the present invention, the method provided in the embodiment of the present invention is applied in a scenario of account associated login, as shown in fig. 4, a technical solution provided in the embodiment of the present invention includes:
s410: the first application sends the synchronous data to the server and receives the character identification code which is fed back by the server and corresponds to the synchronous data, and the synchronous data is the user information logged in the first application.
S420: the first application stores the text recognition code in a clipboard.
S430: and the second application reads the character identification code in the clipboard and sends the read character identification code to the server when the fact that the read character identification code accords with a check rule is determined.
S440: and the second application receives the user information which is fed back by the server and corresponds to the character identification code.
S450: and when the second application is not logged in, displaying a prompt for a user to select whether to perform account association on the first application and the second application.
S460: and the second application performs login based on the user information based on account association operation selected by the user.
In the embodiment of the present invention, the logging in based on the user information may include the second application logging in using the user information, or the second application logging in using information corresponding to the user information.
According to the technical scheme provided by the embodiment of the invention, the login enthusiasm of the user can be improved through the prompt associated with the account number, the login process in the subsequent shopping process is reduced, and the shopping experience of the user is improved.
Fig. 5 is a flowchart of a data synchronization method provided in an embodiment of the present invention, where the method may be executed by a data synchronization apparatus, the apparatus may be implemented by software and/or hardware, the apparatus may be configured in a server, and the method may be applied to scenes such as media public account delivery, commodity recommendation, account number associated login, and as shown in fig. 5, a technical solution provided in an embodiment of the present invention includes:
s510: the server receives synchronous data and a corresponding character identification code sent by a first application, or receives the synchronous data sent by the first application, and feeds back the character identification code corresponding to the synchronous data to the first application.
In an embodiment of the present invention, the first application may be an application that transmits data. The first application can comprise Web application, an iOS-end App, an Android-end App, an App embedded webpage application, an App embedded applet, a fast application and the like.
In an embodiment of the present invention, the synchronization data includes at least one of: a page path and parameters of the first application; channel information in the first application; the popup content required to be displayed by the first application; user identification information of the first application; user behavior data for the first application; the first application generates data-carried content. The format of the synchronous data is not limited, and the synchronous data may be words, pictures, binary files, or other carrier files that can be transmitted over a network.
In the embodiment of the invention, the first application sends the synchronous data and the corresponding character identification code to the server, or the first application sends the synchronous data to the server. Specifically, the server side issues a preset generation rule to a first application, the first application generates a string of character identification codes according to the generation rule, and the character identification codes and synchronous data are sent to the server side for storage; or the first application sends the synchronous data needing to be synchronized to the server, the server generates a string of character identification codes according to the generation rule, stores the character identification codes and the synchronous data, and returns the generated character identification codes to the first application.
S520: and the server receives the character identification code sent by the second application, inquires synchronous data corresponding to the character identification code sent by the second application, and feeds the inquired synchronous data back to the second application.
In the embodiment of the invention, the second application reads the character identification code in the clipboard, and when the read character identification code is determined to be in accordance with the check rule, the read character identification code is sent to the server, the server inquires synchronous data corresponding to the character identification code and feeds the synchronous data back to the second application, and the second application receives the synchronous data fed back by the server and carries out response operation on the synchronous data.
According to the technical scheme provided by the embodiment of the invention, the server receives the synchronous data sent by the first application, correspondingly stores the synchronous data and the character identification code, receives the character identification code sent by the second application, inquires the synchronous data corresponding to the character identification code and feeds the synchronous data back to the second application, so that the synchronization of more data contents between the two applications can be realized, and the data leakage caused by the data synchronization between the two applications can be prevented.
In an implementation manner of the embodiment of the present invention, optionally, the querying synchronization data corresponding to the text identification code sent by the second application, and feeding back the queried synchronization data to the second application include: inquiring synchronous data corresponding to the character identification code sent by the second application; judging whether the inquired synchronous data is valid or not; feeding back valid synchronization data to the second application.
In this embodiment of the present invention, the determining whether the queried synchronization data is valid includes at least one of: whether the synchronization data is within a specified validity period; whether the application scene operation of the synchronous data is started or not.
Optionally, the method provided in this embodiment may further include: and the server receives a verification request sent by the second application and sends a verification rule to the second application based on the verification request so that the second application verifies the character identification code based on the verification rule.
Therefore, the check rule and the synchronous data can be controlled by the server, the data synchronization can be dynamically controlled according to the operation condition, the returned synchronous data or the check rule can be dynamically modified in the server according to the requirement, the aim of dynamically controlling the application scene is fulfilled, the modification on the application is not needed, and the condition that the application is on line again is avoided. The synchronous data provided by the embodiment of the invention is received and stored by the server, so that the condition that the clipboard content is changed at the application end to tamper the synchronous data is avoided, and the condition that some sensitive information of the user is stored in the clipboard in the related technology, such as the content of the user harvesting address parameters and the like of the order page, is avoided.
Fig. 6a is a flowchart of a data synchronization method provided in an embodiment of the present invention, and as shown in fig. 6a, a technical solution provided in an embodiment of the present invention includes:
s610: the first application sends the synchronous data and the corresponding character identification code to a server, or the first application sends the synchronous data to the server and receives the character identification code which is fed back by the server and corresponds to the synchronous data.
S620: the server receives synchronous data and a corresponding character identification code sent by a first application, or receives the synchronous data sent by the first application, and feeds back the character identification code corresponding to the synchronous data to the first application.
S630: the first application stores the text recognition code in a clipboard.
S640: and the second application reads the character recognition code in the clipboard, and when the character recognition code is determined to accord with the check rule, the read character recognition code is sent to the server.
S650: and the server receives the character identification code sent by the second application, inquires synchronous data corresponding to the character identification code sent by the second application, and feeds the inquired synchronous data back to the second application.
S660: and the second application receives the synchronous data corresponding to the character identification code fed back by the server and carries out response operation on the synchronous data.
The steps that the method provided by the embodiment of the present invention may further include and the specific descriptions of the steps may refer to the descriptions of the above embodiments, and will not be described again.
In the case that the first application is an application for sending data and the second application is an application for receiving data, the process of generating the character identification code and uploading the synchronous data to the server by the application for sending data according to the embodiment of the present invention may refer to fig. 6b, and the process of generating the character identification code by the application for sending data and uploading the generated character identification code and the synchronous data to the server may refer to fig. 6 c; the process of reading the clipboard contents after the application receiving the data starts, and performing an interactive request with the server to synchronize the data can refer to fig. 6 d.
The technical scheme provided by the embodiment of the invention is that synchronous data is sent to a server through a first application, the server stores the synchronous data and a character identification code, the character identification code corresponding to the synchronous data is stored in a clipboard through the first application, the character identification code in the clipboard is read through a second application and sent to the server, the server feeds back the synchronous data corresponding to the character identification code to the second application and carries out response operation on the synchronous data, thereby realizing the synchronization of more data contents among applications, avoiding the situation that the clipboard contents are changed at an application end to achieve the falsification of the synchronous data, avoiding the situation that some sensitive information of a user is stored in the clipboard, preventing the leakage of the data, protecting the sensitive information of the user, being suitable for various applications, having wide application range and realizing the dynamic modification of the synchronous data, the purpose of dynamically controlling the application scene is achieved, and the situation that the application end is on-line again to modify data is avoided.
In order to better describe the technical scheme of the embodiment of the invention, the following specific preferred embodiments are provided. And (3) aiming at a public media delivery optimization scene:
in the media public account delivery in the related art, if the target APP is not installed, the target APP cannot be associated with a diversion channel after being installed and opened, and therefore the quality of the media public account cannot be judged.
The technical scheme provided by the embodiment of the invention realizes the data synchronization of the channel information in the scene, and optimizes the quality of media delivery. The concrete steps are as follows:
when a user opens a commodity promotion article released by a media public number, clicks and looks up an original text, or long-presses a two-dimensional code picture and the like, and enters a commodity detail page of the Web application for sending data in the example. When the goods detail page is opened, the Web application may request the server to generate a text identification code interface, and send synchronized data to the server, where the format may be as follows:
{
router:xxxx/xxxxparams=xxx
utm:xx.xxxx.xxxx.xxxxxx
}
the router represents a page path and parameters corresponding to the commodity detail page, and utm represents channel information of the media public number, including content such as a public number ID and a public number article information.
After receiving the synchronization data to be synchronized, the server provided in the embodiment of the present invention generates a segment of text identification code, such as "{ xxxxxxxxx }", according to a generation rule, and stores the text identification code, the synchronized data, and a receiving time of the synchronization data (time of the synchronization request) in the server. And the server returns the generated character identification code to the commodity detail page of the Web application through generating a character identification code interface.
In this embodiment, when the user clicks the "open target APP" button of the product detail page of the Web application, the Web application writes the text identifier returned by the text identifier interface into the clipboard, and tries to wake up the target APP (i.e., the APP that receives data) in this example through the URL Scheme or the Universal Links. And under the condition that the target APP cannot be awakened, the Web application jumps to the application store APP to guide the user to install the target APP.
In this embodiment, after waking up the target APP to start or after the user installs the target APP, the target APP requests the server to check the rule interface, and the interface returns a check rule, such as the matching regular expression of the above-mentioned character identification code "{ [ \ \ w-% + () ]! < > ] +? This is. After the target APP requests to check the rule interface, the target APP reads the terminal clipboard and obtains the content of the clipboard.
In this embodiment, the target APP checks the obtained clipboard content using the check rule, and if not, the process ends. If the clipboard content conforms to the check rule, the clipboard content is sent to the data interface of the server requesting synchronization, and the sent data is the clipboard content, such as "@ { xxxxxxx }" this ".
In this embodiment, after the synchronous data interface of the server side accesses the data of the clipboard, the locally stored content is queried, and if the server does not have corresponding synchronous data, the target APP data is returned to be empty, and this process ends.
In this embodiment, if the server queries that there is corresponding synchronous data, it is queried whether the time of the synchronous data is timeout, for example, it is specified that the timeout time is three days, if the synchronous data is stored three days ago, the data at the target APP end is returned to be empty, and this process ends. If the synchronous data is not overtime, inquiring whether the operation function module needing the synchronous data is closed, if so, only returning the data of the opened operation function module, for example, closing the page jump function corresponding to the router, only returning the data reported by the utm channel information, if the operation function modules of the synchronous data are closed, returning that the data of the target APP terminal is empty, and ending the process.
In this embodiment, if the received synchronization data is null, the target APP does not perform any processing, and this flow ends; if the received data has content and a router parameter, the target APP opens a page corresponding to the corresponding page path and displays the page; if utm parameters exist in the received synchronous data, the target APP terminal stores utm parameters locally, so that a subsequent interface requests the additional data, and simultaneously reports channel information through a log interface.
Under the condition that the target APP is not installed, a commodity detail page of a user in Web application can be restored, the order rate of the user is improved, the user flow data of each channel flow of media public number delivery, the application quantity of installation receiving data and the quantity of new users are accurately counted, data reference is provided for quality judgment of the media public number delivery, and the quality of the media delivery is improved.
Recommending optimized scenes for commodities:
in the related art, historical data of commodities browsed by users of a Web application and a target APP are independent, when the Web application guides the users to open the target APP, if the users do not log in, a commodity list only displays the commodities by using default recommendation. According to the technical scheme provided by the embodiment of the invention, the commodity browsing history data generated by the UUID corresponding to the Web application can be synchronized to the target APP, if the target APP does not have the browsing history, the commodity browsing history data of the Web application is used for obtaining the commodity recommendation list when the target APP starts to request the commodity recommendation interface, and the ordering purchase rate is improved by optimizing the individual commodity recommendation of a new user.
Aiming at the scene of account association:
in a Web application or an applet in the related art, if a user logs in, after entering a target APP through guidance, a login box is often required to pop up when ordering is purchased to prompt the user to log in, or log in a personal center, so that shopping experience is influenced. If account association in two applications needs to be realized, user account information needs to be transmitted, and the user account information is sensitive, so that the user account information cannot be transmitted in a clear text.
In the embodiment of the invention, the user account information can be safely synchronized through each application terminal, so that account correlation operation is realized.
The method comprises the following specific steps:
for example, if the user logs in at the Web application by using a mobile phone number, the corresponding user information is sent to the server and stored. When the target APP is started, synchronous user information can be obtained, and if the target APP is logged in, the process is stopped; and if the target APP does not log in, popping up a login popup window to prompt that the system detects that a xxx account is logged in and whether account association is performed, and when the user selects account association, sending a short message verification code for verification, and logging in after verification is passed.
For another example, if the user has logged in the applet, the corresponding user information may also be stored in the server by the method provided in this example; when a target APP is started, synchronous user information is obtained, and if the target APP is logged in, the process is stopped; and if the target APP does not log in, popping up a login popup window to prompt that the system detects that a xxx account is logged in and whether account association is performed, and when the user selects account association, jumping to the applet to perform login authorization operation.
According to the embodiment, the login enthusiasm of the user can be improved through the prompt related to the account number, the login process in the subsequent shopping process is reduced, and the shopping experience of the user is improved.
Fig. 7 is a block diagram of a data synchronization apparatus according to an embodiment of the present invention, and as shown in fig. 7, the apparatus includes: a first application 710 and a second application 720;
the first application comprises a sending module 711 and a storage module 712, and the second application comprises a reading module 721 and a receiving/responding module 722;
the sending module 711 is configured to send the synchronization data and the corresponding character identification code to the server, or send the synchronization data to the server, and receive the character identification code corresponding to the synchronization data, which is fed back by the server;
a storage module 712, configured to store the text identifier in a clipboard;
the reading module 721 is configured to read the text identifier in the clipboard, and when it is determined that the read text identifier meets the verification rule, send the read text identifier to the server;
and the receiving/responding module 722 is configured to receive the synchronous data corresponding to the character identification code fed back by the server, and perform a responding operation on the synchronous data.
Optionally, the sending, by the first application, the synchronization data and the corresponding text identification code to the server includes:
the first application generates a character identification code according to a built-in generation rule, or when the first application is started, sends an acquisition request of the generation rule to a server, receives the generation rule sent by the server based on the acquisition request, and generates the character identification code based on the received generation rule;
and the first application sends the character identification code and the synchronous data to the server.
Optionally, the generated rule includes a rule content matched through a regular expression, or includes a feature identified by a specific single character or a combination of multiple characters, or includes a key value used by the server for querying.
Optionally, the synchronization data includes at least one of:
a page path and parameters of the first application;
channel information in the first application;
the popup content required to be displayed by the first application;
user identification information of the first application;
user behavior data for the first application;
the first application generates data-carried content.
Optionally, the responding to the synchronization data includes at least one of:
displaying a page corresponding to the page path contained in the synchronous data, and displaying commodities in the page based on parameters contained in the synchronous data;
reporting channel information of the synchronous data;
displaying content corresponding to the user identification information;
requesting to recommend and display corresponding content according to the user behavior data;
and executing other preset operations corresponding to the synchronous data.
Optionally, when it is determined that the read character identification code conforms to the verification rule, the read character identification code is sent to a server, including:
the second application sends a verification request to a server and receives a verification rule fed back by the server based on the verification request;
the second application judges whether the read character identification code accords with the check rule or not;
and if so, the second application sends the read character identification code to a server.
Optionally, the first application is a Web application, and the second application is an application for receiving data;
the first application sends the synchronous data to a server and receives the character identification code which is fed back by the server and corresponds to the synchronous data, and the method comprises the following steps:
when commodity promotion resources released through a media public number enter a commodity detail page displayed by a Web application, the Web application sends synchronous data to a server; the synchronous data comprises a page path and parameters corresponding to the commodity detail page and channel information of the media public number;
the Web application receives a character identification code corresponding to the synchronous data fed back by the server;
correspondingly, the first application stores the text recognition code in a clipboard, including:
when the operation that a user triggers an application for receiving data in the commodity detail page is detected, the Web application stores the character recognition code in a clipboard;
correspondingly, the reading of the character recognition code in the clipboard by the second application includes:
when the second application is awakened and started or the second application is installed and started, reading a character identification code in the clipboard;
correspondingly, the response operation on the synchronous data comprises the following steps:
if the synchronous data received by the application for receiving the data comprises a page path and parameters of a commodity detail page, displaying a page corresponding to the page path, and displaying commodities in the page based on the parameters;
and if the synchronous data received by the application for receiving the data comprises the channel information of the media public number, reporting the channel information.
Optionally, the first application is a Web application, and the second application is an application for receiving data; the synchronous data is commodity browsing history data of Web application;
the responding operation to the synchronous data comprises:
and the application receiving the data acquires a commodity recommendation list from the server based on the commodity browsing history data.
Optionally, the synchronization data is user information logged in the first application;
the responding operation to the synchronous data comprises:
when the second application is not logged in, displaying a prompt for a user to select whether account association is carried out between the first application and the second application;
and the second application performs login based on the user information based on account association operation selected by the user.
The device can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 8 is a block diagram of a data synchronization apparatus according to an embodiment of the present invention, and as shown in fig. 8, the apparatus 800 includes: a receiving module 810 and a query module/feedback module 820.
A receiving module 810, configured to receive synchronous data and a corresponding text identifier sent by a first application, or receive synchronous data sent by the first application, and feed back a text identifier corresponding to the synchronous data to the first application;
a query module/feedback module 820, configured to receive the text identifier sent by the second application, query synchronization data corresponding to the text identifier sent by the second application, and feed back the queried synchronization data to the second application.
Optionally, the querying synchronization data corresponding to the text identifier sent by the second application, and feeding back the queried synchronization data to the second application include:
inquiring synchronous data corresponding to the character identification code sent by the second application;
judging whether the inquired synchronous data is valid or not;
feeding back valid synchronization data to the second application.
Optionally, the determining whether the queried synchronization data is valid includes at least one of:
whether the synchronization data is within a specified validity period;
whether the application scene operation of the synchronous data is started or not.
Optionally, the receiving module 810 is further configured to:
and the server receives a verification request sent by the second application and sends a verification rule to the second application based on the verification request so that the second application verifies the character identification code based on the verification rule.
The device can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 9 is a schematic structural diagram of an apparatus provided in an embodiment of the present invention, and as shown in fig. 9, the apparatus includes:
one or more processors 910, one processor 910 being illustrated in FIG. 9;
a memory 920;
the apparatus may further include: an input device 930 and an output device 940.
The processor 910, the memory 920, the input device 930 and the output device 940 of the apparatus may be connected by a bus or other means, and fig. 9 illustrates the connection by the bus as an example.
The memory 920, as a non-transitory computer-readable storage medium, may be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to a data synchronization method in an embodiment of the present invention (e.g., the sending module 711, the storage module 712, the reading module 721, and the receiving/responding module 722 shown in fig. 7), or program instructions/modules corresponding to a data synchronization method in an embodiment of the present invention (e.g., the receiving module 810 and the query module/feedback module 820 shown in fig. 8). The processor 910 executes various functional applications and data processing of the computer device by running software programs, instructions and modules stored in the memory 920, namely, implementing a data synchronization method of the above method embodiment, that is:
the method comprises the steps that a first application sends synchronous data and a corresponding character identification code to a server, or the first application sends the synchronous data to the server and receives the character identification code corresponding to the synchronous data fed back by the server;
the first application stores the character recognition code in a clipboard;
the second application reads the character recognition code in the clipboard and sends the read character recognition code to the server when the fact that the read character recognition code accords with a check rule is determined;
and the second application receives the synchronous data corresponding to the character identification code fed back by the server and carries out response operation on the synchronous data.
Or a data synchronization method for implementing the above method embodiment, that is:
the method comprises the steps that a server receives synchronous data and a corresponding character identification code sent by a first application, or receives the synchronous data sent by the first application, and feeds back the character identification code corresponding to the synchronous data to the first application;
and the server receives the character identification code sent by the second application, inquires synchronous data corresponding to the character identification code sent by the second application, and feeds the inquired synchronous data back to the second application.
The memory 920 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 920 may optionally include memory located remotely from processor 910, which may be connected to a terminal device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus. The output device 940 may include a display device such as a display screen.
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a data synchronization method according to an embodiment of the present invention:
the method comprises the steps that a first application sends synchronous data and a corresponding character identification code to a server, or the first application sends the synchronous data to the server and receives the character identification code corresponding to the synchronous data fed back by the server;
the first application stores the character recognition code in a clipboard;
the second application reads the character recognition code in the clipboard and sends the read character recognition code to the server when the fact that the read character recognition code accords with a check rule is determined;
and the second application receives the synchronous data corresponding to the character identification code fed back by the server and carries out response operation on the synchronous data.
Or a data synchronization method for implementing the above method embodiment, that is:
the method comprises the steps that a server receives synchronous data and a corresponding character identification code sent by a first application, or receives the synchronous data sent by the first application, and feeds back the character identification code corresponding to the synchronous data to the first application;
and the server receives the character identification code sent by the second application, inquires synchronous data corresponding to the character identification code sent by the second application, and feeds the inquired synchronous data back to the second application.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (17)

1. A method of data synchronization, comprising:
the method comprises the steps that a first application sends synchronous data and a corresponding character identification code to a server, or the first application sends the synchronous data to the server and receives the character identification code corresponding to the synchronous data fed back by the server;
the first application stores the character recognition code in a clipboard;
the second application reads the character recognition code in the clipboard after being started, and sends the read character recognition code to the server when the fact that the read character recognition code accords with a check rule is determined; the second application is booted and started through the first application;
and the second application receives the synchronous data corresponding to the character identification code fed back by the server and carries out response operation on the synchronous data.
2. The method of claim 1, wherein the first application sends synchronization data and corresponding text identifiers to a server, comprising:
the first application generates a character identification code according to a built-in generation rule, or when the first application is started, sends an acquisition request of the generation rule to a server, receives the generation rule sent by the server based on the acquisition request, and generates the character identification code based on the received generation rule;
and the first application sends the character identification code and the synchronous data to the server.
3. The method of claim 2, wherein the generated rule contains rule contents matched by a regular expression, or contains a feature identified by a specific single character or a combination of multiple characters, or contains a key value used by the server for querying.
4. The method of claim 1, wherein the synchronization data comprises at least one of:
a page path and parameters of the first application;
channel information in the first application;
the popup content required to be displayed by the first application;
user identification information of the first application;
user behavior data for the first application;
the first application generates data-carried content.
5. The method of claim 4, wherein said performing responsive operations on said synchronized data comprises at least one of:
displaying a page corresponding to the page path contained in the synchronous data, and displaying commodities in the page based on parameters contained in the synchronous data;
reporting channel information of the synchronous data;
displaying content corresponding to the user identification information;
requesting to recommend and display corresponding content according to the user behavior data;
and executing other preset operations corresponding to the synchronous data.
6. The method of claim 1, wherein when it is determined that the read word recognition code meets a verification rule, sending the read word recognition code to a server, comprises:
the second application sends a verification request to a server and receives a verification rule fed back by the server based on the verification request;
the second application judges whether the read character identification code accords with the check rule or not;
and if so, the second application sends the read character identification code to a server.
7. The method of any of claims 1-3, wherein the first application is a Web application and the second application is an application that receives data;
the first application sends the synchronous data to a server and receives the character identification code which is fed back by the server and corresponds to the synchronous data, and the method comprises the following steps:
when commodity promotion resources released through a media public number enter a commodity detail page displayed by a Web application, the Web application sends synchronous data to a server; the synchronous data comprises a page path and parameters corresponding to the commodity detail page and channel information of the media public number;
the Web application receives a character identification code corresponding to the synchronous data fed back by the server;
correspondingly, the first application stores the text recognition code in a clipboard, including:
when the operation that a user triggers an application for receiving data in the commodity detail page is detected, the Web application stores the character recognition code in a clipboard;
correspondingly, the reading of the character recognition code in the clipboard by the second application includes:
when the second application is awakened and started or the second application is installed and started, reading a character identification code in the clipboard;
correspondingly, the response operation on the synchronous data comprises the following steps:
if the synchronous data received by the application for receiving the data comprises a page path and parameters of a commodity detail page, displaying a page corresponding to the page path, and displaying commodities in the page based on the parameters;
and if the synchronous data received by the application for receiving the data comprises the channel information of the media public number, reporting the channel information.
8. The method of any of claims 1-3, wherein the first application is a Web application and the second application is an application that receives data; the synchronous data is commodity browsing history data of Web application;
the responding operation to the synchronous data comprises:
and the application receiving the data acquires a commodity recommendation list from the server based on the commodity browsing history data.
9. A method according to any of claims 1-3, wherein the synchronization data is user information logged into the first application;
the responding operation to the synchronous data comprises:
when the second application is not logged in, displaying a prompt for a user to select whether account association is carried out between the first application and the second application;
and the second application performs login based on the user information based on account association operation selected by the user.
10. A method of data synchronization, comprising:
the method comprises the steps that a server receives synchronous data and a corresponding character identification code sent by a first application, or receives the synchronous data sent by the first application, and feeds back the character identification code corresponding to the synchronous data to the first application;
the server receives the character identification code sent by a second application, inquires synchronous data corresponding to the character identification code sent by the second application, and feeds the inquired synchronous data back to the second application; the second application is booted up by the first application.
11. The method of claim 10, wherein querying synchronization data corresponding to the text identifier sent by the second application and feeding the queried synchronization data back to the second application comprises:
inquiring synchronous data corresponding to the character identification code sent by the second application;
judging whether the inquired synchronous data is valid or not;
feeding back valid synchronization data to the second application.
12. The method of claim 11, wherein the determining whether the queried synchronization data is valid comprises at least one of:
whether the synchronization data is within a specified validity period;
whether the application scene operation of the synchronous data is started or not.
13. The method of claim 9, further comprising:
and the server receives a verification request sent by the second application and sends a verification rule to the second application based on the verification request so that the second application verifies the character identification code based on the verification rule.
14. A data synchronization apparatus, comprising: a first application and a second application;
the first application comprises a sending module and a storage module, and the second application comprises a reading module and a receiving/responding module; the second application is booted and started through the first application;
the sending module is used for sending the synchronous data and the corresponding character identification code to a server, or sending the synchronous data to the server, and receiving the character identification code which is fed back by the server and corresponds to the synchronous data;
the storage module is used for storing the character identification code in a clipboard;
the reading module is used for reading the character recognition code in the clipboard after starting and sending the read character recognition code to the server when the fact that the read character recognition code accords with a check rule is determined;
and the receiving/responding module is used for receiving the synchronous data corresponding to the character identification code fed back by the server and responding the synchronous data.
15. A data synchronization apparatus, comprising:
the receiving module is used for receiving synchronous data and a corresponding character identification code sent by a first application, or receiving the synchronous data sent by the first application and feeding back the character identification code corresponding to the synchronous data to the first application;
the query module/feedback module is used for receiving the character identification code sent by the second application, querying synchronous data corresponding to the character identification code sent by the second application and feeding the queried synchronous data back to the second application; the second application is booted up by the first application.
16. An apparatus, comprising:
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 method of any one of claims 1-13.
17. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 13.
CN202010135494.XA 2020-03-02 2020-03-02 Data synchronization method, device, equipment and storage medium Active CN111352749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010135494.XA CN111352749B (en) 2020-03-02 2020-03-02 Data synchronization method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010135494.XA CN111352749B (en) 2020-03-02 2020-03-02 Data synchronization method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111352749A CN111352749A (en) 2020-06-30
CN111352749B true CN111352749B (en) 2021-02-26

Family

ID=71197188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010135494.XA Active CN111352749B (en) 2020-03-02 2020-03-02 Data synchronization method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111352749B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113225381B (en) * 2021-04-02 2022-09-13 中冶南方都市环保工程技术股份有限公司 Data interaction method, data interaction system and computer equipment
CN114900552A (en) * 2022-04-13 2022-08-12 支付宝(杭州)信息技术有限公司 Driving reminding pushing processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753969A (en) * 2013-12-25 2015-07-01 腾讯科技(深圳)有限公司 Method and device for synchronizing clipboard content information
CN107071005A (en) * 2017-03-24 2017-08-18 厦门中控生物识别信息技术有限公司 A kind of method of data synchronization and system
CN109543122A (en) * 2018-11-28 2019-03-29 网易(杭州)网络有限公司 Content synchronization method, device, storage medium and electronic device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040110462A1 (en) * 2002-12-05 2004-06-10 Antti Forstadius Method and system for creating rich calls
US8984390B2 (en) * 2008-09-15 2015-03-17 Palantir Technologies, Inc. One-click sharing for screenshots and related documents
CN101546335A (en) * 2009-04-27 2009-09-30 金星辉 Method and system for sharing computer aided design software data
CN103118048A (en) * 2011-11-17 2013-05-22 腾讯科技(深圳)有限公司 Data synchronization method, server and terminal
CN108337303A (en) * 2018-01-24 2018-07-27 ***股份有限公司 A kind of method of data synchronization and distributed system
CN109471738B (en) * 2018-10-16 2021-08-20 五八有限公司 Method for identifying application program downloading channel and related equipment
CN110737545B (en) * 2019-09-24 2021-12-17 华青融天(北京)软件股份有限公司 Data processing method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753969A (en) * 2013-12-25 2015-07-01 腾讯科技(深圳)有限公司 Method and device for synchronizing clipboard content information
CN107071005A (en) * 2017-03-24 2017-08-18 厦门中控生物识别信息技术有限公司 A kind of method of data synchronization and system
CN109543122A (en) * 2018-11-28 2019-03-29 网易(杭州)网络有限公司 Content synchronization method, device, storage medium and electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
多渠道推广场景下,如何实现 App 用户增长的精准归因?;徐练胜;《https://cloud.tencent.com/developer/article/1508845》;20190918;第1-4页 *

Also Published As

Publication number Publication date
CN111352749A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN105530175B (en) Message processing method, device and system
US10311877B2 (en) Performing tasks and returning audio and visual answers based on voice command
US8806515B2 (en) Exposure of remotely invokable method through a webpage to an application outside web browser
CN110875933B (en) Information matching confirmation method and device
JP6414855B2 (en) Page operation processing method and apparatus, and terminal
TW201804323A (en) Method and device for waking up APP application through mobile browser
CN111352749B (en) Data synchronization method, device, equipment and storage medium
CN109218410B (en) Message display method and terminal equipment
US9032045B1 (en) Systems and methods for using a uniform resource locator to call for different types of content
CN103345696A (en) Display method, device and mobile terminal of pushing information
US20230237531A1 (en) Methods, systems, and media for dynamically detecting mobile environment information
US9537807B2 (en) Automatically transitioning a user from a call to action to an enrollment interface
CN111222153B (en) Application program authority management method and device and storage medium
US20130311584A1 (en) Computer-based method and system for processing a file request in response to a message received from a user mobile device
WO2015081716A1 (en) Method, system, and related device for providing application service
CN110928603A (en) Service providing method and device
US11089085B2 (en) Passing of data via deep links for application components
CN114265642A (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN111240750B (en) Awakening method and device for target application program
CN110856173B (en) Network access method and device and electronic equipment
KR101479987B1 (en) Free sms/mms system using smart phone
CN105338044B (en) Method, device and system for issuing information flow
CN105791568B (en) Information processing method and terminal thereof
KR102103029B1 (en) Mobile Terminal Device, Service Device, System and Method for upgrading a application using API
CN113965357B (en) Cross-domain website login state synchronization method, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 519085 Building 8, No.1, Tangjiawan Harbin Institute of technology, high tech Zone, Zhuhai City, Guangdong Province

Applicant after: Zhuhai necessary Industrial Technology Co.,Ltd.

Address before: 519085 Building 8, No.1, Tangjiawan Harbin Institute of technology, high tech Zone, Zhuhai City, Guangdong Province

Applicant before: ZHUHAI SUIBIAN TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant