Content of the invention
Embodiments of the invention provide a kind of management method of purchase data and device, it can be avoided that user needs
Repeatedly shuttle in the problem of the three-level page and the level Four page, reduce time and the flow consumption of user.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
In a first aspect, embodiments of the invention provide a kind of management method of purchase data, including:
During the page beyond current wap interface display commodity details page, suspend shopping in current wap interface display
Car;
After user is in suspension shopping cart described in described wap interface operation, instruction APP reads from sync server
Take purchase data, described purchase data is obtained after suspension shopping cart described in user operation by described sync server
Arrive, described purchase data includes merchandise news and the commodity amount information adding suspension shopping cart;
According to described purchase data, described APP is synchronized with described wap interface.
In conjunction with a first aspect, in the first possible implementation of first aspect, described wap interface shows
The page showing includes one-level to the level Four page, and the three-level page is items list page, and the level Four page is described commodity
Details page, described suspension shopping cart is shown in described items list page.
In conjunction with the first possible implementation face of first aspect, in the possible reality of the second of first aspect
In existing mode, described after user is in suspension shopping cart described in described wap interface operation, APP is from synchronization for instruction
Purchase data is read in server, including:
After user is in suspension shopping cart described in described wap interface operation, trigger described wap interface to described with
Step server sends the merchandise news adding described suspension shopping cart and commodity amount information, and triggers described APP
Send solicited message to described server;
Described APP receives the purchase data that described sync server sends, and described purchase data is by described synchronous clothes
Business device generates to the information that described sync server sends according to described wap interface and obtains.
In conjunction with the first possible implementation face of first aspect, in the third possible reality of first aspect
In existing mode, also include:
After user is in suspension shopping cart described in described wap interface operation, detection user is operated to add described hanging
The commodity of floating shopping cart whether there is option, and described option is included in marque, color and size
At least one;
If there is option, show the described commodity adding described suspension shopping cart in the described three-level page
Option, and purchase data, described purchase are read from sync server according to the selection operation instruction APP of user
Thing data also includes the option of user's selection.
In conjunction with first aspect first to the third possible implementation face, the 4th kind in first aspect can
Can implementation in, during the page beyond described current wap interface display commodity details page, in current wap
Interface display suspension shopping cart, including:
Detection calls whether the APP at described current wap interface is the APP specifying;
If so, then exit network viewstate execute described APP corresponding native module, and will be described outstanding
Floating shopping cart is shown in the described three-level page.
Second aspect, embodiments of the invention provide a kind of managing device of purchase data, including:
Display unit, during for the page beyond current wap interface display commodity details page, in current wap circle
Face shows suspension shopping cart;
Processing unit, for after user is in suspension shopping cart described in described wap interface operation, instruction APP from
Purchase data is read, described purchase data is by described sync server described in user operation in sync server
Obtain after suspension shopping cart, described purchase data includes merchandise news and the commodity amount adding suspension shopping cart
Information;
Lock unit, for synchronizing described APP with described wap interface according to described purchase data.
In conjunction with second aspect, in the first possible implementation of second aspect, described wap interface shows
The page showing includes one-level to the level Four page, and the three-level page is items list page, and the level Four page is described commodity
Details page, described suspension shopping cart is shown in described items list page.
In conjunction with the first possible implementation face of second aspect, in the possible reality of the second of second aspect
In existing mode, described processing unit, it is additionally operable to after user is in suspension shopping cart described in described wap interface operation,
Trigger described wap interface and send merchandise news and the business adding described suspension shopping cart to described sync server
Product quantity information, and trigger described APP to described server transmission solicited message;
Described APP receives the purchase data that described sync server sends, and described purchase data is by described synchronous clothes
Business device generates to the information that described sync server sends according to described wap interface and obtains.
In conjunction with the first possible implementation face of second aspect, in the third possible reality of second aspect
In existing mode, also include:Pretreatment unit, for when user is in the shopping that suspends described in described wap interface operation
Che Hou, the operated commodity adding described suspension shopping cart of detection user whether there is option, described optional
Item includes at least one in marque, color and size;
If there is option, show the described commodity adding described suspension shopping cart in the described three-level page
Option, and purchase data, described purchase are read from sync server according to the selection operation instruction APP of user
Thing data also includes the option of user's selection.
In conjunction with second aspect first to the third possible implementation face, the 4th kind in second aspect can
Can implementation in, described display unit, be additionally operable to detect whether call the APP at described current wap interface
For specified APP;
If so, then exit network viewstate execute described APP corresponding native module, and will be described outstanding
Floating shopping cart is shown in the described three-level page.
The management method of purchase data provided in an embodiment of the present invention and device, by the level Four page (commodity
The page beyond details page) beyond page setup suspension shopping cart, and in the shopping cart of synchronous wap and app
Shopping information, thus realize the suspension shopping cart of APP port be used for wap level Four beyond the page, make
Obtain user and in the page beyond level Four, commodity can be added suspension shopping cart, the level Four page need not be entered.From
And avoid user in prior art and need repeatedly to shuttle in the problem of the three-level page and the level Four page, reduce
The time of user and flow consumption.
Specific embodiment
For making those skilled in the art more fully understand technical scheme, below in conjunction with the accompanying drawings and specifically
Embodiment is described in further detail to the present invention.Embodiments of the present invention are described in more detail below,
The example of described embodiment is shown in the drawings, and wherein same or similar label represents identical from start to finish
Or similar element or the element with same or like function.Embodiment party below with reference to Description of Drawings
Formula is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " " used herein,
" one ", " described " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that the explanation of the present invention
Used in book, wording " inclusion " refers to there is described feature, integer, step, operation, element and/or assembly,
But it is not excluded that existing or adding other features one or more, integer, step, operation, element, group
Part and/or their group.It should be understood that when we claim element to be " connected " or during " coupled " to another element,
It can be directly connected or coupled to other elements, or can also there is intermediary element.Additionally, making here
" connection " or " coupling " can include wirelessly connecting or coupling.Wording "and/or" used herein includes one
Individual or more associated any cell listing item combine with whole.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all term (bags used herein
Include technical term and scientific terminology) there is general understanding with the those of ordinary skill in art of the present invention
Identical meaning.It should also be understood that those terms defined in such as general dictionary should be understood that
There is the meaning consistent with the meaning in the context of prior art, and unless defined as here, no
Can be explained with idealization or excessively formal implication.
In the following description, by with include touch control display mobile terminal as embodiment, on its display
Being configured with can touch interface.In the following detailed description, many details are illustrated to provide to the present invention
Understand in depth.However, the present invention may be carried out for ability in the case of not having these details
The those of ordinary skill in domain will be apparent from.In other cases it is thus well known that method, code,
Part, circuit and network are not described in detail in order to avoid unnecessarily obscuring the various aspects of embodiment.
It is understood, however, that this mobile terminal can include other physical interface one or more
Equipment, such as physical keyboard, mouse and/or stick.Mobile terminal generally can support multiple application programs,
One or more of for example following application program:Telephony application, voice call application program, word
Process application program, email application, website creates application program, journey is applied in web displaying/displaying
Sequence, web page browsing application program, drawing application program, picture show/show that application program, video show/open up
Show that application program, figure are supported in application program, videoconference application, instant message application program, training
Piece shows/shows that application program, pictures management application program, digital camera applications program, digital camera should
Broadcast with program, disk making application program, spreadsheet applications, game application, digital music
Put device application program and/or video frequency player application program.
Can use at least one in the various application programs of the upper execution of described mobile terminal (that is, a kind of equipment)
Individual conventional physical user-interface device, for example, touch interface.One or more function of touch interface with
And shown corresponding information can be conditioned and/or be changed into next application journey from an application program on equipment
Sequence and/or change in corresponding application program.So, (for example, touch-control shows the conventional physique of equipment
Display screen) the multiple application programs with User Interface can be supported, these user interfaces for user are
Intuitively, appreciable and transparent.
Fig. 1 is that the system of the mobile terminal 1 00 for converged communication method of one embodiment of the invention is illustrated
Figure.As shown in figure 1, mobile terminal 1 00 has touch control display 110.Touch control display 110 is sometimes referred to as and " touches
Touch screen " or " touch screen ", or referred to as " touch control display system ".Mobile terminal 1 00 may include memorizer 120, control
Device 141 processed, the processor 142 being made up of one or more processing units (CPU), peripheral interface 143,
Radio frequency (RF) Circuits System 150, audio circuitry 160, input/output (I/O) subsystem 170, other inputs
Or control device 180 and outside port 190.These parts can pass through one or more communication bus or letter
Number line 130 is communicated.In certain embodiments, peripheral interface 143, processor 142 and controller 141
Both can implement on a single chip, also can implement on multiple chips.Controller 141 is used for control memory
120.In certain embodiments, audio circuitry 160 can be respectively coupled to speaker 161 and mike 162.
In certain embodiments, other inputs or control device 180 can be by other input controllers 173 corresponding
Couple peripheral interface 143.
Mobile terminal 1 00 may include one or more optical pickocffs 111, by optical sensing controller 172 coupling
Connect peripheral interface 143.Holding wire 130 is it should be appreciated that mobile terminal 1 00 is multifunctional mobile equipment
An example, and can have more or less than hard/soft functional part shown in Fig. 1, can be combined two or more
Multiple parts, or can have different part configurations or arrange, this hardware or software include one or more letters
Number process and/or special IC.
Memorizer 120 may include high-speed random access memory or nonvolatile memory, such as one or more
Disk storage equipment, flash memory device or other non-volatile solid state memory equipment.By mobile whole
End 100 miscellaneous part such as CPU142 and peripheral interface 143 come to access memorizer 120 can be by controller
141 are controlled.Peripheral interface 143 can be used for being coupled to the input of equipment and output ancillary equipment
CPU142 and memorizer 120.One or more of processors 142 run or execute various software programs and/
Or the instruction set being stored in memorizer 120 is to execute the various functions of mobile terminal 1 00 processing data.Outward
Peripheral equipment interface 143 radio frequency circuit system 150 receives and sends radiofrequency signal, and this radiofrequency signal is also referred to as electromagnetism
Signal.Radio frequency circuit system 150 converts electrical signals to electromagnetic signal/be converted to the signal of telecommunication from electromagnetic signal, and
Communicated with communication network and other communication equipments by electromagnetic signal.Radio frequency circuit system 150 may include use
In execute these functions well-known Circuits System, this Circuits System include but is not limited to antenna system,
RF transceiver, one or more amplifier, tuner, one or more agitator, Digital Signal Processing
Device, codec chip group, subscriber identity module (SIM) card, memorizer etc..Radio frequency circuit system 150 can lead to
Cross radio communication to be communicated with network and other equipment.Network such as the Internet, Intranet and/or wireless network
Network.
Audio circuitry 160, speaker 161 and mike 162 provide between user and mobile terminal 1 00
Audio interface.Audio circuitry 160 receives the voice data from peripheral interface 143, by this sound
Frequency evidence is converted to the signal of telecommunication, and by electric signal transmission to speaker 161.The signal of telecommunication is changed by speaker 161
For the audible sound wave of human ear.The electricity that audio circuitry 160 is also changed by mike 162 from acoustic receiver
Signal.Audio circuitry 160 converts electrical signals to voice data and this voice data is transferred to periphery sets
Standby interface 143 is to be processed.Voice data can be by peripheral interface 143 from memorizer 120 and/or radio frequency
Circuits System 150 is entered line retrieval and/or is transferred to memorizer 120 and/or radio frequency circuit system 150.Real at some
Apply in example, audio circuitry 160 also includes an earphone jack.Earphone jack provides audio circuitry
Interface between 160 and removable audio input/output ancillary equipment, this audio input/output ancillary equipment is all
Such as only output type earphone or there is output (for example, for the earphone of one or two ear) and input (example simultaneously
As mike) headband receiver.
I/O subsystem 170 by the such as touch screen 110 of the input/output ancillary equipment in mobile terminal 1 00 and other
Input control apparatus 180 are coupled to peripheral interface 143.I/O subsystem 170 may include display controller 171
And one or more input controller 173 is for other inputs or control device.This one or more input
Controller 173 receives/sends the signal of telecommunication from/to other inputs or control device 180.Other input control apparatus
180 may include physical button (for example, push button, rocker button etc.), graduated disc, slider switch, manipulation
Bar, click type rotating disk etc..In the embodiment that some are selected else, input controller 173 may be coupled to any (or not to be had
Have one) following equipment:Keyboard, infrared port, USB port and pointing device, this pointing device is such as
Mouse.One or more buttons may include for speaker 161 and/or mike 162 volume control upwards/
Down button.One or more of buttons may include a push button.
Touch screen 110 provides input interface and output interface between equipment and user.Display controller 171
Receive from/to touch screen 110 and/or send the signal of telecommunication.Touch screen 110 shows to the visualization output of user.Can
May include figure, text, icon, video and any combination of them (being referred to as " figure ") depending on changing output.
In certain embodiments, some or all in visualization output may correspond to user interface object.Especially
Show ui interface and the wap interface of APP in the present embodiment.
Touch screen 110 is had touch-control surface, is accepted input from user based on tactile and/or tactile
Sensor or one group of sensor.Touch screen 110 and display controller 171 (together with any associated module and/
Or the instruction set in memorizer 120) contact on detection touch screen 110 (and any movement or broken of contact
Bad), and the user interface object (for example, contact detected being converted into and being shown on touch screen 110
Individual or multiple soft key, icon, webpage or image) interaction.In the exemplary embodiment, touch screen 110 and use
Contact point between family corresponds to the finger of user.Especially in the present embodiment, accept the dragging from user
Commodity are to the operation of suspension shopping cart.
Touch screen 110 can use liquid crystal display (LCD) technology, light emitting polymer displays (LPD) technology, or
Light emitting diode (LED) technology.Using arbitrary in multiple touch sensing technology of currently known or later exploitation
(this touch sensing technology is including but not limited to capacitive, ohmic, infrared and surface for touch sensing technology
Technology of acoustic wave) and other proximity sensor arrays or one or more with what touch screen 110 contacted for determining
The other elements of point, touch screen 110 and display controller 171 can detect that contact and its any movement or broken
Bad.User can use any suitable object or additament, and stylus, finger etc. are contacting touch screen 110.
In certain embodiments, user-interface design is used for the main contact with based on finger and gesture work, by
Larger in finger contact area on the touchscreen, so this may be accurate not as the input based on stylus.?
In some embodiments, equipment will be converted to accurate pointer/cursor position or order based on the input of coarse finger
For executing the desired action of user.Except touch screen, mobile terminal 1 00 may also include touch pad (not shown)
For activating or disabling specific function.In certain embodiments, touch pad is the Touch Zone of equipment, with
Touch pad unlike touch screen does not show visualization output.Touch pad can be separate with touch screen 110 touch
Control surface or the extension of the touch-control surface being formed by touch screen.
Mobile terminal 1 00 also includes power system 191 for being powered to various parts.Mobile terminal 1 00
May also comprise one or more optical pickocffs 111.Mobile terminal 1 00 may also comprise one or more close biographies
Sensor 112.Mobile terminal 1 00 may also comprise one or more accelerometers 113.
In certain embodiments, the software part being stored in memorizer 120 includes operating system 121, communication
Module (or instruction set) 122, contact/motion module (or instruction set) 123, figure module (or instruction set) 124, literary composition
This input module (or instruction set) 125, global positioning system (GPS) module (or instruction set) 126 and application journey
Sequence (or instruction set) 127.Additionally, in certain embodiments, memorizer 120 storage device/overall situation internal state.
Equipment/overall situation internal state includes one or more of following:Applications active state, this activity is applied
Program state indicates which application program (if any) is currently at active state;Dispaly state, this display
What application program of state instruction, view or other information occupy the various regions of touch-screen display;Pass
Sensor state, this sensor states is included from acquired in the various sensors of equipment and input control apparatus 180
Information;And the positional information of the position with regard to equipment and/or attitude.
Operating system (OS) 121 includes various software parts and/or driver for controlling and managing general
System task (for example, memory management, storage device control, power management etc.) and be conducive to various hardware
Communication and software part between.For example, operating system can be ARIXTRA, ios etc..
Communication module 122 be conducive to being communicated with other equipment by one or more outside ports 190 and
Also include what various software parts were received for place's reason radio frequency circuit system 150 and/or outside port 190
Data.By network (for example, outside port 190 (for example, USB (universal serial bus) (USB), live wire etc.) is applied to
The Internet, WLAN etc.) either directly or indirectly it is coupled to other equipment.In certain embodiments, outward
Portion port is many pin connectors.Especially in the present embodiment, APP and wap interface synchronize required friendship
Mutual commodity data.
Contact/motion module 123 be can detect that and set with touch screen 110 (in conjunction with display controller 171) and other touch-controls
The contact of standby (for example, touch pad or physics click type rotating disk).Contact/motion module 123 includes various software portions
Part is for the execution various operations related with contacting detection, such as to determine that whether coming in contact (for example, detection
Finger-down event), it is determined whether there is contact movement and follow the tracks of motion (for example, the detection one across touch-control surface
Individual or multiple finger drag events), and determine contact whether stop (for example, detection finger-up event or
Interruption in contact).Contact/motion module 123 receives the contact data from touch-control surface.Determine and by one be
The motion of the contact point represented by contact data of row, this may include speed (value), the speed determining contact point
(value and direction) and/or acceleration (change in value and/or direction).These operations can put on single contact
(for example a, finger contact) or multiple contact (for example, " Multi-contact "/multiple finger contact) simultaneously.?
In some embodiments, contact/motion module 123 detects the contact on touch pad with display controller 171.
Contact/motion module 123 can be inputted by user's detection gesture.Different gesture in touch-control surface has not
Same contact mode.Therefore, gesture can be detected by detecting specific contact mode.For example, examine
Survey singly refers to Flick gesture and includes detecting finger-down event, is that detection (for example, is existed with finger-down event afterwards
At picture mark position) finger at same position (or substantially the same position) place (lifts) event upwards.And for example, examine
Finger in survey touch-control surface is gently swept gesture and is included detecting finger-down event, is that detection is one or more afterwards
Finger drag events, and be followed by detecting that finger (lifts) event upwards.
Figure module 124 includes various known software parts for touch control display system 110 or other are aobvious
Show that the figure on device is rendered and shows, this display touch screen or other display include being shown for changing
The part of the strength of figure showing.As used herein, term " figure " includes being shown to any object of user,
Include but is not limited to text, webpage, icon (such as including the user interface object of soft key), digital picture, regard
Frequently, animation etc..In certain embodiments, figure module 124 stores the data of the figure representing to be used.Often
Individual figure can be assigned to that corresponding code.Figure module 124 receives one or more generations from application program etc.
Code, this one or more code is specified and is shown together with coordinate data and other graphic attribute data (if there are must
Will) figure, then produce screen image data to export to display controller 171.
Text input module 125 can be the part of figure module 124, and text input module provides soft keyboard
For inputting the text in various application programs.
GPS module 126 determines the position of equipment and provides the positional information for various application programs.
The example of the other application programs 127 that 142 are storable in memorizer 120 includes other word processings should
With program, other picture editting's application programs, drawing application program, show application program, support JAVA's
Application program, encryption, Digital Right Management, speech recognition and speech reproduction.
Circuits System 150 Circuits System, 150 Circuits System, 150 Circuits System, 150 Circuits System 150142 circuit system
150 Circuits System of uniting, 150 Circuits System, 150 Circuits System, 150 Circuits System, 150 Circuits System 150 Circuits System
Each module in 150 above-mentioned identified modules and application program and application program correspond to one group and can perform
Instruction, this executable instruction is used for described in one or more above-mentioned functions of execution and this application program
Method (for example, computer implemented method as herein described and other information processing method).These modules are (i.e.
Instruction set) do not need to realize as single software program, code or module, therefore these modules is various
Subset can be combined or is otherwise re-arranged in various embodiments.In certain embodiments, store
Device 120 can store the subset of above identified module data structure.Additionally, memorizer 120 can store with
On the add-on module data structure that do not describe.
In certain embodiments, mobile terminal 1 00 is the operation of the predefined one group of function wherein with regard to equipment
The equipment uniquely being executed by touch screen and/or touch pad.By using touch screen and/or touch pad as with
In the main input control apparatus of the operation of mobile terminal 1 00, the control that is physically entered in mobile terminal 1 00 sets
The quantity of standby (push button, graduated disc etc.) can reduce.
Can by predefined one group of function that touch screen and/or touch pad uniquely execute include user interface it
Between navigation.In certain embodiments, when user operation touch screen, mobile terminal 1 00 is by from can be displayed in
Any user interface navigation in mobile terminal 1 00 is to main menu, return menu or root menu.In such enforcement
In example, touch pad can be described as " menu button ".In some other embodiments, menu button can be physics
Push button or other replace touch pads be physically entered control device.
It should be appreciated that the discussed above of event handling about the user's contact on touch control display is also applied for
To operate the mobile terminal 1 00 with input equipment, not all input all exists the user input of other forms
On touch screen initiate, for example using or not using single or multiple keyboard pressings or keep to coordinate mouse move
With mouse button pressing;Touch, drag, roll on a touchpad by movement for user;Stylus inputs;Equipment
Mobile;Spoken command;Detection ocular movement;Bio-identification input and/or any combination of them, these can
As the input corresponding to the subevent limiting event to be identified.
Touch screen can show one or more figures in user interface (UI).Retouch in this embodiment and below
In the other embodiments stated, user can select one or more of figure by doing gesture on figure,
For example using one or more fingers or one or more stylus.In certain embodiments, when user interrupt with
The contact of one or more figures can occur the selection to one or more figures.In certain embodiments, handss
Gesture be may include the one or many being contacted with mobile terminal 1 00 and touches, one or many gently sweep (from a left side to
Right, from right to left, up and/or down) and/or finger roll (from right to left, from left to right, upwards and/or
Downwards).In certain embodiments it is not intended to middle contact pattern may will not select this figure.For example, work as correspondence
When the gesture selecting is to touch, inswept application program image target is gently swept gesture and may will not be selected corresponding answering
Use program.
The embodiment of the present invention provides a kind of management method of purchase data, includes as shown in Figure 2:
101, during the page beyond current wap interface display commodity details page, suspend in current wap interface display
Shopping cart.
In the present embodiment, the display location of suspension shopping cart includes:As shown in Figure 2 a, current wap interface
Marginal position;Or, the corner location at current wap interface as shown in Figure 2 b.
Can also be:As shown in Figure 2 c, the input operation of mobile terminal receive user, and according to described defeated
The track entering operation determines point of destination on current wap interface;Again described suspension shopping cart is shown in described mesh
Point.
102, after user is in suspension shopping cart described in described wap interface operation, APP is from synchronous service for instruction
Purchase data is read in device.
Wherein, described purchase data is obtained after suspension shopping cart described in user operation by described sync server,
Described purchase data includes merchandise news and the commodity amount information adding suspension shopping cart.
In the present embodiment, the purchase data such as merchandise news and commodity amount information is carried by the server of operator
For.Purchase data, purchase is simply shown in the three-level page of mobile terminal, suspension shopping cart or suspended frame
The source of thing data is also server, and in the practical application of the present embodiment, server also is understood as
Commerce system (i.e. a kind of e-commerce system).It should be noted that relevant above-mentioned " suspended frame ", such as
Shown in Fig. 2 d, user clicks on the commodity icon in the three-level page, the shopping that server is sent by mobile terminal
Data display is in suspended frame.Suspended frame can also show when user clicks on suspension shopping cart, shown
It can be the purchase data of the commodity in suspension shopping cart.It should be noted that completing to purchase in APP and WAP
After the synchronization of thing data, shopping cart in APP display control displays that and suspends shopping cart identical content.
103, according to described purchase data, described APP is synchronized with described wap interface.
In the present embodiment, example as shown in Figure 3, the page of described wap interface display includes one-level to four
The level page, the three-level page is items list page, and the level Four page is described commodity details page, described suspension shopping
Car is shown in described items list page.It should be noted that in the level Four page of the present embodiment it is also possible to
Display suspension shopping cart.
The management method of purchase data provided in an embodiment of the present invention, by the level Four page (commodity details page
The page in addition) beyond page setup suspension shopping cart, and the shopping in the shopping cart of synchronous wap and app
Information, thus the port realizing the suspension shopping cart of APP be used for the level Four of wap beyond the page so that user
In the page beyond level Four, commodity can be added suspension shopping cart, the level Four page need not be entered.Thus avoiding
In prior art, user needs repeatedly to shuttle in the problem of the three-level page and the level Four page, reduces user's
Time and flow consumption.
In the present embodiment, 102 implement flow process and can include:
1021, after user is in suspension shopping cart described in described wap interface operation, detection user is operated to be added
The commodity of described suspension shopping cart whether there is option.
Wherein, described option includes at least one in marque, color and size.In the present embodiment
In, " option " can be understood as:A kind of set of information attribute value, when the collection of two information attribute values
When element in conjunction is incomplete same, this two are gathered corresponding is different commodity, such as:Commodity are rain
Umbrella, then option potentially include:Model (different styles that such as different businessman produces, the umbrella pair of batch
Should different models), color and size (such as umbrella length, umbrella cover area) be it is also possible to include:Material,
The information such as handle shape are as option, the concrete letter specifically comprising content, being referred to commodity of option
Breath sets.
1022, if there is option, show the described suspension shopping cart of described addition in the described three-level page
The option of commodity, and purchase data is read from sync server according to the selection operation instruction APP of user,
Described purchase data also includes the option of user's selection.
For example:The operated commodity adding described suspension shopping cart of detection user whether there is option, specifically
When can be that user pulls commodity into suspension shopping cart, detect whether that (option is included not for logical subcode commodity
Same model or different colours), then can be directly added into suspension shopping cart if not logical subcode commodity, otherwise need
First to select model, color etc. (such as the three-level page eject suspended window, all models of display of commodity,
Color, and the model according to selected by the clicking operation of user determines, color).Such as:If commodity are clothes,
And for leading to subcode commodity (this clothes has different sizes and color), then when user clicks on straight adding in the three-level page
During suspension shopping cart, eject suspended window, and point out user to need first to select size, color;If commodity only have
When one size and color, then directly add suspension shopping cart when user clicks in the three-level page, be then directly added into
Suspension shopping cart.
In the present embodiment, specific properties (such as setting special identifier or the label of commodity can also be set
Commodity), when user clicks on the commodity having specific properties and adds suspension shopping cart in the three-level page, mobile terminal
Need to judge that whether this user is Entered state, if logged in.Then suspension shopping cart can be directly added into,
Otherwise need to call login page, and point out user to complete to log in.
It should be noted that in the present embodiment, user can be dragged commodity to the operation of suspension shopping cart,
It is considered as triggering commodity addition suspension shopping cart;Can also divide in the viewing area of each commodity of the three-level page
Not Zeng Jia a shopping cart icon, and the operation by user's click shopping car icon, be considered as triggering this commodity and add
Enter the shopping cart that suspends.
Further, also include in the present embodiment:
1023, after user is in suspension shopping cart described in described wap interface operation, trigger described wap interface to
Described sync server sends the merchandise news adding described suspension shopping cart and commodity amount information, and triggers
Described APP sends solicited message to described server.
1024, described APP receives the purchase data that described sync server sends.
Wherein, described purchase data from described sync server according to described wap interface to described sync server
The information sending generates and obtains.
For example:The native module of WAP or the native module of APP send to server end (server)
Information, can be assumed that it is the information that client (client) sends, and the operation in client is actually by client
Operational order is passed to after server, respective handling has been carried out (such as by server:Client sends to server
The information of shopping quantity, then the information such as remaining stock of server inquiry commodity, and return confirmation to client
With information such as remaining stocks), then again the data after processing is returned to client in order to mobile terminal to user
It is shown to the result that operation comes into force.In the present embodiment, the operation in WAP passes to server as client
Addition shopping cart instruction enter into force, APP be re-used as client to server request shopping cart in have which business
During product, what server returned is the processed new data adding commodity.So that the behaviour in WAP
After making to add shopping cart, the commodity being synchronized can be seen in the native module of APP.Wherein, native
Module can be understood as the basic module of the UI of APP, that is, be used for displaying to the user that the module of suspension shopping cart.This
In embodiment, after the addition shopping cart instruction that server is passed in the operation in WAP as client enters into force,
Server can also return the processed new data adding commodity to APP and WAP simultaneously.
In actual applications, because electronic commerce affair is huge and complicated, different types of purchase data is often
Processed by different server offers, for example:The data of suspension shopping cart is by the server process of shopping cart, user
The data of information is by the server process of user.Server in present case can be commerce but be not limited to
This, such as:The operation adding suspension shopping cart asks trade name firstly the need of to the server of commodity basic data
Title, price, picture etc., also will to user server ask this user numbering (ensure user it is seen that from
Oneself shopping cart rather than other people), if commodity have advertising campaign also will ask sales promotion to sales promotion server
Price, time, quantity etc., finally will be several above by the server (as commerce) of an integral data
The data of server is integrated into client after taking need the data seen to return.
In the present embodiment, 101 implement flow process and can include:
1011, detection calls whether the APP at described current wap interface is the APP specifying.
1012, if so, then exit network viewstate execute described APP corresponding native module, and will
Described suspension shopping cart is shown in the described three-level page.
In the present embodiment, APP mobile terminal being specified is (such as:The provider of wap shopping interface, with
When also issued APP for online shopping, then as specifying APP) realize browsing by network view technology
Thus opening WAP, now APP can use the function of device as generic browser, wherein, network video
Figure (WebView) refers to a kind of technology for loaded and displayed webpage, can be considered as a browser, this
In embodiment, network view state can be the web page browsing state of APP.WAP judges the called side of oneself
(user-agent) whether it is the APP that this is specified, if then WAP exits network viewstate, and execute and refer to
Fixed APP corresponding native function, if not then executing WAP original function.Such as:At WAP interface
Shown suspension cart button adds JS determination methods (being used for executing the judgement flow process of 1011-1012)
Afterwards, when the generic browser of mobile terminal calls WAP, the normal redirected link page;If user is specifying
APP in click on for calling after the control of WAP, then WAP exits network what view mode opening was specified
The shopping cart module of APP.In a preferred approach, judgement is executed by WAP, judge that the called side of oneself is
The APP specifying, then the concrete module that will redirect informs the APP specifying, and triggers the APP specifying according to WAP
Judged result open corresponding module, such as shopping cart module.
In conjunction with above-mentioned specific embodiment, the present embodiment also provide a kind of as shown in Figure 4 based on the present invention can
The operation flow of energy.
The embodiment of the present invention also provides a kind of managing device 50 of purchase data, as shown in figure 5, including:
Display unit 51, during for the page beyond current wap interface display commodity details page, in current wap
Interface display suspension shopping cart.
Processing unit 52, for, after user is in suspension shopping cart described in described wap interface operation, indicating APP
Read purchase data from sync server, described purchase data is by described sync server in user operation institute
Obtain after stating suspension shopping cart, described purchase data includes merchandise news and the commodity number adding suspension shopping cart
Amount information.
Lock unit 53, for synchronizing described APP with described wap interface according to described purchase data.
Wherein, the page of described wap interface display includes one-level to the level Four page, and the three-level page is items list
Page, the level Four page is described commodity details page, and described suspension shopping cart is shown in described items list page.
Described processing unit 52, is additionally operable to, after user is in suspension shopping cart described in described wap interface operation, touch
Send out wap interface described to described sync server and send merchandise news and the commodity adding described suspension shopping cart
Quantity information, and trigger described APP to described server transmission solicited message.
Described APP receives the purchase data that described sync server sends, and described purchase data is by described synchronous clothes
Business device generates to the information that described sync server sends according to described wap interface and obtains.
Further, described device 50, also include pretreatment unit 54, for when user is at described wap interface
After operating described suspension shopping cart, the operated commodity adding described suspension shopping cart of detection user whether there is
Option, described option includes at least one in marque, color and size.
If there is option, show the described commodity adding described suspension shopping cart in the described three-level page
Option, and purchase data, described purchase are read from sync server according to the selection operation instruction APP of user
Thing data also includes the option of user's selection.
Further, described display unit 51, is additionally operable to detect whether call the APP at described current wap interface
For specified APP.
If so, then exit network viewstate execute described APP corresponding native module, and will be described outstanding
Floating shopping cart is shown in the described three-level page.
The managing device of purchase data provided in an embodiment of the present invention, by the level Four page (commodity details page
The page in addition) beyond page setup suspension shopping cart, and the shopping in the shopping cart of synchronous wap and app
Information, thus the port realizing the suspension shopping cart of APP be used for the level Four of wap beyond the page so that user
In the page beyond level Four, commodity can be added suspension shopping cart, the level Four page need not be entered.Thus avoiding
In prior art, user needs repeatedly to shuttle in the problem of the three-level page and the level Four page, reduces user's
Time and flow consumption.
Each embodiment in this specification is all described by the way of going forward one by one, phase homophase between each embodiment
As partly mutually referring to, what each embodiment stressed be different from other embodiment it
Place.For apparatus embodiments, because it is substantially similar to embodiment of the method, so describing
Fairly simple, in place of correlation, the part referring to embodiment of the method illustrates.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method,
Can be by computer program to complete come the hardware to instruct correlation, described program can be stored in a calculating
In machine read/write memory medium, this program is upon execution, it may include as the flow process of the embodiment of above-mentioned each method.
Wherein, described storage medium can for magnetic disc, CD, read-only memory (Read-Only Memory,
) or random access memory (Random Access Memory, RAM) etc. ROM.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited to
This, any those familiar with the art the invention discloses technical scope in, can readily occur in
Change or replacement, all should be included within the scope of the present invention.Therefore, protection scope of the present invention
Should be defined by scope of the claims.