CN106503134B - Browser jumps to the method for data synchronization and device of application program - Google Patents

Browser jumps to the method for data synchronization and device of application program Download PDF

Info

Publication number
CN106503134B
CN106503134B CN201610913502.2A CN201610913502A CN106503134B CN 106503134 B CN106503134 B CN 106503134B CN 201610913502 A CN201610913502 A CN 201610913502A CN 106503134 B CN106503134 B CN 106503134B
Authority
CN
China
Prior art keywords
browser
url
application
web page
destination 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.)
Active
Application number
CN201610913502.2A
Other languages
Chinese (zh)
Other versions
CN106503134A (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.)
Guangdong Mingchuang Software Technology Co ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610913502.2A priority Critical patent/CN106503134B/en
Publication of CN106503134A publication Critical patent/CN106503134A/en
Application granted granted Critical
Publication of CN106503134B publication Critical patent/CN106503134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses method of data synchronization and device that a kind of browser jumps to application program, the method comprise the steps that the first web page resources request that detection is initiated in a browser, when detecting first web page resources request, obtains first web page resources and request corresponding first URL;Local application list is read, application program corresponding with the first URL is searched in the local application list as destination application;If finding, application interface corresponding with the first URL in the destination application is jumped to;It obtains the second web page resources initiated in the destination application and requests corresponding 2nd URL, behavior record is generated according to the 2nd URL;The behavior record is sent in the browser according to preset synchronizing cycle and is stored, the browser is used to the behavior record of the storage reporting to server.Using the embodiment of the present invention, browser data statistical accuracy can be improved.

Description

Browser jumps to the method for data synchronization and device of application program
Technical field
The present invention relates to the data sides of synchronization that field of computer technology more particularly to a kind of browser jump to application program Method and device.
Background technique
Browser is and to allow user and these file interactions for showing the file in Website server or file system A kind of application software, it may be displayed on text, image and other information in WWW or local area network etc., these texts or figure The hyperlink of other network address is connected as can be, user can browse rapidly and easily various information.
When user is when carrying out web page browsing, if terminal is mounted with application program corresponding with the website browsed, Terminal can leave browser interface and jump opening application program automatically, for example, when accessing Taobao in a browser, terminal inspection Measure it is locally-installed have mobile phone Taobao software, the client of mobile phone Taobao can be automatic jumped to.
In this case, the statistical server of access record of browser is counted in counting user flow, Zhi Nengtong The access record of user on a web browser before jumping to the APP such as Taobao is counted, and is continued in user enterprising in APP such as Taobaos When row shopping, the access record for clicking button or link generation can not then be obtained by statistical server, this allows for statistical fractals The access incomplete recording face that device counts causes the accuracy rate of statistics lower.
Summary of the invention
The embodiment of the present invention proposes the method for data synchronization that a kind of browser jumps to application program, can solve terminal Application program jumps the technical issues of causing browser data statistics accuracy rate to reduce automatically.
A kind of browser jumps to the method for data synchronization of application program, comprising:
The the first web page resources request initiated in a browser is detected, when detecting first web page resources request, It obtains first web page resources and requests corresponding first URL;
Local application list is read, is searched in the local application list corresponding with the first URL Application program is as destination application;
If finding, application interface corresponding with the first URL in the destination application is jumped to;
It obtains the second web page resources initiated in the destination application and requests corresponding 2nd URL, according to described 2nd URL generates behavior record;
The behavior record is sent in the browser according to preset synchronizing cycle and is stored, the browser For the behavior record of the storage to be reported to server.
It is described in one of the embodiments, to obtain the second web page resources request initiated in the destination application Corresponding 2nd URL further include:
Obtain the initiation timestamp of the second web page resources request corresponding with the 2nd URL;
It is described that behavior record is generated according to the 2nd URL further include:
The initiation timestamp of the second web page resources request corresponding with the 2nd URL is added in the behavior record.
It is described in one of the embodiments, that the behavior record is sent to by the browsing according to preset synchronizing cycle Before being stored in device further include:
Obtain target URL corresponding to the first object webpage of the destination application current presentation;
The target URL is sent to the browser, the browser is for showing corresponding with the target URL the Two target webpages.
In one of the embodiments, before the generation behavior record according to the 2nd URL further include:
Obtain search key corresponding with the second web page resources request initiated in the destination application;
Obtain webpage thumbnail corresponding with the second web page resources request initiated in the destination application;
It is described that behavior record is generated according to the 2nd URL further include:
Described search keyword and/or the webpage thumbnail are added in the behavior record.
It is described in one of the embodiments, to jump to corresponding with the first URL in the destination application answer Before interface further include:
Judge whether the destination application belongs to the preset white list for jumping application program, if so, Application interface corresponding with the first URL in the destination application is jumped to described in execution.
Furthermore, it is also proposed that a kind of browser jumps to the data synchronization unit of application program.
A kind of browser jumps to the data synchronization unit of application program, comprising:
Network resource request detection module is being detected for detecting the first web page resources initiated in a browser request To when first web page resources request, obtains first web page resources and request corresponding first URL;
Destination application determining module, for reading local application list, in the local application list It is middle to search application program corresponding with the first URL as destination application;
Interface jump module, for jumping to application interface corresponding with the first URL in the destination application;
Behavior record generation module, for obtaining the second web page resources initiated in destination application request pair The 2nd URL answered generates behavior record according to the 2nd URL;
Data simultaneous module, for according to preset synchronizing cycle by the behavior record be sent in the browser into Row storage, the browser are used to the behavior record of the storage reporting to server.
The behavior record generation module is also used to obtain corresponding with the 2nd URL in one of the embodiments, The initiation timestamp of second web page resources request;The second webpage corresponding with the 2nd URL is added in the behavior record The initiation timestamp of resource request.
The data simultaneous module is also used to obtain the destination application current presentation in one of the embodiments, First object webpage corresponding to target URL;The target URL is sent to the browser, the browser is for opening up Show the second target webpage corresponding with the target URL.
In one of the embodiments, the behavior record generation module be also used to obtain with it is described in the target application The second web page resources initiated in program request corresponding search key;Acquisition is sent out in the destination application with described The second web page resources risen request corresponding webpage thumbnail;In the behavior record be added described search keyword and/or The webpage thumbnail.
Described device further includes white list judgment module in one of the embodiments, for judging the target application Whether program belongs to the preset white list for jumping application program, belongs in the destination application described preset When can jump the white list of application program, the interface jump module is called.
It is jumped to using above-mentioned browser after the method for data synchronization and device of application program, in user in browser When middle progress web page browsing, the address information of accessed webpage is parsed, if the application journey installed in the address information and terminal Sequence be it is matched, then jump in corresponding application program continue webpage browsing;Also, continue to dig webpage in the application During browsing, be recorded in the application program carry out web page browsing caused by access record, and timing or in real time will The access record of record is sent to browser, so that the access data on browser are synchronous with the access data in application program , and together report access record in the application when reporting access to record.Although that is, in a browser Jump to during access webpage and carry out web page browsing in application program, but because statistical server counting user visit When asking record, access record of the user in application program is also counted, there is no cause because application server is jumped to Complete access record can not be counted, i.e., statistical server statistics is that user completely accesses record, improves user's access Record statistical accuracy.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Wherein:
Fig. 1 jumps to the flow diagram of the method for data synchronization of application program for browser a kind of in one embodiment;
Fig. 2 jumps to the structural schematic diagram of the data synchronization unit of application program for browser a kind of in one embodiment;
Fig. 3 sets to run the computer for the method for data synchronization that aforementioned browser jumps to application program in one embodiment Standby structural schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In the present embodiment, the method for data synchronization that a kind of browser jumps to application program, the reality of this method are proposed It now can be dependent on computer program, which can run on the computer system based on von Neumann system, should Computer program can be the application program of starting management or being associated with for browser and other application of the application program in terminal The management application program of starting.The computer system can be such as smart phone, the plate electricity for running above-mentioned computer program The servers such as brain, PC or terminal.
Specifically, as shown in Figure 1, the method for data synchronization that above-mentioned browser jumps to application program includes the following steps:
Step S102: the first web page resources request that detection is initiated in a browser is detecting the first webpage money When source is requested, obtains first web page resources and request corresponding first URL.
During carrying out web page access, user inputs the web page address that will be accessed in address field, or clicks The web page address for other websites for including on website, browser is depending on the user's operation and corresponding web page address generates accordingly HTTP request, and be sent to Web server, that is to say, that user initiates the request of the first web page resources in a browser, and And the request corresponds to above-mentioned web page address.
Scripting language, such as JavaScript etc., the behaviour of detection web page resources request can be pre-defined in a browser Make, such as click event, the click event of button control of hyperlink control, so that obtaining web page resources requests corresponding URL, That is network address.
It should be noted that in the present embodiment, detecting that user initiates first network resource request in a browser When, network address corresponding with the request is obtained, that is, obtains URL (Uniform Resource corresponding with the request Locator)。
Step S104: reading local application list, searches and described first in the local application list The corresponding application program of URL, if finding, thens follow the steps S1060 as destination application: jumping to the target application Application interface corresponding with the first URL in program;If not finding, S1062 is thened follow the steps: opening up in the browser Show the page corresponding with the first URL.
When carrying out website visiting, browser extracts keyword from acquired URL, and passes through keyword and local peace The application information of dress is compared, and has searched whether application program corresponding with the website information.For example, in terminal access When Taobao, obtaining its web page address is " https: //www.taobao.com/ ", and terminal extracts keyword therein and is " taobao ", terminal inquire the application journey that registration information includes keyword " taobao " in local the application list Sequence, i.e. judgement website information is corresponding with local application, and the local application is identified as destination application, should Destination application is the application program jumped.
In the present embodiment, if in the presence of destination application, in order to guarantee that user is good in browsing pages Good applicable experience jumps in destination application and continues to browse and operate.Specifically, browser is finding local When there is application program corresponding with web page address in the application list, i.e., sent the commands to application program management software Jump to corresponding application program;The transmission of the instruction can be straight by the plug-in unit of built-in application program management in a browser It connects to send to application program management software and instruct.It in another embodiment, can also be by browser to terminal control center Transmission instruction, then send and instruct from terminal control center to application program management software, to realize from browser to using journey Sequence jumps.
It should be noted that when jumping to destination application by browser, also by it is above-mentioned detect in browser First web page resources of middle initiation are requested and corresponding first URL is also sent to destination application, target application journey together Sequence after start-up, is shown corresponding with the first URL using boundary according to the request of the first web page resources and corresponding first URL Face initiates web page resources request in a browser and shows Client-initiated web page resources in destination application to realize Request corresponding interface.
Optionally, in one embodiment, not all operation in a browser jumps to corresponding application Program is operated, for example, it is A in application, without jumping, alternatively, may be used also that user, which can be set in the application for needing to jump, It is B in application, being jumped so that the application for needing to jump is arranged in.Further, the white name that can jump application can also be set Blacklist single and that application can not be jumped.
Specifically, in one embodiment, it is above-mentioned jump to it is corresponding with the first URL in the destination application Before application interface further include: judge whether the destination application belongs to the preset white name for jumping application program It is single, if so, jumping to application interface corresponding with the first URL in the destination application described in executing.
That is, application program white list can be jumped by being preset in browser or terminal, that is, detecting terminal In local application list in include application program when being present in the white list, the application program management software of terminal Allow the starting of the application program.For example, in the application program white list being arranged in a browser include Alipay software, when with Family is when accessing website, and comprising " alipay " keyword in the web page interlinkage that is accessed, it is corresponding using journey that browser detects its Sequence is Alipay software, and finds in the local application list of terminal that there are Alipay softwares, also, the Alipay Software belongs on the above-mentioned white list for jumping application, then executes corresponding skip operation.
For another example the blacklist that can not jump application is additionally provided in a browser, in the target application journey that needs jump When sequence belongs to the blacklist, no matter it whether is already installed with the application program at the terminal, without skip operation.
Step S108: obtaining the second web page resources initiated in the destination application and request corresponding 2nd URL, Behavior record is generated according to the 2nd URL.
The behavior record: being sent in the browser according to preset synchronizing cycle and store by step S110, The browser is used to the behavior record of the storage reporting to server.
After jumping to destination application, a process is opened in destination application and is used to record user in mesh The historical data generated during browsing data is carried out in mark application program.For example, user passes through in destination application The historical data for the web data browsing that the operations such as search operation, link clicks operation generate.Specifically, above-mentioned process is in user During carrying out web data browsing, obtains all web page resources initiated in destination application and request corresponding net Page address (or URL), and behavior record is generated according to all URL got.It include that user makes in behavior record With all access records during target application browsing data data.
In order to enable in a browser including all access records of user, and it is reported to web server The complete access record of user when access record, therefore, after user completes the access of data in destination application, Access record of the user in destination application is sent to browser, so that browser obtains the access completed record.
It should be noted that in the present embodiment, the time that access record is sent to browser by destination application can To be real-time, that is to say, that access request of the process detection generally described above into destination application then updates access note Record, and updated access record is sent to browser, so that browser obtains access data in real time, i.e. realization browser Real-time data between destination application are synchronous.
Further, in another embodiment, a synchronizing cycle can also be set, that is to say, that target application journey Access record is sent to browser according to above-mentioned timing synchronizing cycle by sequence, reduces synchronization during data synchronization Number, and the occupancy to terminal resource.
That is, in a browser not only include user's corresponding behavior record or access record in a browser, Further comprise behavior record or access record that user carries out data access in destination application.So that browser exists When behavior record or access record are reported to web server, the data cover that reports user completely accesses record, raising The integrality of reported data.
It should be noted that in the present embodiment, the behavior record that browser reports is sent to clear for destination application It lookes at the behavior record of device, can also include the behavior that browser is generated according to the record of the browsing data carried out on a web browser Record.
Optionally, after user terminates browsing, browser is by the access record storage of user into browser rs cache.It is clear Device of looking at caching, commonly referred to as Cookie, sometimes also with its plural form Cookies, refer to certain websites in order to distinguish user identity, The data (generally going through encryption) for carrying out session tracking and being stored on user local terminal.Cookie is by server end It generates, is sent to User-Agent (usually browser), the key key/ value value of Cookie can be saved in some by browser In text file under catalogue, request next time just to send the Cookie when same website to server (on condition that browser is arranged To enable Cookie).Cookie name claims and is worth can be developed oneself definition by server end, can also be direct for JSP Jsessionid is written, such server is known that whether the user is legitimate user and whether needs to log in again, Server can be set or read comprising information in Cookies, safeguard user with the state in server session whereby.In user After carrying out data access in destination application, corresponding behavior record is also stored in the Cookie of browser together In.
It should be noted that in the present embodiment, while generating behavior record, not only by web page address or URL packet It is contained in behavior record, is stored with timestamp corresponding with each single item behavior record, in behavior record also for distinguishing net The sequencing of page browsing.
Specifically, described obtain the second web page resources request corresponding second initiated in the destination application URL further include: obtain the initiation timestamp of the second web page resources request corresponding with the 2nd URL;It is described according to described Two URL generate behavior record further include: the second web page resources corresponding with the 2nd URL are added in the behavior record and ask The initiation timestamp asked.
It further, can also include the search key of user's input when carrying out Webpage search in behavior record Equal search record, the search record the preference information that may be used to determine user;Also, can also include in behavior record The related datas such as the webpage thumbnail that user generates when browsing webpage.
Specifically, before the above-mentioned generation behavior record according to the 2nd URL further include: obtain and described in the target The second web page resources initiated in application program request corresponding search key;It obtains and described in the destination application Second web page resources of middle initiation request corresponding webpage thumbnail;It is described also to be wrapped according to the 2nd URL generation behavior record It includes: described search keyword and/or the webpage thumbnail being added in the behavior record.
That is, not only obtaining the webpage institute of user's access when user accesses network by destination application Corresponding web page address or corresponding URL, it is also necessary to obtain user during the browsing of webpage caused by search and webpage The search histories such as search official foundation, and above-mentioned search history is added in behavior record, so that web server counts use again The preference information of user is determined when the preference information at family according to search history.
It should be noted that in the present embodiment, what destination application was synchronized to browser is not only access record, The page that can also show destination application is also together as the synchronized of access record is into browser.
Specifically, the described behavior record is sent in the browser according to preset synchronizing cycle stores Before further include: obtain target URL corresponding to the first object webpage of the destination application current presentation;By the mesh Mark URL is sent to the browser, and the browser is for showing the second target webpage corresponding with the target URL.
It, will also be currently in target while behavior record is sent to browser by destination application in specific implementation The corresponding URL of the webpage shown on the displayed page of application program is also sent to browser together, and browser is receiving the URL Later, the corresponding webpage of the URL is loaded, and shows webpage corresponding with the URL on the corresponding displayed page of browser.
In another embodiment, synchronizing for above-mentioned webpage can also be that destination application obtains currently in displayed page The corresponding script file of the target webpage of upper displaying, is then sent to browser for the script text together, and browser is receiving To after script file, target webpage is shown by load script file.
In addition, in one embodiment, as shown in Figure 2, it is also proposed that a kind of browser jumps to the data of application program Synchronizing device, including network resource request detection module 102, destination application determining module 104, interface jump module 106, Behavior record generation module 108 and data simultaneous module 110, in which:
Network resource request detection module 102 is being examined for detecting the first web page resources initiated in a browser request When measuring first web page resources request, obtains first web page resources and request corresponding first URL;
Destination application determining module 104 is arranged for reading local application list in the local application Application program corresponding with the first URL is searched in table as destination application;
Interface jump module 106, it is corresponding with the first URL using boundary in the destination application for jumping to Face;
Behavior record generation module 108 is asked for obtaining the second web page resources initiated in the destination application Corresponding 2nd URL is sought, behavior record is generated according to the 2nd URL;
Data simultaneous module 110, for the behavior record to be sent to the browser according to preset synchronizing cycle In stored, the browser is used to the behavior record of the storage reporting to server.
Optionally, in one embodiment, behavior record generation module 108 is also used to obtain corresponding with the 2nd URL The second web page resources request initiation timestamp;The second net corresponding with the 2nd URL is added in the behavior record The initiation timestamp of page resource request.
Optionally, in one embodiment, data simultaneous module 110 is also used to obtain the destination application and currently opens up Target URL corresponding to the first object webpage shown;The target URL is sent to the browser, the browser is used for Show the second target webpage corresponding with the target URL.
Optionally, in one embodiment, behavior record generation module 108 is also used to obtain and answer with described in the target Corresponding search key is requested with the second web page resources initiated in program;It obtains and described in the destination application The second web page resources initiated request corresponding webpage thumbnail;In the behavior record be added described search keyword and/ Or the webpage thumbnail.
Optionally, in one embodiment, it as shown in Fig. 2, above-mentioned apparatus further includes white list judgment module 112, is used for Judge whether the destination application belongs to the preset white list for jumping application program, in the target application journey When sequence belongs to the preset white list for jumping application program, the interface jump module 106 is called.
It is jumped to using above-mentioned browser after the method for data synchronization and device of application program, in user in browser When middle progress web page browsing, the address information of accessed webpage is parsed, if the application journey installed in the address information and terminal Sequence be it is matched, then jump in corresponding application program continue webpage browsing;Also, continue to dig webpage in the application During browsing, be recorded in the application program carry out web page browsing caused by access record, and timing or in real time will The access record of record is sent to browser, so that the access data on browser are synchronous with the access data in application program , and together report access record in the application when reporting access to record.Although that is, in a browser Jump to during access webpage and carry out web page browsing in application program, but because statistical server counting user visit When asking record, access record of the user in application program is also counted, there is no cause because application server is jumped to Complete access record can not be counted, i.e., statistical server statistics is that user completely accesses record, improves user's access Record statistical accuracy.
In one embodiment, as shown in figure 3, Fig. 3 is illustrated and a kind of run above-mentioned browser and jump to application program The terminal of the computer system based on von Neumann system of method of data synchronization.The computer system can be smart phone, The terminal devices such as tablet computer, palm PC, laptop or PC.Specifically, may include being connected by system bus Outer input interface 1001, processor 1002, memory 1003 and the output interface 1004 connect.Wherein, outer input interface 1001 can optionally include at least network interface 10012.Memory 1003 may include external memory 10032 (such as hard disk, CD Or floppy disk etc.) and built-in storage 10034.Output interface 1004 can include at least the equipment such as display screen 10042.
In the present embodiment, the operation of this method is based on computer program, and the program file of the computer program is stored in In the external memory 10032 of the aforementioned computer system based on von Neumann system, it is loaded into built-in storage at runtime It in 10034, is then compiled as being transferred in processor 1002 after machine code executing, so that being based on von Neumann system Computer system in form network resource request detection module 102 in logic, destination application determining module 104, boundary Face jump module 106, behavior record generation module 108, data simultaneous module 110 and white list judgment module 112.And upper It states browser to jump in the method for data synchronization implementation procedure of application program, the parameter of input passes through outer input interface 1001 receive, and are transferred in memory 1003 and cache, and are then input in processor 1002 and are handled, the number of results of processing According to or be cached in memory 1003 and subsequently handled, or be passed to output interface 1004 and exported.
Specifically, in one embodiment, above-mentioned processor 1002 is for detecting the first webpage initiated in a browser Resource request obtains the first web page resources request corresponding first when detecting first web page resources request URL;Local application list is read, application corresponding with the first URL is searched in the local application list Program is as destination application;If finding, corresponding with the first URL in the destination application answer is jumped to Use interface;It obtains the second web page resources for initiating in the destination application and requests corresponding 2nd URL, according to described the Two URL generate behavior record;The behavior record is sent in the browser according to preset synchronizing cycle and is stored, The browser is used to the behavior record of the storage reporting to server.
In an alternate embodiment of the invention, processor 1002 is also used to obtain the second web page resources corresponding with the 2nd URL The initiation timestamp of request;The hair of the second web page resources request corresponding with the 2nd URL is added in the behavior record Play timestamp.
In an alternate embodiment of the invention, the behavior record is sent to described by processor 1002 according to preset synchronizing cycle Before being stored in browser, processor 1002 is also used to obtain the first object net of the destination application current presentation Target URL corresponding to page;The target URL is sent to the browser, the browser is for showing and the target Corresponding second target webpage of URL.
In an alternate embodiment of the invention, before processor 1002 generates behavior record according to the 2nd URL, processor 1002 It is also used to obtain search key corresponding with the second web page resources request initiated in the destination application;It obtains Take webpage thumbnail corresponding with the second web page resources request initiated in the destination application;Further, Processor 1002 is also used to that described search keyword and/or the webpage thumbnail are added in the behavior record.
In an alternate embodiment of the invention, processor 1002 jumps to corresponding with the first URL in the destination application Application interface before, processor is also used to judge whether the destination application belongs to described preset jump using journey The white list of sequence, when belonging to the preset white list for jumping application program, processor 1002 jumps to the target application Application interface corresponding with the first URL in program, and output interface 1004 is for showing the destination application after jumping In application interface corresponding with the first URL.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (11)

1. the method for data synchronization that a kind of browser jumps to application program characterized by comprising
The the first web page resources request initiated in a browser is detected to obtain when detecting first web page resources request First web page resources request corresponding first URL;
Local application list is read, application corresponding with the first URL is searched in the local application list Program is as destination application;
If finding, application interface corresponding with the first URL in the destination application is jumped to;
It obtains the second web page resources initiated in the destination application and requests corresponding 2nd URL, according to described second URL generates behavior record;
The behavior record is sent in the browser according to preset synchronizing cycle and is stored, the browser is used for The behavior record of the storage is reported into server;Wherein, it is described by the behavior record be sent in the browser into Row storage includes: that after carrying out data access in destination application in user, corresponding behavior record is also stored together In the Cookie of browser;
By the page of destination application current presentation together being synchronized in browser with access record, so that described clear Device of looking at shows the identical page.
2. the method for data synchronization that browser according to claim 1 jumps to application program, which is characterized in that described to obtain The second web page resources initiated in the destination application are taken to request corresponding 2nd URL further include:
Obtain the initiation timestamp of the second web page resources request corresponding with the 2nd URL;
It is described that behavior record is generated according to the 2nd URL further include:
The initiation timestamp of the second web page resources request corresponding with the 2nd URL is added in the behavior record.
3. the method for data synchronization that browser according to claim 2 jumps to application program, which is characterized in that described to incite somebody to action The page of destination application current presentation is together as what access recorded being synchronized in browser, so that the browser exhibition Show that the identical page includes:
Obtain target URL corresponding to the first object webpage of the destination application current presentation;
The target URL is sent to the browser, the browser is for showing the second mesh corresponding with the target URL Mark webpage.
4. the method for data synchronization that browser according to claim 1 jumps to application program, which is characterized in that described Before the 2nd URL generation behavior record further include:
Obtain search key corresponding with the second web page resources request initiated in the destination application;
Obtain webpage thumbnail corresponding with the second web page resources request initiated in the destination application;
It is described that behavior record is generated according to the 2nd URL further include:
Described search keyword and/or the webpage thumbnail are added in the behavior record.
5. the method for data synchronization that browser according to claim 1 jumps to application program, which is characterized in that the jump It goes in the destination application before application interface corresponding with the first URL further include:
Judge whether the destination application belongs to the preset white list for jumping application program, if so, executing It is described to jump to application interface corresponding with the first URL in the destination application.
6. the data synchronization unit that a kind of browser jumps to application program characterized by comprising
Network resource request detection module, for detecting the first web page resources initiated in a browser request, detecting When stating the request of the first web page resources, obtains first web page resources and request corresponding first URL;
Destination application determining module is looked into the local application list for reading local application list Look for application program corresponding with the first URL as destination application;
Interface jump module, for jumping to application interface corresponding with the first URL in the destination application;
Behavior record generation module, it is corresponding for obtaining the second web page resources initiated in destination application request 2nd URL generates behavior record according to the 2nd URL;
Data simultaneous module is deposited for the behavior record to be sent in the browser according to preset synchronizing cycle Storage, the browser are used to the behavior record of the storage reporting to server;Wherein, data simultaneous module is in user in mesh It marks after carrying out data access in application program, corresponding behavior record is also stored in together in the Cookie of browser;Institute Data simultaneous module is stated to be also used to the page of destination application current presentation being synchronized to browsing with access record together In device, so that the identical page of the browser-presented.
7. the data synchronization unit that browser according to claim 6 jumps to application program, which is characterized in that the row It is also used to obtain the initiation timestamp of the second web page resources request corresponding with the 2nd URL for record generation module;Institute State the initiation timestamp that the second web page resources request corresponding with the 2nd URL is added in behavior record.
8. the data synchronization unit that browser according to claim 7 jumps to application program, which is characterized in that the number According to synchronization module also particularly useful for target corresponding to the first object webpage for obtaining the destination application current presentation URL;The target URL is sent to the browser, the browser is for showing the second mesh corresponding with the target URL Mark webpage.
9. the data synchronization unit that browser according to claim 6 jumps to application program, which is characterized in that the row It is also used to obtain for record generation module corresponding with the second web page resources request initiated in the destination application Search key;Obtain webpage contracting corresponding with the second web page resources request initiated in the destination application Sketch map;Described search keyword and/or the webpage thumbnail are added in the behavior record.
10. the data synchronization unit that browser according to claim 6 jumps to application program, which is characterized in that described Device further includes white list judgment module, described preset jumps application for judging whether the destination application belongs to The white list of program calls institute when the destination application belongs to the preset white list for jumping application program State interface jump module.
11. a kind of computer readable storage medium, which is characterized in that be stored with program in the computer readable storage medium and refer to It enables, described program is instructed for executing the method according to claim 1 to 5 after calling for computer.
CN201610913502.2A 2016-10-19 2016-10-19 Browser jumps to the method for data synchronization and device of application program Active CN106503134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610913502.2A CN106503134B (en) 2016-10-19 2016-10-19 Browser jumps to the method for data synchronization and device of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610913502.2A CN106503134B (en) 2016-10-19 2016-10-19 Browser jumps to the method for data synchronization and device of application program

Publications (2)

Publication Number Publication Date
CN106503134A CN106503134A (en) 2017-03-15
CN106503134B true CN106503134B (en) 2019-08-13

Family

ID=58318020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610913502.2A Active CN106503134B (en) 2016-10-19 2016-10-19 Browser jumps to the method for data synchronization and device of application program

Country Status (1)

Country Link
CN (1) CN106503134B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218374B (en) * 2017-07-07 2021-11-30 北京小米移动软件有限公司 Application interaction method and device
CN109218375B (en) * 2017-07-07 2021-11-23 北京小米移动软件有限公司 Application interaction method and device
CN109086143B (en) * 2017-06-14 2022-02-08 北京小米移动软件有限公司 Application interaction method and device
WO2018227899A1 (en) 2017-06-14 2018-12-20 北京小米移动软件有限公司 Application interaction method, interaction method and device
CN108156271B (en) * 2017-12-04 2021-03-16 北京小米移动软件有限公司 Communication method and device and electronic equipment
CN112291338B (en) * 2017-12-04 2023-09-19 北京小米移动软件有限公司 Communication method and device and electronic equipment
CN108063804B (en) * 2017-12-04 2021-03-09 北京小米移动软件有限公司 Communication method and device
CN108156221B (en) * 2017-12-04 2021-05-04 北京小米移动软件有限公司 Communication method and device and electronic equipment
CN108156220B (en) * 2017-12-04 2021-12-03 北京小米移动软件有限公司 Communication method and device
CN108287884B (en) * 2018-01-12 2020-06-16 维沃移动通信有限公司 Page display method and mobile terminal
CN108416021B (en) * 2018-03-06 2023-10-13 腾讯科技(深圳)有限公司 Browser webpage content processing method and device, electronic equipment and readable medium
CN108833585B (en) * 2018-07-03 2021-06-29 北京小米移动软件有限公司 Information interaction method and device and storage medium
CN110708346B (en) * 2018-07-09 2023-03-21 北京高绎信息技术有限公司 Information processing system and method
CN109815000B (en) * 2019-02-25 2021-09-03 百度在线网络技术(北京)有限公司 Application invoking method and system, mobile terminal and computer readable medium thereof
CN109933445A (en) * 2019-03-14 2019-06-25 杭州汉领信息科技有限公司 It is not based on the local application call method of the browser-cross cross-system platform of plug-in unit
US11212351B2 (en) * 2019-04-16 2021-12-28 Google Llc Aggregated conversion measurement
CN111079041A (en) * 2019-11-28 2020-04-28 联想(北京)有限公司 Information processing method, system and computer readable storage medium
CN111147498B (en) * 2019-12-28 2021-05-18 物产中大数字科技有限公司 Device and method for automatically synchronizing IP address blacklist
CN111580997A (en) * 2020-05-20 2020-08-25 长沙米拓信息技术有限公司 Method, system, equipment and storage medium for synchronizing contents of application and website
CN111813851B (en) * 2020-05-25 2023-10-20 车智互联(北京)科技有限公司 Method, system and mobile terminal for synchronizing data from mobile application to webpage
CN112764846B (en) * 2020-12-31 2022-12-27 北京达佳互联信息技术有限公司 Interface display method and device, electronic equipment and storage medium
CN113010610A (en) * 2021-04-15 2021-06-22 上海绚显科技有限公司 Data synchronization method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873583A (en) * 2014-03-24 2014-06-18 北京聚思信息咨询有限公司 Method and system for analyzing behaviors of internet users based on cloud platform
CN104050266A (en) * 2014-06-20 2014-09-17 小米科技有限责任公司 Recording method and device for user behaviors and webpage browser
CN104601672A (en) * 2014-12-26 2015-05-06 北京奇虎科技有限公司 Method and device for sharing network resources based on different application clients
CN104809213A (en) * 2015-04-29 2015-07-29 努比亚技术有限公司 Method, device and system for starting application software client
CN105718045A (en) * 2014-12-19 2016-06-29 意美森公司 Systems and Methods for Haptically-Enabled Interactions with Objects

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873583A (en) * 2014-03-24 2014-06-18 北京聚思信息咨询有限公司 Method and system for analyzing behaviors of internet users based on cloud platform
CN104050266A (en) * 2014-06-20 2014-09-17 小米科技有限责任公司 Recording method and device for user behaviors and webpage browser
CN105718045A (en) * 2014-12-19 2016-06-29 意美森公司 Systems and Methods for Haptically-Enabled Interactions with Objects
CN104601672A (en) * 2014-12-26 2015-05-06 北京奇虎科技有限公司 Method and device for sharing network resources based on different application clients
CN104809213A (en) * 2015-04-29 2015-07-29 努比亚技术有限公司 Method, device and system for starting application software client

Also Published As

Publication number Publication date
CN106503134A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN106503134B (en) Browser jumps to the method for data synchronization and device of application program
AU2018201459B2 (en) System and method for improving access to search results
CN106528657A (en) Control method and device for browser skipping to application program
CN106528659B (en) Control method and device for browser to jump to application program
CN106339398B (en) A kind of pre-reading method of Webpage, device and intelligent terminal
US9065793B2 (en) Rendering web content using pre-caching
US9792365B2 (en) Method and system for tracking and gathering multivariate testing data
CN107609135B (en) Page element determining method and device, and user behavior path determining method and device
CN108363815B (en) Webpage pre-reading method and device and intelligent terminal equipment
US10965766B2 (en) Synchronized console data and user interface playback
WO2018053620A1 (en) Digital communications platform for webpage overlay
US20120240019A1 (en) Method and system for tracking web link usage
CN104572777B (en) Webpage loading method and device based on UIWebView component
CN108717435A (en) Webpage loading method, information processing method, computer equipment and storage medium
CN107276842B (en) Interface test method and device and electronic equipment
CN110555146A (en) method and system for generating network crawler camouflage data
CN105868290A (en) Search result presentation method and apparatus
CN110413476A (en) Webpage collapses monitor method, device, computer equipment and storage medium
US11363108B2 (en) Network latency detection
US11782958B2 (en) Multi-user cross-device tracking
CN113326418A (en) Method and device for determining webpage information source and webpage quality
CN107526748A (en) A kind of method and apparatus for identifying user and clicking on behavior
CN104980311B (en) Predict the method, apparatus and system of network access
US20150358397A1 (en) Distributed system
CN116070052A (en) Interface data transmission method, device, terminal and storage medium

Legal Events

Date Code Title Description
C06 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: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210419

Address after: 523860 Room 101, 1st floor, F2, 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong.

Patentee after: GUANGDONG MINGCHUANG SOFTWARE TECHNOLOGY Co.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

TR01 Transfer of patent right