CN107169845A - A kind of trade company's attribute query method, device and server - Google Patents

A kind of trade company's attribute query method, device and server Download PDF

Info

Publication number
CN107169845A
CN107169845A CN201710425291.2A CN201710425291A CN107169845A CN 107169845 A CN107169845 A CN 107169845A CN 201710425291 A CN201710425291 A CN 201710425291A CN 107169845 A CN107169845 A CN 107169845A
Authority
CN
China
Prior art keywords
attribute
time point
collection
change
objective
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710425291.2A
Other languages
Chinese (zh)
Other versions
CN107169845B (en
Inventor
申蒙蒙
王刚
李中豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaodu Information Technology Co Ltd
Original Assignee
Beijing Xiaodu Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaodu Information Technology Co Ltd filed Critical Beijing Xiaodu Information Technology Co Ltd
Priority to CN201710425291.2A priority Critical patent/CN107169845B/en
Publication of CN107169845A publication Critical patent/CN107169845A/en
Application granted granted Critical
Publication of CN107169845B publication Critical patent/CN107169845B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0607Regulated
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0623Item investigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiments of the invention provide a kind of trade company's attribute query method, device and server, wherein, this method includes:Obtain merchant identification and Query Dates;Start time point and end time point are determined according to the Query Dates;It is determined that in the start time point between the end time point, the object time point that the corresponding attribute of the merchant identification changes;According to the merchant identification, obtain the corresponding objective attribute target attribute collection including at least one attribute of the object time point, and then find out the objective attribute target attribute collection of change in Query Dates, it can intuitively show the change procedure of attribute simultaneously, to facilitate the reason for explaining attribute change to be checked, implementation method is simple, time saving, laborsaving.

Description

A kind of trade company's attribute query method, device and server
Technical field
The present embodiments relate to Internet technical field, more particularly to a kind of trade company's attribute query method, device and clothes Business device.
Background technology
At present, make a reservation on the net and gradually start extensive use, in delivery system is taken out, the dispatching expense of trade company, dispatching duration It is able to can such as increase in night dispatching expense because time factor amplitude of variation is larger Deng attribute, in dispatching peak period dispatching duration Can lengthen etc..Make a reservation the trade company's attribute statement into question of user or trade company often to change, at this moment customer service needs to make a reservation Its reason of changes is explained by user or trade company.
The existing method of inquiry trade company attribute change is, the mode of research staff's order line by background backup data and Backstage daily record finds out the influence factor of trade company's attribute at that time, such as time factor, distance factor etc., and these comprehensive factors are calculated Go out specific trade company's property value at that time.
But, safeguarded because backstage daily record is dispersed in different places, and daily record amount is big, and influence factor is also more, looks into The workload for finding out the influence factor needs of trade company's attribute at that time is larger, finally obtains trade company's property value and often expends more people Power and longer time.
The content of the invention
The embodiment of the present invention provides a kind of trade company's attribute query method and device, to solve attribute query side of existing trade company Case workload is big, time-consuming, it is laborious the problem of.
In a first aspect, a kind of trade company's attribute query method is provided in the embodiment of the present invention, including:
Obtain merchant identification and Query Dates;
Start time point and end time point are determined according to the Query Dates;
It is determined that in the start time point between the end time point, the corresponding attribute of the merchant identification becomes The object time point of change;
According to the merchant identification, the corresponding objective attribute target attribute including at least one attribute of the object time point is obtained Collection.
Further, it is determined that in the start time point between the end time point, the merchant identification is corresponding The step of object time point that attribute changes, including:
Inquiry is between the end time point of the start time point to the Query Dates, and the merchant identification is corresponding Attribute changes time point;
The time point upper time rule for changing foundation without attribute is changed in response to the attribute to change, by the category Property change time point be set to object time point;
Being changed in response to the attribute has attribute to change foundation time rule on time point changes, it is determined that current The attribute changes time point between the end time point, the corresponding object time point of the time rule.
Further, according to the merchant identification, the object time point is obtained corresponding including at least one attribute The step of objective attribute target attribute collection, including:
According to the merchant identification, the corresponding initial attribute collection of the start time point is obtained;
According to the merchant identification, the attribute after the corresponding change of the object time point is obtained;
According to the attribute after the initial attribute collection and the change, the object time point is obtained corresponding including at least The objective attribute target attribute collection of one attribute.
Further, according to the merchant identification, the object time point is obtained corresponding including at least one attribute The step of objective attribute target attribute collection, in addition to:
The object time point is in chronological sequence sequentially ranked up;
According to the corresponding objective attribute target attribute collection of upper object time point of presently described object time point, during presently described target Between put the attribute after corresponding change, obtain the corresponding objective attribute target attribute including at least one attribute of presently described object time point Collection.
Further, according to the merchant identification, the object time point is obtained corresponding including at least one attribute After the step of objective attribute target attribute collection, including:
According to time order and function order, the objective attribute target attribute collection of acquisition is ranked up;
Obtain attribute to be checked;
Current goal time point corresponding objective attribute target attribute collection objective attribute target attribute corresponding with upper object time point is contrasted successively Collection, judges that the objective attribute target attribute is concentrated, whether the attribute to be checked changes;
Do not changed in response to the attribute to be checked, delete current goal time point corresponding objective attribute target attribute Collection;
Filter out the objective attribute target attribute collection in the Query Dates.
Second aspect, the embodiments of the invention provide a kind of trade company's attribute query device, including:
Data obtaining module, for obtaining merchant identification and Query Dates;
First determining module, for determining start time point and end time point according to the Query Dates;
Second determining module, for determining in the start time point between the end time point, the trade company marks Know the object time point that corresponding attribute changes;
Property set obtains module, for according to the merchant identification, obtaining the object time point corresponding including at least The objective attribute target attribute collection of one attribute.
Further, second determining module includes:
Query unit, it is described for inquiring about between the end time point of the start time point to the Query Dates Merchant identification corresponding attribute change time point;
Setting unit, for changing the time point upper time rule for not having attribute to change foundation in response to the attribute Change, object time point is set to by attribute change time point;
Determining unit, becomes for changing the time rule for having attribute to change foundation on time point in response to the attribute Change, it is determined that change time point between the end time point in presently described attribute, during the corresponding target of the time rule Between point.
Further, the property set obtains module and included:
Initial attribute collection acquiring unit, it is corresponding initial for according to the merchant identification, obtaining the start time point Property set;
Attribute acquiring unit, for according to the merchant identification, obtaining the category after the corresponding change of the object time point Property;
Objective attribute target attribute collection obtaining unit, for according to the attribute after the initial attribute collection and the change, obtaining described The corresponding objective attribute target attribute collection including at least one attribute of object time point.
Further, described device also includes:
Second sequencing unit, for according to time order and function order, being ranked up to the objective attribute target attribute collection of acquisition;
Acquiring unit, the attribute to be checked for obtaining;
Comparison unit, for contrasting current goal time point corresponding objective attribute target attribute collection and upper object time point pair successively The objective attribute target attribute collection answered, judges that the objective attribute target attribute is concentrated, whether the attribute to be checked changes;
Unit is deleted, for not changed in response to the attribute to be checked, current goal time point pair is deleted The objective attribute target attribute collection answered;
Screening unit, for filtering out the objective attribute target attribute collection in the Query Dates.
The third aspect, the embodiments of the invention provide a kind of server, including memory and and processor;Wherein,
The memory is used to store one or more computer instruction, wherein, one or more computer instruction Execution is called for the processor;
The processor is used for:
Obtain merchant identification and Query Dates;
Start time point and end time point are determined according to the Query Dates;
It is determined that in the start time point between the end time point, the corresponding attribute of the merchant identification becomes The object time point of change;
According to the merchant identification, the corresponding objective attribute target attribute including at least one attribute of the object time point is obtained Collection.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable storage medium, the computer-readable storage medium is stored with One or more computer instruction, the computer instruction realizes the method described in above-mentioned first aspect when being performed.
The embodiments of the invention provide a kind of statistical method for loading Web page picture, including obtain merchant identification and inquiry day Phase, start time point and end time point are determined according to the Query Dates, it is determined that in the start time point to the end Between time point, the object time point that the corresponding attribute of the merchant identification changes, finally according to the merchant identification, is obtained The corresponding objective attribute target attribute collection including at least one attribute of the object time point is obtained, and then finds out change in Query Dates Objective attribute target attribute collection, while the change procedure of attribute can be intuitively shown, to facilitate the reason for explaining attribute change to be checked, Implementation method is simple, time saving, laborsaving.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 shows a kind of flow chart of the store method of trade company's attribute information provided in an embodiment of the present invention;
Fig. 2 shows a kind of flow chart of trade company's attribute query method provided in an embodiment of the present invention;
Fig. 3 shows the flow chart of another trade company's attribute query method provided in an embodiment of the present invention;
Fig. 4 shows a kind of block diagram of trade company's attribute query device provided in an embodiment of the present invention;
Fig. 5 shows a kind of block diagram of server provided in an embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described.
In some flows of description in description and claims of this specification and above-mentioned accompanying drawing, contain according to Particular order occur multiple operations, but it should be clearly understood that these operation can not herein occur according to it is suitable Sequence is performed or performed parallel, and the sequence number such as 101,102 etc. of operation is only used for distinguishing each different operation, sequence number Any execution sequence is not represented for itself.In addition, these flows can include more or less operations, and these operations can To perform or perform parallel in order.It should be noted that the description such as " first ", " second " herein, is to be used to distinguish not Same message, equipment, module etc., does not represent sequencing, it is different types also not limit " first " and " second ".
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other implementation that those skilled in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Reference picture 1, shows a kind of flow chart of the store method of trade company's attribute information provided in an embodiment of the present invention, should Method specifically may include steps of:
Step 101, the attribute after change and attribute change time point are stored in trade company's Attribute Incremental table.
In embodiments of the present invention, the attribute of trade company can include sending valency, dispatching scope, dispatching duration, basis dispatching Take, dispatching at times takes, dispenses expense etc..
Example 1, the 10 of May 17:When 00, basis dispatching expense is changed to 6 yuan from 5 yuan, then in trade company's Attribute Incremental table Attribute change time point correspond to the 10 of May 17:00, dispatching takes 6 yuan based on the attribute after change is corresponded to.
In in the specific implementation, each merchant identification can correspond to trade company's Attribute Incremental table, trade company's Attribute Incremental table Data can only preserve limited period limit data, can for example preserve the data of 10 days.
, can be by the time rule after change with array when attribute change needs the time rule of foundation to change Form is stored in trade company's Attribute Incremental table, when the array corresponding attribute change time point changes for time rule when Between point.
Example 2, the 13 of May 17:When 00, the corresponding time rule of expense will be dispensed at times and will be changed to:12:00 timesharing Section dispatching takes for 2 yuan, 21:00 expense of dispatching at times is 5 yuan.Attribute change time point in trade company's Attribute Incremental table corresponds to The 13 of May 17:00, the attribute after change corresponds to an array, and the array includes time row and attribute column, time leu For 12:00 and 21:00;Correspondingly, attribute column is followed successively by 2 yuan of dispatching expense at times and at times 5 yuan of dispatching expense.
Step 102, the data real-time update trade company attribute data table in trade company's Attribute Incremental table.
The full dose data of in store trade company's attribute in trade company's attribute data table, such as trade company's business status, dispatching scope, base Plinth dispatching takes, dispatching expense, dispatching at times takes etc..
Step 102 can be realized once the attribute of trade company changes, then according to the attribute after change to trade company's attribute number It is updated according to table, to ensure on webpage to the real-time data of user's displaying of making a reservation.Such as basis in trade company's attribute data table Dispatching take for 5 yuan, when increase in trade company's Attribute Incremental table dispatching expense change in basis is turned into 6 yuan of data when, trade company's attribute data Basis dispatching expense in table is then changed to 6 yuan, and the dispatching Fei Yehui shown on webpage correspondingly changes.
Step 103, according to default frequency of your backups, the data in trade company's attribute data table are saved in backup file In.
In the specific implementation, daily 6 can be arranged at:Data in 00 pair of trade company's attribute data table are backed up.
Reference picture 2, shows a kind of flow chart of trade company's attribute query method provided in an embodiment of the present invention, this method tool Body may include steps of.
Step 201, merchant identification and Query Dates are obtained.
For example, merchant identification can be named as to the corresponding trade name of the trade company, Query Dates can be 18 days 5 months.
Step 202, start time point and end time point are determined according to the Query Dates.
In the specific implementation, the start time point could be arranged to Query Dates search_date the previous day, i.e., The 6 of search_date-1 days:00, i.e., the time point of data backup is carried out to trade company's attribute data table daily.If Query Dates For the date at current queries moment, then end time point is set to the current queries moment, if Query Dates are not currently to look into The date at moment is ask, then end time point is set to the 23 of search_date days:59:59.
Step 203, it is determined that in the start time point between the end time point, the corresponding category of the merchant identification The object time point that property changes.
In a kind of preferred exemplary of the embodiment of the present invention, step 203 can specifically include:
Step 11, inquiry is between the end time point of the start time point to the Query Dates, trade company's mark Know corresponding attribute change time point.
In the specific implementation, the merchant identification corresponding attribute change time can be inquired about in trade company's Attribute Incremental table Point.For example, example 1 and example 2 in the embodiment based on Fig. 1, can inquire about and obtain the 10 of May 17:00 and the 13 of May 17: 00 two attributes change time point.
Step 12, the time point upper time rule for changing foundation without attribute is changed in response to the attribute to change, Attribute change time point is set to object time point.
In the specific implementation, can by inquire about obtain attribute change time point be ranked up according to time order and function order, Then judge that the time rule for whether having attribute to change foundation on attribute change time point changes successively.
For example, the 10 of May 17:00 time rule for changing foundation without attribute changes, then by May 17 10:00 is set to object time point.
Step 13, being changed in response to the attribute has attribute to change foundation time rule on time point changes, really It is scheduled on presently described attribute and changes time point between the end time point, the corresponding object time point of the time rule.
For example, the 13 of May 17:00 time rule for having attribute to change foundation changes, and is specially to dispense at times Take corresponding time rule to be changed to:12:00 expense of dispatching at times is 2 yuan, 21:00 expense of dispatching at times is 5 yuan.
If, the Query Dates are not the dates at current queries moment, then end time point are set into search_date The 23 of day:59:59.According to the time rule, it may be determined that the 21 of May 17:00 and the 12 of May 18:00 corresponding timesharing Section dispatching expense will change, then by the 21 of May 17:00 and the 12 of May 18:00 is set to object time point.
The object time point that whole attributes change can be obtained by step 203, for obtaining attribute change Complete procedure.
Step 204, according to the merchant identification, the corresponding mesh including at least one attribute of the object time point is obtained Mark property set.
In a kind of preferred exemplary of the embodiment of the present invention, step 204 can specifically include:
Step 21, according to the merchant identification, the corresponding initial attribute collection of the start time point is obtained.
In embodiments of the present invention, initial time will can be set to the time point that trade company's attribute data table is backed up Point, the full dose data of trade company's attribute for will be preserved in backup file are used as initial attribute collection.
If not finding the corresponding attribute of the merchant identification in backup file, in trade company's Attribute Incremental table or trade company Searched in attribute data table, if there is the corresponding attribute of the merchant identification, then by the trade company in trade company's Attribute Incremental table Corresponding first increment information is identified as initial attribute collection.
If all not finding the merchant identification pair in backup file, trade company's Attribute Incremental table or trade company's attribute data table The attribute answered, then it is assumed that in the absence of the corresponding information of the merchant identification.
Step 22, according to the merchant identification, the attribute after the corresponding change of the object time point is obtained.
For example, the 10 of May 17:Dispatching takes 6 yuan based on attribute after 00 corresponding change, then obtains " basis dispatching Take 6 yuan " information.
Step 23, according to the attribute after the initial attribute collection and the change, the object time point is obtained corresponding Objective attribute target attribute collection including at least one attribute.
Objective attribute target attribute collection can include:Basis dispenses expense, dispatching expense, dispatching at times and takes, rises and send valency, dispatching distance, match somebody with somebody Send time etc..
For example the initial attribute collection includes:Basis dispatching takes 5 yuan, rises and send 20 yuan of valency.Then according to the 10 of May 17:00 pair 6 yuan of basis dispatching expense after the change answered, obtained objective attribute target attribute collection includes:Basis dispatching takes 6 yuan, rises and send 20 yuan of valency.
In embodiments of the present invention, it can be obtained according to specific dispatching address between the dispatching address and trade company address Distance, further according to service logic, obtain corresponding basic dispatching expense.It can also be taken according to basis dispatching, dispense expense at times And service logic, that is, dispense expense=basis dispatching expense+and dispense expense at times, obtain dispatching expense.
In embodiments of the present invention, first the object time point in chronological sequence sequentially can be ranked up, further according to The corresponding objective attribute target attribute collection of upper object time point of presently described object time point, presently described object time point is corresponding to be become Attribute after more, obtains the corresponding objective attribute target attribute collection including at least one attribute of presently described object time point.
For example, object time point includes the 10 of May 17:00 and the 21 of May 17:00, the 10 of May 17:00 correspondence Objective attribute target attribute collection include:Basis dispatching takes 6 yuan, and dispatching at times takes 4 yuan, rises and send 20 yuan of valency;The 21 of May 17:00 change The expense of dispatching at times afterwards is 5 yuan, then the 21 of May 17:00 corresponding objective attribute target attribute collection includes:Basis dispatching takes 6 yuan, timesharing Section dispatching takes 5 yuan, rises and send 20 yuan of valency.
Step 205, objective attribute target attribute collection to be presented is obtained.
In a kind of preferred exemplary of the embodiment of the present invention, step 205 can specifically include:
Step 31, according to time order and function order, the objective attribute target attribute collection of acquisition is ranked up.
Step 32, attribute to be checked is obtained.
Step 33, current goal time point corresponding objective attribute target attribute collection mesh corresponding with upper object time point is contrasted successively Property set is marked, judges that the objective attribute target attribute is concentrated, whether the attribute to be checked changes.
Step 34, do not changed in response to the attribute to be checked, delete current goal time point corresponding mesh Mark property set.
Step 35, the objective attribute target attribute collection in the Query Dates is filtered out.
The objective attribute target attribute collection at such as current goal time point includes dispatching and takes 6 yuan, a length of 30 minutes during dispatching, a upper target The objective attribute target attribute collection at time point includes dispatching and takes 6 yuan, a length of 40 minutes during dispatching, and trade company's attribute to be checked is dispatching expense, The objective attribute target attribute collection at current goal time point is then deleted, more intuitively, clearly to show the data of our care, convenient solution The reason for releasing trade company's attribute change.
Before step 35, obtained objective attribute target attribute collection is located at start time point between end time point, can pass through Screening obtains Query Dates 0:00 to 23:59:Objective attribute target attribute collection between 59, for displaying.
Obtain after objective attribute target attribute collection to be presented, each object time point pair can be shown one by one according to time order and function order The objective attribute target attribute collection answered.
When dispatching address to be checked is not in the range of the dispatching of trade company, it can be shown in front end not in dispatching scope Message.
If objective attribute target attribute, which is concentrated, to be included dispensing scope, dispatching scope can be shown in the form of map, and will be matched somebody with somebody Range flags are sent on map, intuitively to be shown.
In embodiments of the present invention, the corresponding target of object time point that attribute changes in Query Dates can be obtained Property set, it is real to facilitate the reason for explaining attribute change to be checked so as to intuitively show the overall process of attribute change Existing method is simple, time saving, laborsaving.
It is shown in Figure 3, the stream for another trade company's attribute query method provided in an embodiment of the present invention shown in Fig. 3 Cheng Tu.Embodiment shown in Fig. 3 is the embodiment refined based on step 201 in Fig. 2 to step 204, thus with Fig. 2 identicals Hold the embodiment reference can be made to shown in Fig. 2.Method may comprise steps of shown in Fig. 3.
Step 301, start time point and end time point are determined according to Query Dates;The start time point is located at inquiry Before date.
In embodiments of the present invention, start time point can be set to the 6 of search_date-1 days:00, by the end of Between point be set to search_date days 23:59:59.
Step 302, start time point and end time point are arranged sequentially in time list according to time order and function.
Step 303, in trade company's Attribute Incremental table, search in the start time point between the end time point, trade company Identify corresponding attribute change time point.
Step 304, the attribute found in trade company's Attribute Incremental table is changed into time point to arrange according to time order and function order It is listed in the time list.
Step 305, judge whether the time point in current time list has attribute change successively according to time order and function order The time rule of foundation changes;If so, turning next step;If no, going to step 308.
Step 306, there is time rule to change in response to the current point in time in time list, advised according to the time Then, it is determined that changing time point between the end time point in presently described attribute, attribute changes corresponding time point.
Step 307, the attribute determined according to time rule is changed into corresponding time point according to time order and function order It is arranged in the time list.
Step 308, there is no time rule to change in response to the current point in time in time list, obtain current time The corresponding objective attribute target attribute collection including at least one attribute of point.
Start time point is set to morning and Query Dates result in the time point that complete trade company's attribute changes. Because often including the time rule of change in trade company's Attribute Incremental table, such as in search_date-1 days 13:, will when 00 The time rule for dispensing expense at times is changed to:12:00 expense of dispatching at times is 2 yuan, 21:00 expense of dispatching at times is 5 Member.Although dispatching took in search_date-1 days 13 at times:Do not occur when 00, but can be on search_date-1 21:The 12 of 00 and search_date:00 changes.It is therefore desirable to according to the time rule after change by search_date- The 21 of 1 day:The 12 of 00 and search_date:00 adds in time list, so as to obtain complete trade company's attribute change process.
In embodiments of the present invention, the corresponding target of object time point that attribute changes in Query Dates can be obtained Property set, it is real to facilitate the reason for explaining attribute change to be checked so as to intuitively show the overall process of attribute change Existing method is simple, time saving, laborsaving.
Reference picture 4, shows a kind of block diagram of trade company's attribute query device provided in an embodiment of the present invention, and the device is specific It can include:
Data obtaining module 401, for obtaining merchant identification and Query Dates.
First determining module 402, for determining start time point and end time point according to the Query Dates.
Second determining module 403, for determining in the start time point between the end time point, the trade company Identify the object time point that corresponding attribute changes.
In a kind of preferred exemplary of the embodiment of the present invention, the second determining module 403 can specifically include:
Query unit, it is described for inquiring about between the end time point of the start time point to the Query Dates Merchant identification corresponding attribute change time point;
Setting unit, for changing the time point upper time rule for not having attribute to change foundation in response to the attribute Change, object time point is set to by attribute change time point;
Determining unit, becomes for changing the time rule for having attribute to change foundation on time point in response to the attribute Change, it is determined that change time point between the end time point in presently described attribute, during the corresponding target of the time rule Between point.
Property set obtains module 404, for according to the merchant identification, obtaining the object time point corresponding including extremely The objective attribute target attribute collection of a few attribute.
In a kind of preferred exemplary of the embodiment of the present invention, property set, which obtains module 404, can specifically include:
Initial attribute collection acquiring unit, it is corresponding initial for according to the merchant identification, obtaining the start time point Property set;
Attribute acquiring unit, for according to the merchant identification, obtaining the category after the corresponding change of the object time point Property;
Objective attribute target attribute collection obtaining unit, for according to the attribute after the initial attribute collection and the change, obtaining described The corresponding objective attribute target attribute collection including at least one attribute of object time point.
Further, the property set obtains module 404 and can also included:
First sequencing unit, for the object time point to be in chronological sequence sequentially ranked up.
Then, objective attribute target attribute collection obtaining unit, when can be also used for the upper target according to presently described object time point Between put corresponding objective attribute target attribute collection, the attribute after the corresponding change of presently described object time point, when obtaining presently described target Between put the corresponding objective attribute target attribute collection including at least one attribute.
Property set acquisition module 405, the objective attribute target attribute collection to be presented for obtaining.
In a kind of preferred exemplary of the embodiment of the present invention, property set acquisition module 405 can specifically include:
Second sequencing unit, for according to time order and function order, being ranked up to the objective attribute target attribute collection of acquisition;
Acquiring unit, the attribute to be checked for obtaining;
Comparison unit, for contrasting current goal time point corresponding objective attribute target attribute collection and upper object time point pair successively The objective attribute target attribute collection answered, judges that the objective attribute target attribute is concentrated, whether the attribute to be checked changes;
Unit is deleted, for not changed in response to the attribute to be checked, current goal time point pair is deleted The objective attribute target attribute collection answered;
Screening unit, for filtering out the objective attribute target attribute collection in the Query Dates.
In embodiments of the present invention, the corresponding target of object time point that attribute changes in Query Dates can be obtained Property set, it is real to facilitate the reason for explaining attribute change to be checked so as to intuitively show the overall process of attribute change Existing method is simple, time saving, laborsaving.
Reference picture 5, shows a kind of block diagram of server provided in an embodiment of the present invention, and the service implement body can include Memory 501 and with processor 502;Wherein,
The memory 501 is used to store one or more computer instruction, wherein, one or more computer refers to Order calls execution for the processor 502;
The processor 502 is used for:
Obtain merchant identification and Query Dates;
Start time point and end time point are determined according to the Query Dates;
It is determined that in the start time point between the end time point, the corresponding attribute of the merchant identification becomes The object time point of change;
According to the merchant identification, the corresponding objective attribute target attribute including at least one attribute of the object time point is obtained Collection.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium, the computer-readable storage medium be stored with one or A plurality of computer instruction, the computer instruction is realized when being performed in the embodiment shown in embodiment and Fig. 3 shown in Fig. 2 Trade company's attribute query method.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can To be or may not be physically separate, the part shown as unit can be or may not be physics list Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Understood based on such, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Order is to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Method described in some parts of example or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.
The invention discloses A1, a kind of trade company's attribute query method, including:
Obtain merchant identification and Query Dates;
Start time point and end time point are determined according to the Query Dates;
It is determined that in the start time point between the end time point, the corresponding attribute of the merchant identification becomes The object time point of change;
According to the merchant identification, the corresponding objective attribute target attribute including at least one attribute of the object time point is obtained Collection.
In A2, the method as described in A1, it is determined that in the start time point between the end time point, the trade company The step of identifying the object time point that corresponding attribute changes, including:
Inquiry is between the end time point of the start time point to the Query Dates, and the merchant identification is corresponding Attribute changes time point;
The time point upper time rule for changing foundation without attribute is changed in response to the attribute to change, by the category Property change time point be set to object time point;
Being changed in response to the attribute has attribute to change foundation time rule on time point changes, it is determined that current The attribute changes time point between the end time point, the corresponding object time point of the time rule.
In A3, the method as described in A1, according to the merchant identification, the object time point is obtained corresponding including at least The step of objective attribute target attribute collection of one attribute, including:
According to the merchant identification, the corresponding initial attribute collection of the start time point is obtained;
According to the merchant identification, the attribute after the corresponding change of the object time point is obtained;
According to the attribute after the initial attribute collection and the change, the object time point is obtained corresponding including at least The objective attribute target attribute collection of one attribute.
In A4, the method as described in A3, according to the merchant identification, the object time point is obtained corresponding including at least The step of objective attribute target attribute collection of one attribute, in addition to:
The object time point is in chronological sequence sequentially ranked up;
According to the corresponding objective attribute target attribute collection of upper object time point of presently described object time point, during presently described target Between put the attribute after corresponding change, obtain the corresponding objective attribute target attribute including at least one attribute of presently described object time point Collection.
In A5, the method as any one of A1-A4, according to the merchant identification, the object time point pair is obtained After the step of objective attribute target attribute collection including at least one attribute answered, including:
According to time order and function order, the objective attribute target attribute collection of acquisition is ranked up;
Obtain attribute to be checked;
Current goal time point corresponding objective attribute target attribute collection objective attribute target attribute corresponding with upper object time point is contrasted successively Collection, judges that the objective attribute target attribute is concentrated, whether the attribute to be checked changes;
Do not changed in response to the attribute to be checked, delete current goal time point corresponding objective attribute target attribute Collection;
Filter out the objective attribute target attribute collection in the Query Dates.
The invention also discloses B6, a kind of trade company's attribute query device, including:
Data obtaining module, for obtaining merchant identification and Query Dates;
First determining module, for determining start time point and end time point according to the Query Dates;
Second determining module, for determining in the start time point between the end time point, the trade company marks Know the object time point that corresponding attribute changes;
Property set obtains module, for according to the merchant identification, obtaining the object time point corresponding including at least The objective attribute target attribute collection of one attribute.
In B7, the device as described in B6, second determining module includes:
Query unit, it is described for inquiring about between the end time point of the start time point to the Query Dates Merchant identification corresponding attribute change time point;
Setting unit, for changing the time point upper time rule for not having attribute to change foundation in response to the attribute Change, object time point is set to by attribute change time point;
Determining unit, becomes for changing the time rule for having attribute to change foundation on time point in response to the attribute Change, it is determined that change time point between the end time point in presently described attribute, during the corresponding target of the time rule Between point.
In B8, the device as described in B6, the property set, which obtains module, to be included:
Initial attribute collection acquiring unit, it is corresponding initial for according to the merchant identification, obtaining the start time point Property set;
Attribute acquiring unit, for according to the merchant identification, obtaining the category after the corresponding change of the object time point Property;
Objective attribute target attribute collection obtaining unit, for according to the attribute after the initial attribute collection and the change, obtaining described The corresponding objective attribute target attribute collection including at least one attribute of object time point.
In B9, the device as described in B8, the property set, which obtains module, also to be included:
First sequencing unit, for the object time point to be in chronological sequence sequentially ranked up;
The objective attribute target attribute collection obtaining unit, is additionally operable to the upper object time point pair according to presently described object time point The objective attribute target attribute collection answered, the attribute after the corresponding change of presently described object time point, obtains presently described object time point pair The objective attribute target attribute collection including at least one attribute answered.
In B10, the device as described in any one of B6-B9, described device also includes:
Second sequencing unit, for according to time order and function order, being ranked up to the objective attribute target attribute collection of acquisition;
Acquiring unit, the attribute to be checked for obtaining;
Comparison unit, for contrasting current goal time point corresponding objective attribute target attribute collection and upper object time point pair successively The objective attribute target attribute collection answered, judges that the objective attribute target attribute is concentrated, whether the attribute to be checked changes;
Unit is deleted, for not changed in response to the attribute to be checked, current goal time point pair is deleted The objective attribute target attribute collection answered;
Screening unit, for filtering out the objective attribute target attribute collection in the Query Dates.
The invention also discloses C11, a kind of server, including memory and and processor;Wherein,
The memory is used to store one or more computer instruction, wherein, one or more computer instruction Execution is called for the processor;
The processor is used for:
Obtain merchant identification and Query Dates;
Start time point and end time point are determined according to the Query Dates;
It is determined that in the start time point between the end time point, the corresponding attribute of the merchant identification becomes The object time point of change;
According to the merchant identification, the corresponding objective attribute target attribute including at least one attribute of the object time point is obtained Collection.
The invention also discloses D12, a kind of computer-readable storage medium, the computer-readable storage medium is stored with one or many Bar computer instruction, realizes the method as any one of A1-A5 when the computer instruction is performed.

Claims (10)

1. a kind of trade company's attribute query method, it is characterised in that including:
Obtain merchant identification and Query Dates;
Start time point and end time point are determined according to the Query Dates;
It is determined that in the start time point between the end time point, the corresponding attribute of the merchant identification changes Object time point;
According to the merchant identification, the corresponding objective attribute target attribute collection including at least one attribute of the object time point is obtained.
2. according to the method described in claim 1, it is characterised in that it is determined that in the start time point to the end time point Between, the step of the object time point that the corresponding attribute of the merchant identification changes, including:
Inquiry is between the end time point of the start time point to the Query Dates, the corresponding attribute of the merchant identification Change time point;
The time point upper time rule for changing foundation without attribute is changed in response to the attribute to change, and the attribute is become More time point is set to object time point;
Being changed in response to the attribute has attribute to change foundation time rule on time point changes, it is determined that presently described Attribute changes time point between the end time point, the corresponding object time point of the time rule.
3. according to the method described in claim 1, it is characterised in that according to the merchant identification, obtain the object time point The step of corresponding objective attribute target attribute collection including at least one attribute, including:
According to the merchant identification, the corresponding initial attribute collection of the start time point is obtained;
According to the merchant identification, the attribute after the corresponding change of the object time point is obtained;
According to the attribute after the initial attribute collection and the change, the object time point is obtained corresponding including at least one The objective attribute target attribute collection of attribute.
4. method according to claim 3, it is characterised in that according to the merchant identification, obtains the object time point The step of corresponding objective attribute target attribute collection including at least one attribute, in addition to:
The object time point is in chronological sequence sequentially ranked up;
According to the corresponding objective attribute target attribute collection of upper object time point of presently described object time point, presently described object time point Attribute after corresponding change, obtains the corresponding objective attribute target attribute collection including at least one attribute of presently described object time point.
5. the method according to any one of claim 1-4, it is characterised in that according to the merchant identification, obtains described After the step of object time point corresponding objective attribute target attribute collection including at least one attribute, including:
According to time order and function order, the objective attribute target attribute collection of acquisition is ranked up;
Obtain attribute to be checked;
Contrast current goal time point corresponding objective attribute target attribute collection objective attribute target attribute collection corresponding with upper object time point, sentences successively The disconnected objective attribute target attribute is concentrated, and whether the attribute to be checked changes;
Do not changed in response to the attribute to be checked, delete current goal time point corresponding objective attribute target attribute collection;
Filter out the objective attribute target attribute collection in the Query Dates.
6. a kind of trade company's attribute query device, it is characterised in that including:
Data obtaining module, for obtaining merchant identification and Query Dates;
First determining module, for determining start time point and end time point according to the Query Dates;
Second determining module, for determining in the start time point between the end time point, the merchant identification pair The object time point that the attribute answered changes;
Property set obtains module, for according to the merchant identification, obtaining the object time point corresponding including at least one The objective attribute target attribute collection of attribute.
7. device according to claim 6, it is characterised in that second determining module includes:
Query unit, for inquiring about between the end time point of the start time point to the Query Dates, the trade company Identify corresponding attribute change time point;
Setting unit, becomes for changing the time point upper time rule for not having attribute to change foundation in response to the attribute Change, attribute change time point is set to object time point;
Determining unit, changes for changing the time rule for having attribute to change foundation on time point in response to the attribute, It is determined that change time point between the end time point in presently described attribute, the time rule corresponding object time Point.
8. device according to claim 6, it is characterised in that the property set, which obtains module, to be included:
Initial attribute collection acquiring unit, for according to the merchant identification, obtaining the corresponding initial attribute of the start time point Collection;
Attribute acquiring unit, for according to the merchant identification, obtaining the attribute after the corresponding change of the object time point;
Objective attribute target attribute collection obtaining unit, for according to the attribute after the initial attribute collection and the change, obtaining the target The time point corresponding objective attribute target attribute collection including at least one attribute.
9. the device according to any one of claim 6-8, it is characterised in that described device also includes:
Second sequencing unit, for according to time order and function order, being ranked up to the objective attribute target attribute collection of acquisition;
Acquiring unit, the attribute to be checked for obtaining;
Comparison unit, it is corresponding with upper object time point for contrasting current goal time point corresponding objective attribute target attribute collection successively Objective attribute target attribute collection, judges that the objective attribute target attribute is concentrated, whether the attribute to be checked changes;
Unit is deleted, for not changed in response to the attribute to be checked, current goal time point is deleted corresponding Objective attribute target attribute collection;
Screening unit, for filtering out the objective attribute target attribute collection in the Query Dates.
10. a kind of server, it is characterised in that including memory and and processor;Wherein,
The memory is used to store one or more computer instruction, wherein, one or more computer instruction supplies institute State processor and call execution;
The processor is used for:
Obtain merchant identification and Query Dates;
Start time point and end time point are determined according to the Query Dates;
It is determined that in the start time point between the end time point, the corresponding attribute of the merchant identification changes Object time point;
According to the merchant identification, the corresponding objective attribute target attribute collection including at least one attribute of the object time point is obtained.
CN201710425291.2A 2017-06-07 2017-06-07 Merchant attribute query method and device and server Expired - Fee Related CN107169845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710425291.2A CN107169845B (en) 2017-06-07 2017-06-07 Merchant attribute query method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710425291.2A CN107169845B (en) 2017-06-07 2017-06-07 Merchant attribute query method and device and server

Publications (2)

Publication Number Publication Date
CN107169845A true CN107169845A (en) 2017-09-15
CN107169845B CN107169845B (en) 2020-12-01

Family

ID=59825858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710425291.2A Expired - Fee Related CN107169845B (en) 2017-06-07 2017-06-07 Merchant attribute query method and device and server

Country Status (1)

Country Link
CN (1) CN107169845B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112597376A (en) * 2020-12-16 2021-04-02 北京五八信息技术有限公司 Information query method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1205674A (en) * 1995-12-21 1999-01-20 通力股份公司 Procedure and appts. for presenting elevator functions
US6615204B1 (en) * 1996-05-31 2003-09-02 Silicon Graphics, Inc. Method and system for hybrid mapping of objects into a relational data base to provide high-speed performance and update flexibility
CN102117445A (en) * 2011-02-23 2011-07-06 电子科技大学 Method for monitoring goods in real time in logistics management
CN102822855A (en) * 2010-03-23 2012-12-12 亚马逊技术股份有限公司 User profile and geolocation for efficient transactions
CN103794053A (en) * 2014-03-05 2014-05-14 中商商业发展规划院有限公司 Vague predicting method and system for city short-distance logistics simple target delivering time
CN104318460A (en) * 2014-11-17 2015-01-28 北京金和软件股份有限公司 Electronic-merchant operating platform capable of synchronously displaying interface of mobile terminal
CN104809200A (en) * 2015-04-24 2015-07-29 联动优势科技有限公司 Database synchronization method and device
CN106780176A (en) * 2016-12-15 2017-05-31 东莞市讯易机电科技有限公司 A kind of food delivery personnel computer Dispatching Control System and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1205674A (en) * 1995-12-21 1999-01-20 通力股份公司 Procedure and appts. for presenting elevator functions
US6615204B1 (en) * 1996-05-31 2003-09-02 Silicon Graphics, Inc. Method and system for hybrid mapping of objects into a relational data base to provide high-speed performance and update flexibility
CN102822855A (en) * 2010-03-23 2012-12-12 亚马逊技术股份有限公司 User profile and geolocation for efficient transactions
CN102117445A (en) * 2011-02-23 2011-07-06 电子科技大学 Method for monitoring goods in real time in logistics management
CN103794053A (en) * 2014-03-05 2014-05-14 中商商业发展规划院有限公司 Vague predicting method and system for city short-distance logistics simple target delivering time
CN104318460A (en) * 2014-11-17 2015-01-28 北京金和软件股份有限公司 Electronic-merchant operating platform capable of synchronously displaying interface of mobile terminal
CN104809200A (en) * 2015-04-24 2015-07-29 联动优势科技有限公司 Database synchronization method and device
CN106780176A (en) * 2016-12-15 2017-05-31 东莞市讯易机电科技有限公司 A kind of food delivery personnel computer Dispatching Control System and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112597376A (en) * 2020-12-16 2021-04-02 北京五八信息技术有限公司 Information query method and device

Also Published As

Publication number Publication date
CN107169845B (en) 2020-12-01

Similar Documents

Publication Publication Date Title
US8285580B2 (en) System and method for filtering exceptions generated by forecasting and replenishment engine
JP3860866B2 (en) Sales navigation device
US20040243613A1 (en) System and method for creating a custom view from information in a managed data store
CN103154942B (en) Enterprise applies work centre
US20040117393A1 (en) Modeling system for retrieving and displaying data from multiple sources
CN109344153A (en) The processing method and terminal device of business datum
CN109308296A (en) A kind of generation method, device and the computer readable storage medium of business datum table
CN109740034A (en) The case-involving information query method of enterprise and device based on graphic data base
CN115033575A (en) Data query method, device, equipment and storage medium
CN109669915A (en) A kind of computer task management method, device and relevant device
CN101706818A (en) Report dynamic filtering method and device
CN105930245A (en) Method and system for monitoring service state of transaction terminal
EP1412903A2 (en) Method and tool for achieving data consistency in an enterprise resource planning system
US5857193A (en) Centralized audiotext polling system
CN108053323A (en) Method, apparatus, computer equipment and the storage medium of service plan generation
CN107169845A (en) A kind of trade company's attribute query method, device and server
CN107846322A (en) A kind of monitoring system of self-service device
US20040139035A1 (en) System and method for integration of value-added product costs
CN113807548A (en) Monitoring system for vehicle maintenance service
US20240161198A1 (en) Custom data
CN116932632A (en) Method and system for data asset management and visualization
CN107688892A (en) Distribution method, storage medium and the server of breakpoint list
CN110471730A (en) Methods of exhibiting, system, big screen system and medium based on Echarts
CN110232057A (en) Data rewind method, electronic equipment, storage medium
CN109919762A (en) Reporting method, device, equipment and the storage medium of customer information

Legal Events

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

Address after: 100085 Beijing, Haidian District on the road to the information on the ground floor of the 1 to the 3 floor of the 2 floor, room 11, 202

Applicant after: Beijing Xingxuan Technology Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the road to the information on the ground floor of the 1 to the 3 floor of the 2 floor, room 11, 202

Applicant before: Beijing Xiaodu Information Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201201