A kind of method, apparatus and electronic equipment across application access target pages
Technical field
This specification embodiment is related to field of computer technology more particularly to a kind of side across application access target pages
Method, device and electronic equipment.
Background technique
Broadly, it is mounted on platform using can be, to be supplied to program software, the client that user uses;Narrow sense
On, using the son application that can also be under client with complete business function, during user uses client, often
The situation for needing to jump between different applications can be encountered.
In the prior art, the page object in the second application that access is different from first application in the first open application
When face, the access target page can be entered in the second application by the second application of triggering starting;When to return the first application or
When person continues to access other application, the second application can be first exited, returns again to the first application or starting other application.
Summary of the invention
In view of this, this specification embodiment provides a kind of method, apparatus and electronics across application access target pages
Equipment needs to start repeatedly asking for different applications when across the page of application access other application in the prior art for solving
Topic.
This specification embodiment adopts the following technical solutions:
This specification embodiment provides a kind of method across application access target pages, is suitable for the first application, comprising:
Determine that the access request includes institute by the access request of the target pages in the application of the first application access second
State the page iden-tity of target pages;
It is obtained and the matched resource of the target pages using the page iden-tity;
In first application, is rendered using the matched resource, show the target pages.
This specification embodiment also provides a kind of method across application access target pages, is suitable for the first application, comprising:
Determine the corresponding resource information of at least one target pages of the second application shown in the first application;
Create it is described first application and the resource information corresponding relationship so that described first apply receiving access
When the access request of the target pages in second application, obtained based on the corresponding relationship matched with the target pages
Resource information is rendered using the corresponding resource of the resource information, shows the target pages.
This specification embodiment also provides a kind of device across application access target pages, is suitable for the first application, comprising:
Determining module determines the access request by the target pages in the application of the first application access second, the access
Request includes the page iden-tity of the target pages;
Module is obtained, is obtained and the matched resource of the target pages using the page iden-tity;
Rendering module is rendered using the matched resource in first application, shows the page object
Face.
This specification embodiment also provides a kind of device across application access target pages, is suitable for the first application, comprising:
Determining module determines the corresponding resource letter of at least one target pages of the second application shown in the first application
Breath;
Creation module creates the corresponding relationship of first application and the resource information, so that described first applies
When receiving the access request for accessing the target pages in second application, obtained and the target based on the corresponding relationship
The matched resource information of the page is rendered using the corresponding resource of the resource information, shows the target pages.
This specification embodiment also provides a kind of electronic equipment, including at least one processor and memory, memory are deposited
Program is contained, and is configured at least one processor and executes following steps:
Determine that the access request includes institute by the access request of the target pages in the application of the first application access second
State the page iden-tity of target pages;
It is obtained and the matched resource of the target pages using the page iden-tity;
In first application, is rendered using the matched resource, show the target pages.
This specification embodiment also provides a kind of electronic equipment, including at least one processor and memory, memory are deposited
Program is contained, and is configured at least one processor and executes following steps:
Determine the corresponding resource information of at least one target pages of the second application shown in the first application;
Create it is described first application and the resource information corresponding relationship so that described first apply receiving access
When the access request of the target pages in second application, obtained based on the corresponding relationship matched with the target pages
Resource information is rendered using the corresponding resource of the resource information, shows the target pages.
This specification embodiment use at least one above-mentioned technical solution can reach it is following the utility model has the advantages that
Determine the access request for passing through the first application access target pages, it can using the page iden-tity carried in access request
To obtain the matched resource of target pages, and then the resource of acquisition can be rendered in the first application, displaying target page
Across application access target pages are realized in face.
It, can be in the first application to matched resource by using the mode for directly acquiring the matched resource of target pages
It is rendered, the target pages in the second application of display are not influencing to avoid starting the first application and the second application repeatedly
In the case where existing business logic in first application, the limitation that target pages must be shown in the second application is broken, has mentioned
High user experience saves customer flow resource.
Detailed description of the invention
Attached drawing described herein is used to provide to further understand this specification embodiment, constitutes this specification and implements
A part of example, the illustrative embodiments and their description of this specification are not constituted to the application not for explaining the application
Work as restriction.In the accompanying drawings:
Fig. 1 is a kind of flow diagram for method across application access target pages that this specification embodiment provides;
Fig. 2 is a kind of flow diagram for method across application access target pages that this specification embodiment provides;
First application and second in a kind of method across application access target pages that Fig. 3 provides for this specification embodiment
The structural schematic diagram of application;
Fig. 4 is a kind of flow diagram for method across application access target pages that this specification embodiment provides;
Fig. 5 is a kind of structural schematic diagram for device across application access target pages that this specification embodiment provides;
Fig. 6 is a kind of structural schematic diagram for device across application access target pages that this specification embodiment provides.
Specific embodiment
In the prior art, when accessing the target pages in the second application in the first application, need to start the second application, from
Enter the access target page in second application;And when to return to the first application or continue to access other application, it needs first to move back
Second application out returns again to the first application or starting other application, poor user experience.
Therefore, this specification embodiment provides a kind of method, apparatus and electronic equipment across application access target pages,
By using the mode for directly acquiring the matched resource of target pages, wash with watercolours can be carried out to matched resource in the first application
Dye shows the target pages in the second application, to avoid starting the first application and the second application repeatedly, answers not influencing first
In the case where existing business logic in, the limitation that target pages must be shown in the second application is broken, has improved user
Customer flow resource is saved in experience.
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with this specification specific embodiment
And technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only this explanation
Book a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual, those of ordinary skill in the art exist
Every other embodiment obtained under the premise of creative work is not made, shall fall in the protection scope of this application.
Below in conjunction with attached drawing, the technical solution that each embodiment of this specification provides is described in detail.
Fig. 1 is a kind of flow diagram for method across application access target pages that this specification embodiment provides, this
The method across application access target pages that specification embodiment provides is suitable for the first application.
S101: the access request by the target pages in the application of the first application access second, the access request are determined
Page iden-tity including the target pages.
In this specification embodiment, the first application and the second application can answer for the difference with different business function
With.Target pages can be understood as the page for the second application that user needs to access in the first application, specifically can be second
Any page in.
Access request can be understood as user and need the requirements for access to target pages specifically can according to business access
To determine access request by the operation that the access target page carries out in the page of the first application by user.
Page iden-tity can be understood as to characterize the characteristic of target pages, can specifically include the name of target pages
Claim, the characteristic or other characteristics of preset format, such as using 2-a.html as the target pages of page iden-tity.
As a kind of Application Example, first application and second application are answered for the different sons under same client
With;
Alternatively,
First application and the Bu Tong son application that second application is under different clients.
In concrete application scene, user has not of the same trade or business in the page of the first application under accessible same client
Target pages in the son application for function of being engaged in are the interaction under same client between the son application of two different business functions.
User can also access the page object in the application under different clients with different business function in the page of the first application
Face is the interaction under different clients between the application of two different business functions.
As a kind of Application Example, determines and asked by the access of the target pages in the application of the first application access second
It asks, comprising:
The page applied by described first receives user and asks to the access of the target pages in second application
It asks.
User can need to carry out specified operation for the access target page according to business access in the page of the first application,
The page of first application can determine user to the access request of target pages according to the specified operation of user.
Alternatively Application Example, the page applied by described first receive user in second application
The target pages access request, comprising:
The page applied by described first receives the access request of user;
Judge whether the access request is access request of the user to the target pages in second application;
If so, intercepting the access request.
It specifically, include at least one page in each application, for the linking for guaranteeing business function, the meeting in each page
There are the access link for jumping other pages that access is different from the page, the business function of other pages and the business function of the page
It can be associated.Wherein, other described pages can be the different pages in the same application, be also possible in different application not
The same page.Access link specifically can be button, website links or other link forms.
It can receive specified operation of the user to the access link for jumping other pages, such as point by the page of the first application
Link is hit, to receive user to the access request of other pages.In concrete application scene, it can be and receive user to first
The access request of other pages in, or receive and the access of the page in the other application for being different from the first application is asked
It asks, such as to the access request of target pages.
The page of first application is after the access request for receiving user, by judging received access request, In
When received access request is the access request to the target pages in the second application, user can be determined by intercepting the access request
To the access request of target pages.
As a kind of Application Example, before intercepting the access request, further includes:
Judge whether to show the target pages in first application;
If so, intercepting the access request.
Specifically, the received access request of the page of the first application can be the access by the first application to target pages
Request can also be the access request by the second application to target application.If can be by the first application to target pages
Access request, i.e., the shows target pages in the first application, then intercept the access request.If desired by the second application to target
The access request of application, then start second application, according to access request second application in the access target page.
Judge whether to show the target pages in first application, comprising:
The configuration information deposited in first application is matched using the page iden-tity;
Judged whether to show the target pages in first application according to matching result.
It is stored with and the associated configuration information of target pages, the configuration information and page iden-tity phase in the first application
Match.If page iden-tity can be matched with the configuration information deposited, show can first application in shows target pages.
As a kind of Application Example, judge whether the access request is user to the mesh in second application
Mark the access request of the page, comprising:
Judge whether the access request is user in the page of first application to the access operation of target object,
The target object is corresponding with the target pages.
In concrete application scene, there is the target object for being able to access that target pages in the page of the first application, it should
Target object specifically can be access buttons, access link or other access stencils, be not specifically limited herein.
By judging whether access request is user to the access operation of target object in the page of the first application, thus
Judge whether access request is access request of the user to target pages.
Access operation can be user and specify in the page of the first application to what the target object of target pages was carried out
Operation, such as clicking operation, to realize the target pages in the first application in the second application of access.
As a kind of Application Example, however, it is determined that asked by the access of the target pages in the application of the first application access second
Failure is asked, then second application is directly initiated, to utilize target pages described in second application access.
S103: the matched resource of target pages is obtained using the page iden-tity, the configuration information is answered for first
The configuration information deposited in.
In this specification embodiment, resource can be rendering and obtain configuration file required for target pages, by right
Configuration file is rendered, available corresponding target pages, so as in interior the second application of displaying of the first application
Target pages.
As a kind of Application Example, obtained and the matched resource of the target pages using the page iden-tity, comprising:
The corresponding configuration information of the target pages is obtained according to the page iden-tity;
It is obtained and the matched resource of the target pages using the configuration information.
Configuration information can be understood as the relevant information for the matched resource of the associated objects page being arranged in the first application,
It specifically can be the storage address or other information of page iden-tity, the version information of the second application, matched resource, herein not
It is specifically limited.Page iden-tity can correspond to user to the access request of target pages, can deposited by page iden-tity
Configuration information in determine the corresponding configuration information of target pages, matched so as to get target pages using configuration information
Resource.
Page iden-tity can be used as the mark of target pages, also can reflect out corresponding second application of target pages.Tool
Body, page iden-tity can also carry the version information of target pages and the second application.
In concrete application scene, using page iden-tity acquisition and the matched resource of the target pages, it can wrap
It includes:
The matched resource is obtained from least one of content distributing network and offline resources storage.
Content distributing network (CDN, Content Delivery Network) constructs on network, by being deployed in
The Edge Server of various regions obtains user nearby by functional modules such as the load balancing, content distribution, scheduling of central platform
Required content is taken, network congestion is reduced, improves user's access response speed and hit rate.
Offline resources store (JET) be a kind of offline resources accelerating type application, by by the static resource of the page with URL
(Uniform Resource Locator, uniform resource locator) is path, is packaged into offline packet, matched to target pages
Resource carries out offline accelerated loading.
By by the page resource in applying be stored in content distributing network and offline resources storage in, realize resource
Line or offline storage, on-line storage can type to the page resource of storage and version etc. be updated, offline storage
Accelerated loading may be implemented in page resource.
As a kind of Application Example, obtained and the matched resource of the target pages using the configuration information, comprising:
The storage address of the resource is determined using the configuration information;
Download the resource under the storage address.
After determining the corresponding configuration information of target pages, the matched money of target pages can be determined according to the configuration information
The storage address in source such as can be the storage address in content distributing network or offline resources storage, pass through the storage address
The resource of available needs.
As a kind of Application Example, the method also includes:
The version information of the target pages is determined using the configuration information deposited;
Judge the target pages version information whether the matches version information with the resource under the storage address;
If it is not, then updating the version information of target pages described in the configuration information deposited.
The resource stored in content distributing network can be updated in real time according to the update of the version of application, if configuration
The version of matched resource in version information and content distributing network or the offline resources storage of target pages corresponding to information
This information cannot match, then the resource of the latest edition in content distributing network can be loaded into the first application, Huo Zheke
To obtain the resource of the target pages of corresponding version to the second application request.
In concrete application scene, it is understood that there may be the feelings of the corresponding configuration information of not stored target pages in the first application
Condition, in this case, the first application can directly be looked into content distributing network and offline resources storage by page iden-tity
The matched resource of target pages is ask, if can inquire, directly by the resource downloading inquired to the first application;If cannot inquire
It arrives, then the first application can also send the resource acquisition request for carrying page iden-tity to the second application, from the second application in real time
Obtain the matched resource of target pages.
First application can send resource acquisition request to the second application, and it is corresponding to the second application to can be the first application
Perhaps CDN sends the second corresponding server of application of resource acquisition request to server or CDN is obtained from the second application and corresponded to
Resource, the corresponding resource of page iden-tity is sent to the first application by the second corresponding server of application or CDN.
As a kind of Application Example, lost if being obtained using the page iden-tity with the matched resource of the target pages
It loses, then starts second application, to utilize target pages described in second application access.
S105: it in first application, is rendered using the matched resource, shows the target pages.
In this specification embodiment, the frame logic of SuperApp joined in the first application, so that the first application
Have in the internal ability for opening the page in the other application that access is different from the first application of application.In the first application,
Matched resource is rendered, Rendering logic and rendering frame can be realized by the frame logic of SuperApp, thus the
It can render to obtain the target pages in the second application in one application.
SuperApp is a kind of cross-platform, cross-system open application program, has unlimited function and immense volume
Scalability, it is open strong.Therefore, by that can be answered first in the interior frame logic that SuperApp is added of the first application
By rendering to matched resource in, in the case where not needing the second application of starting, target pages are obtained.
As a kind of Application Example, the method also includes:
If using the matched resource rendering failure, then starting second application, in first application with benefit
The target pages described in second application access.
During obtaining target pages in the first application, if any step fails, answered using starting second
Mode accesses from the second application into target pages.
A kind of method across application access target pages that this specification embodiment provides, by using directly acquiring target
The mode of the matched resource of the page can render matched resource in the first application, the mesh in the second application of display
The page is marked, to avoid starting the first application and the second application repeatedly, is not influencing the existing business logic in the first application
In the case of, break the limitation that target pages must be shown in the second application, has improved user experience, save customer flow money
Source.
Fig. 2 is a kind of flow diagram for method across application access target pages that this specification embodiment provides, this
The method across application access target pages that specification embodiment provides is suitable for the first application.
S201: the corresponding resource information of at least one target pages of the second application shown in the first application is determined.
In this specification embodiment, when the frame logic of SuperApp is added in the first application, it can determine whether first
At least one target pages of the second application shown in, in concrete application scene, shown in the first application the
The target pages of two applications can have business association with the page of the first application.
Resource information can be understood as to obtain with the associated configuration information of the page of the second application by the resource information
Get the matched resource of page institute of the second application shown in the first application.Resource information can be the page mark of the page
Know, correspond to the related informations such as the storage address of version information, matched resource applied, is not specifically limited herein.
S203: the corresponding relationship of creation first application and the resource information, so that described first applies and is receiving
To access it is described second application in target pages access request when, based on the corresponding relationship obtain with the target pages
Matched resource information is rendered using the corresponding resource of the resource information, shows the target pages.
By the first application of creation and the corresponding relationship between resource information, so that the first application can be closed according to the correspondence
System inquires the matched resource of target pages, so that the access logic between the page across application is accurately run.
A kind of method across application access target pages that this specification embodiment provides, by using directly acquiring target
The mode of the matched resource of the page can render matched resource in the first application, the mesh in the second application of display
The page is marked, to avoid starting the first application and the second application repeatedly, is not influencing the existing business logic in the first application
In the case of, break the limitation that target pages must be shown in the second application, has improved user experience, save customer flow money
Source.
The knot of application is wrapped in a kind of method across application access target pages that Fig. 3 provides for this specification embodiment offline
Structure schematic diagram, in this specification embodiment, App1 can be description above the first application as described in the examples, and App2 can
Think description above the second application as described in the examples.
S301: offline packet is stored in CDN/JET using the matched resource of the page in App1 and App2.
In this specification embodiment, offline packet application can be understood as having complete business function, can independent operating
Application, this application comprising resource (picture, pattern, script etc.) file in all pages of the business function, the page, by its dozen
Package is combined, and is become and is applied for one.
Offline packet application can be the independent son application with different business function under same client, by by client
The page of different business function under end is packaged into offline packet application, it is possible to reduce influence of the network jitter to quality of service.
Two offline packets apply App1 and App2, include at least one page in each offline packet application, such as App1 packet
The page 1-a.html, 1-b.html are included, App2 includes page 2-a.html, 2-b.html, each page institute in each application
Matched resource is stored in CDN/JET.In offline packet using the frame logic that joined SuperApp in App1, so that
App1 has the ability in the internal opening access of application different from the page of the other application of App1.
The matched resource of page 1-a.html institute may include 1-a.css/1-a.js, the matched money of page 1-b.html institute
Source may include 1-b.css/1-b.js, and the matched resource of page 2-a.html institute may include 2-a.css/2-
A.js, the matched resource of page 2-b.html institute may include 2-b.css/2-b.js.
S303: the offline packet of starting applies App1.
S305: pass through the access request of the target pages in App1 access App2 when receiving user in the page in App1
When, into the SuperHtml page, obtain the corresponding configuration information of target pages.
As the target pages (2- that user needs to enter in App2 in the page of App1 by interactive means such as clicks
When a.html), into SuperApp process, access request of the user to target pages is intercepted to dynamic SuperHtml pages
Face finds the matched resource of target pages institute by the page and access request, applies in App1 in offline packet to matched
Resource is loaded, is parsed, is rendered, shows target pages.
Specifically, in the SuperHtml page, with determining the storage of the matched resource of target pages by configuration information
Location, then downloads (load) and replicates (Scriping) into the first application, and rendering operation (run) matched resource shows mesh
Mark the page.
Fig. 4 is a kind of flow diagram for method across application access target pages that this specification embodiment provides, this
The method across application access target pages that specification embodiment provides is suitable for the first application.
S401: user is intercepted to the access request of the page.
S403: parsing the access request, obtains page iden-tity corresponding with the target pages.
S405: determine whether that SuperApp mode opens target pages by the page iden-tity.
In concrete application scene, it is determined whether allow SuperApp mode to open target pages, may include:
Judge whether to show the target pages in first application;
If so, SuperApp mode is allowed to open target pages.
S407: if so, intercepting the access request to the SuperHtml page.
S409: the storage address of the matched resource of the target pages is obtained using the page iden-tity.
In concrete application scene, the storage address of the matched resource of the target pages is obtained, may include:
It matches to obtain configuration information corresponding with the target pages using the page iden-tity;
The storage address of the matched resource of the target pages is determined according to the configuration information.
S411: the matched resource under the storage address is downloaded.
S413: the matched resource is rendered in first application, shows the target pages.
S415: if arbitrary steps of the above-mentioned steps S405 into step S413 execute failure, described second is directly initiated
Using triggering enters the target pages in second application.
A kind of method across application access target pages that this specification embodiment provides, by using directly acquiring target
The mode of the matched resource of the page can render matched resource in the first application, the mesh in the second application of display
The page is marked, to avoid starting the first application and the second application repeatedly, is not influencing the existing business logic in the first application
In the case of, break the limitation that target pages must be shown in the second application, has improved user experience, save customer flow money
Source.
Fig. 5 is a kind of structural schematic diagram for device across application access target pages that this specification embodiment provides, this
The device across application access target pages that specification embodiment provides is suitable for the first application.
Determining module 502 determines the access request by the target pages in the application of the first application access second, the visit
Ask that request includes the page iden-tity of the target pages;
Module 504 is obtained, is obtained and the matched resource of the target pages using the page iden-tity;
Rendering module 506 is rendered using the matched resource in first application, shows the target
The page.
A kind of device across application access target pages that this specification embodiment provides, by using directly acquiring target
The mode of the matched resource of the page can render matched resource in the first application, the mesh in the second application of display
The page is marked, to avoid starting the first application and the second application repeatedly, is not influencing the existing business logic in the first application
In the case of, break the limitation that target pages must be shown in the second application, has improved user experience, save customer flow money
Source.
Fig. 6 is a kind of structural schematic diagram for device across application access target pages that this specification embodiment provides, this
The device across application access target pages that specification embodiment provides is suitable for the first application.
Determining module 602 determines the corresponding money of at least one target pages of the second application shown in the first application
Source information;
Creation module 604 creates the corresponding relationship of first application and the resource information, so that first application
When receiving the access request for accessing the target pages in second application, obtained and the mesh based on the corresponding relationship
The matched resource information of the page is marked, is rendered using the corresponding resource of the resource information, shows the target pages.
A kind of device across application access target pages that this specification embodiment provides, by using directly acquiring target
The mode of the matched resource of the page can render matched resource in the first application, the mesh in the second application of display
The page is marked, to avoid starting the first application and the second application repeatedly, is not influencing the existing business logic in the first application
In the case of, break the limitation that target pages must be shown in the second application, has improved user experience, save customer flow money
Source.
Based on the same inventive concept, this specification embodiment also provides a kind of electronic equipment, including at least one processor
And memory, memory are stored with program, and are configured to execute following steps by least one processor:
Determine that the access request includes institute by the access request of the target pages in the application of the first application access second
State the page iden-tity of target pages;
It is obtained and the matched resource of the target pages using the page iden-tity;
In first application, is rendered using the matched resource, show the target pages.
Wherein, the other function of processor is no longer gone to live in the household of one's in-laws on getting married one by one here referring also to the content recorded in above-described embodiment
It states.
Based on the same inventive concept, this specification embodiment also provides a kind of computer readable storage medium, including with electricity
The program that sub- equipment is used in combination, program can be executed by processor to complete following steps:
Determine that the access request includes institute by the access request of the target pages in the application of the first application access second
State the page iden-tity of target pages;
It is obtained and the matched resource of the target pages using the page iden-tity;
In first application, is rendered using the matched resource, show the target pages.
Wherein, the other function of processor is no longer gone to live in the household of one's in-laws on getting married one by one here referring also to the content recorded in above-described embodiment
It states.
Based on the same inventive concept, this specification embodiment also provides a kind of electronic equipment, including at least one processor
And memory, memory are stored with program, and are configured to execute following steps by least one processor:
Determine the corresponding resource information of at least one target pages of the second application shown in the first application;
Create it is described first application and the resource information corresponding relationship so that described first apply receiving access
When the access request of the target pages in second application, obtained based on the corresponding relationship matched with the target pages
Resource information is rendered using the corresponding resource of the resource information, shows the target pages.
Wherein, the other function of processor is no longer gone to live in the household of one's in-laws on getting married one by one here referring also to the content recorded in above-described embodiment
It states.
Based on the same inventive concept, this specification embodiment also provides a kind of computer readable storage medium, including with electricity
The program that sub- equipment is used in combination, program can be executed by processor to complete following steps:
Determine the corresponding resource information of at least one target pages of the second application shown in the first application;
Create it is described first application and the resource information corresponding relationship so that described first apply receiving access
When the access request of the target pages in second application, obtained based on the corresponding relationship matched with the target pages
Resource information is rendered using the corresponding resource of the resource information, shows the target pages.
Wherein, the other function of processor is no longer gone to live in the household of one's in-laws on getting married one by one here referring also to the content recorded in above-described embodiment
It states.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for example, changing for method flow
Into).However, with the development of technology, the improvement of current many method flows can be considered as the straight of hardware circuit
Connect improvement.Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit
Structure.Therefore, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic
Device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable
Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designing
Personnel, which voluntarily program, to come a digital display circuit " integrated " on a piece of PLD, designed without asking chip maker and
Make dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, and this programming also changes mostly
It is realized with " logic compiler (logic compiler) " software, software compiler phase used when it writes with program development
It is similar, and the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group
Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within claims hereof protection scope.