CN109558405A - Object publishing method and device, system - Google Patents

Object publishing method and device, system Download PDF

Info

Publication number
CN109558405A
CN109558405A CN201811332856.3A CN201811332856A CN109558405A CN 109558405 A CN109558405 A CN 109558405A CN 201811332856 A CN201811332856 A CN 201811332856A CN 109558405 A CN109558405 A CN 109558405A
Authority
CN
China
Prior art keywords
attribute
extended
client
mapping relations
publisher
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.)
Pending
Application number
CN201811332856.3A
Other languages
Chinese (zh)
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.)
Zhejiang Number Chain Technology Co Ltd
Original Assignee
Zhejiang Number Chain 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 Zhejiang Number Chain Technology Co Ltd filed Critical Zhejiang Number Chain Technology Co Ltd
Priority to CN201811332856.3A priority Critical patent/CN109558405A/en
Publication of CN109558405A publication Critical patent/CN109558405A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application provides a kind of object publishing method and device, system, instructs this method comprises: receiving the attribute extension for target object that publisher's client is sent, and adds in extended attribute table the extended attribute that attribute extension instruction indicates;When receiving the attributes edit instruction of publisher's client transmission, the extended attribute recorded in extended attribute table is returned so that publisher's client is to the extended attribute assignment of return to publisher's client;The assigned result that publisher's client is sent is received, and the mapping relations of extended attribute and the attribute value of extended attribute are recorded in the extended field of attribute information table;When receive displaying side's client transmission for target object attribute acquisition instruction when, the mapping relations of the attribute and attribute value that read from extended field are returned to displaying side's client, so that displaying side's client shows the mapping relations received according to the first exhibition method.

Description

Object publishing method and device, system
Technical field
This application involves field of communication technology more particularly to a kind of object publishing method and devices, system.
Background technique
When the publication of a certain commodity is trendy, the attribute of the commodity also changes therewith.In the related art, when needing to expand When the attribute information of exhibit-trader's product, structure of developer's modification for the database of record attribute information is generally required, and adjust Whole client shows the code of attribute information, then can just come into force after redeploying publication.However, extended attribute is believed in the related technology The process of breath is excessively complicated, causes efficiency lower.
Summary of the invention
In view of this, the application provides a kind of object publishing method and device, system, to solve in the related technology not Foot.
To achieve the above object, it is as follows to provide technical solution by the application:
According to a first aspect of the present application, a kind of object publishing system is proposed, comprising: publisher's client, server-side With displaying side's client;
Publisher's client sends the attribute extension instruction for target object to the server-side;
The server-side adds the extended attribute of the attribute extension instruction instruction in extended attribute table, and is receiving When the attributes edit instruction that publisher's client is sent, Xiang Suoshu publisher's client returns to be remembered in the extended attribute table The extended attribute of record is so that publisher's client is to the extended attribute assignment of return, and is receiving the publisher visitor The mapping relations of extended attribute and the attribute value of extended attribute are recorded in the extension of attribute information table after the assigned result at family end In field;Wherein, the mapping that the field in the attribute information table is used to record each attribute and attribute value of any object is closed System;
Displaying side's client sends the attribute acquisition instruction for being directed to the target object to the server-side, so that institute The mapping relations that server-side returns to the attribute and attribute value that read from the extended field are stated, and according to the first exhibition method Show the mapping relations received;Wherein, first exhibition method for showing, remember in the attribute information table by extended field The content of record.
According to a second aspect of the present application, a kind of object publishing method is proposed, publisher's client is applied to;The side Method includes:
The attribute extension instruction for target object is sent to server-side, so that the server-side is in extended attribute table Add the extended attribute of the attribute extension instruction instruction;
When detecting that publisher user edits the triggering command of the extended attribute, Xiang Suoshu server-side sends attribute and compiles Instruction is collected, so that the server-side returns to the extended attribute recorded in the extended attribute table;
The assigned result for the extended attribute that the publisher user inputs is sent to server-side, so that the clothes The mapping relations of extended attribute and the attribute value of extended attribute are recorded in the extended field of attribute information table by business end, and in institute When stating server-side and receiving the attribute acquisition instruction for being directed to the target object of displaying side's client transmission, return is from the expansion The mapping relations of attribute and attribute value read in exhibition field, with by displaying side's client according to the first exhibition method exhibition Show the mapping relations received;Wherein, the field in the attribute information table is used to record each attribute of any object and belongs to Property value mapping relations, first exhibition method is used to show the content that extended field in the attribute information table records.
According to the third aspect of the application, a kind of object publishing method is proposed, is applied to server-side;The method packet It includes:
It receives the attribute extension for target object that publisher's client is sent to instruct, and is added in extended attribute table The extended attribute of the attribute extension instruction instruction;
When receiving the attributes edit instruction that publisher's client is sent, Xiang Suoshu publisher's client returns to institute The extended attribute recorded in extended attribute table is stated so that publisher's client is to the extended attribute assignment of return;
Receive the assigned result that publisher's client is sent, and reflecting the attribute value of extended attribute and extended attribute Relation record is penetrated in the extended field of attribute information table;Wherein, the field in the attribute information table is any right for recording Each attribute of elephant and the mapping relations of attribute value;
When receive displaying side's client transmission for the target object attribute acquisition instruction when, to the displaying Square client returns to the mapping relations of the attribute and attribute value that read from the extended field, so that the displaying side client End shows the mapping relations received according to the first exhibition method;Wherein, first exhibition method is for showing the attribute The content that extended field records in information table.
According to the fourth aspect of the application, a kind of object publishing method is provided, is applied to displaying side's client;The method Include:
The attribute acquisition instruction for being directed to target object is sent to server-side, so that the server-side returns to dependence information table Extended field in the attribute value of the extended attribute that reads and the extended attribute mapping relations;In the attribute information table Field be used to record each attribute of any object and the mapping relations of attribute value, the mapping relations in the extended field by Publisher's client carries out assignment to the extended attribute being recorded in extended attribute table and obtains, and the extended attribute is by described Server-side instructs to obtain according to the attribute extension that publisher's client is sent, and the attribute extension instruction is used to indicate described Server-side adds the extended attribute in the extended attribute table;
The mapping relations received are shown according to the first exhibition method;Wherein, first exhibition method is for showing institute State the content that extended field records in attribute information table.
By above technical scheme as it can be seen that the application is extended by configuring in the attribute information table for record attribute information Field is to record extended attribute information (the i.e. mapping of the attribute value of extended attribute and the extended attribute that publisher's client is issued Relationship), and the first exhibition method is pre-configured with for showing the extended attribute recorded in extended field letter in displaying side's client Breath so that when issuing extended attribute information it is not necessary to modify the structure of attribute information table, and displaying side's client without Change shows the mode of attribute information, to add the process of extended attribute information when simplifying issue object.Meanwhile publisher Client when adding extended attribute, added extended attribute record in extended attribute table (rather than attribute information table) for Publisher's client is to extended attribute assignment, so as to avoid the knot for modifying attribute information table during adding extended attribute Structure.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram for object publishing system that an exemplary embodiment provides.
Fig. 2 is the flow chart of the object publishing method based on publisher's client-side shown in an exemplary embodiment.
Fig. 3 is the flow chart of the object publishing method based on service end side shown in an exemplary embodiment.
Fig. 4 is the flow chart of the object publishing method based on displaying side's client-side shown in an exemplary embodiment.
Fig. 5 is the interaction figure of the object publishing method shown in an exemplary embodiment.
Fig. 6 is a kind of structure of electronic equipment based on publisher's client-side shown in one exemplary embodiment of the application Schematic diagram.
Fig. 7 is a kind of block diagram of object publishing device shown in one exemplary embodiment of the application.
Fig. 8 is a kind of structural representation of electronic equipment based on service end side shown in one exemplary embodiment of the application Figure.
Fig. 9 is the block diagram of another object publishing device shown in one exemplary embodiment of the application.
Figure 10 is a kind of knot of electronic equipment based on displaying side's client-side shown in one exemplary embodiment of the application Structure schematic diagram.
Figure 11 is the block diagram of another object publishing device shown in one exemplary embodiment of the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
Fig. 1 is a kind of configuration diagram for object publishing system that an exemplary embodiment provides.As shown in Figure 1, this is System may include server 11, publisher's client 12, displaying side's client 13 and network 14.
Server 11 can be able to be mainframe cluster for the physical server comprising a unique host or the server-side 11 The virtual server of carrying.In the process of running, server 11 can run the program of the server side of a certain application, to realize The related service function of the application, for example when the program of the server 11 operation object publishing system, it is right to can be implemented as this As the server-side of delivery system.
Publisher's client 12, displaying side's client 13 can be the electronic equipment of following types: mobile phone, PC, plate are set Standby, laptop, palm PC (PDAs, Personal Digital Assistants), wearable device (such as Brilliant Eyes Mirror, smartwatch etc.) etc., this specification one or more embodiment is limited not to this.
And the network 14 for being interacted between server 11, publisher's client 12 and displaying side's client 13, it can To include a plurality of types of wired or wireless networks.In one embodiment, which may include Public Switched Telephone Network (Public Switched Telephone Network, PSTN) and internet.
Based on the framework of above-mentioned object publishing system, the application provides a kind of object publishing system, comprising: publisher client End, server-side and displaying side's client;
Publisher's client sends the attribute extension instruction for target object to the server-side;
The server-side adds the extended attribute of the attribute extension instruction instruction in extended attribute table, and is receiving When the attributes edit instruction that publisher's client is sent, Xiang Suoshu publisher's client returns to be remembered in the extended attribute table The extended attribute of record is so that publisher's client is to the extended attribute assignment of return, and is receiving the publisher visitor The mapping relations of extended attribute and the attribute value of extended attribute are recorded in the extension of attribute information table after the assigned result at family end In field;Wherein, the mapping that the field in the attribute information table is used to record each attribute and attribute value of any object is closed System;
Displaying side's client sends the attribute acquisition instruction for being directed to the target object to the server-side, so that institute The mapping relations that server-side returns to the attribute and attribute value that read from the extended field are stated, and according to the first exhibition method Show the mapping relations received;Wherein, first exhibition method for showing, remember in the attribute information table by extended field The content of record.
It is said separately below for publisher's client, server-side and the displaying side's client in object publishing system It is bright.
Fig. 2 is referred to, Fig. 2 is the object publishing method based on publisher's client-side shown in an exemplary embodiment Flow chart.As shown in Fig. 2, this method is applied to publisher's client, may comprise steps of:
Step 202, the attribute extension instruction for target object is sent to server-side, so that the server-side is extending The extended attribute of the attribute extension instruction instruction is added in attribute list.
Step 204, when detecting that publisher user edits the triggering command of the extended attribute, Xiang Suoshu server-side hair Attributes edit is sent to instruct, so that the server-side returns to the extended attribute recorded in the extended attribute table.
Step 206, the assigned result for the extended attribute that the publisher user inputs is sent to server-side, with Make the server-side that the mapping relations of extended attribute and the attribute value of extended attribute to be recorded in the extended field of attribute information table In, and the server-side receive displaying side's client transmission for the target object attribute acquisition instruction when, return Return the mapping relations of attribute and attribute value read from the extended field, with by displaying side's client according to first Exhibition method shows the mapping relations received;Wherein, the field in the attribute information table is for recording each of any object The mapping relations of a attribute and attribute value, for showing, extended field records first exhibition method in the attribute information table Content.
Fig. 3 is referred to, Fig. 3 is the process of the object publishing method based on service end side shown in an exemplary embodiment Figure.As shown in figure 3, this method is applied to server-side, may comprise steps of:
Step 302, it receives the attribute extension for target object that publisher's client is sent to instruct, and in extended attribute The extended attribute of the attribute extension instruction instruction is added in table.
Step 304, when receiving the attributes edit instruction that publisher's client is sent, Xiang Suoshu publisher client End returns to the extended attribute recorded in the extended attribute table so that publisher's client is to the extended attribute assignment of return.
Step 306, the assigned result that publisher's client is sent is received, and by the category of extended attribute and extended attribute The mapping relations of property value are recorded in the extended field of attribute information table;Wherein, the field in the attribute information table is for remembering Record each attribute of any object and the mapping relations of attribute value.
In the present embodiment, the mapping relations of extended attribute and the attribute value of extended attribute can be deposited in the form of key-value pair It is stored in the extended field;Wherein, the extended field is JSON format.It is deposited by the extended field using JSON format The mapping relations (hereinafter referred to as the mapping relations are extended attribute information) for storing up the attribute value of extended attribute and extended attribute, can mention Height reads the efficiency of extended attribute information.
Step 308, when receive displaying side's client transmission for the target object attribute acquisition instruction when, to Displaying side's client returns to the mapping relations of the attribute and attribute value that read from the extended field, so that the exhibition The side's of showing client shows the mapping relations received according to the first exhibition method;Wherein, first exhibition method is for showing The content that extended field records in the attribute information table.
In the present embodiment, other fields in addition to recording extended attribute information in extended field, in attribute information table It can also be used in other attribute informations for recording the target object.For example, also can record the primary attribute information of the target object.When So, the particular content of the primary attribute information can flexibly be set according to the actual situation by user, and the application limits not to this System.Specifically, server-side can also read and record in other fields in the attribute information table in addition to the extended field The mapping relations of attribute and attribute value, and the mapping relations read are returned to displaying side's client, so that the displaying Square client shows the mapping relations received according to the second exhibition method.
Fig. 4 is referred to, Fig. 4 is the object publishing method based on displaying side's client-side shown in an exemplary embodiment Flow chart.As shown in figure 4, this method is applied to displaying side's client, may comprise steps of:
Step 402, the attribute acquisition instruction for being directed to target object is sent to server-side, so that the server-side returns to subordinate Property information table extended field in the attribute value of the extended attribute that reads and the extended attribute mapping relations;The attribute Field in information table is used to record each attribute of any object and the mapping relations of attribute value, reflecting in the extended field It penetrates relationship and the extended attribute progress assignment being recorded in extended attribute table is obtained by publisher's client, the extension belongs to Property instruct to obtain according to the attribute extension that publisher's client is sent by the server-side, attribute extension instruction is used for Indicate that the server-side adds the extended attribute in the extended attribute table.
Step 404, the mapping relations received are shown according to the first exhibition method;Wherein, first exhibition method is used In the content for showing extended field record in the attribute information table.
By above technical scheme as it can be seen that the application is extended by configuring in the attribute information table for record attribute information Field is to record extended attribute information (the i.e. mapping of the attribute value of extended attribute and the extended attribute that publisher's client is issued Relationship), and the first exhibition method is pre-configured with for showing the extended attribute recorded in extended field letter in displaying side's client Breath so that when issuing extended attribute information it is not necessary to modify the structure of attribute information table, and displaying side's client without Change shows the mode of attribute information, to add the process of extended attribute information when simplifying issue object.Meanwhile publisher Client when adding extended attribute, added extended attribute record in extended attribute table (rather than attribute information table) for Publisher's client is to extended attribute assignment, so as to avoid the knot for modifying attribute information table during adding extended attribute Structure.
In order to make it easy to understand, below by taking target object is commodity as an example, in conjunction with publisher's client, server-side and displaying side The technical solution of the application is described in detail in interactive process between client.
Fig. 5 is referred to, Fig. 5 is the interaction figure of the object publishing method shown in an exemplary embodiment.As shown in figure 5, should Method may comprise steps of:
Step 502, publisher's client generates attribute extension instruction.
In the present embodiment, when some commodity needs to issue trendy, it is meant that the attribute of the commodity changes.Example Such as, need to add new features of some attribute to describe the trendy commodity.So, publisher's client produces attribute extension and refers to It enables to indicate that server-side adds extended attribute.
Step 504, publisher's client sends attribute extension instruction to server-side.
Step 506, server-side adds extended attribute in extended attribute table.
In the present embodiment, server-side configuration has attribute information table and extended attribute table.For example, MySQL can be used Configuration attribute information table and extended attribute table.Wherein, the field in attribute information table can be used for recording each category of any object The mapping relations (mapping relations are referred to as attribute information below) of property and attribute value.For example, the basis in attribute information table Field can be used for recording the primary attribute (for example, color, specification, model etc.) of commodity.Further, volume is gone back in attribute information table It is configured with extended field outside with for recording extended attribute information, which can be used the field of JSON format to record and expand Open up attribute information.For example, the mapping relations between extended attribute and the attribute value of extended attribute, can by the field of JSON format with The form of key-value pair records, i.e. key is extended attribute, and value is the attribute value of extended attribute.For example, key-value pair are as follows: " GoodsExtProperty ": " plasticity: 135 hardness: 40 outside boards: XHG-141 " };Wherein, key is " GoodsExtProperty ", value are " plasticity: 135 hardness: 40 outside boards: XHG-141 ".Correspondingly, in displaying side visitor In the end of family, the exhibition method for showing the basis field and extended field recorded contents is pre-created;So opening up After the side's of showing client gets in attribute information table basic field and the content of extended field record, the exhibition that can be pre-created according to this Show that mode renders to the content that basic field and extended field record to show in interface.And extended attribute table is only used for record hair The extended attribute (for example, title or ID of extended attribute) added needed for cloth side's client, without recording the attribute of extended attribute It is worth (i.e. the specific content of extended attribute).In other words, it will be appreciated that it is only used for the key in record key-value pair for extended attribute table, and Corresponding value is without record.So, when needing to add new attribute (i.e. extended attribute), publisher's client can pass through Attribute extension instruction is sent to server-side, so that server-side adds extended attribute in extended attribute table with new for subsequent issued The commodity of money.For example, publisher's client can define the type of the extended attribute, format, length, show sequence, inquiry mode, The information such as unit.
Step 508, publisher's client sends attributes edit instruction to server-side.
Step 510, the expansion recorded in the primary attribute and extended attribute table recorded in server-side reading attributes information table Attribute is opened up, and returns to each attribute read to publisher's client.
Step 512, publisher's client sends the assigned result for being directed to each attribute to server-side.
Step 514, server-side records the attribute value of each attribute in attribute information table.
In the present embodiment, based on the above-mentioned addition to extended attribute, the user of publisher's client, which can be used, newly to be added The extended attribute added issues trendy commodity.Specifically, publisher's client is detecting that publisher user edits extended attribute Triggering command when, attributes edit can be sent to server-side and is instructed so that server-side returns to the extension category that records in extended attribute table Property for publisher user by publisher's client carry out assignment.
For example, the option of " issuing trendy commodity " can be configured in the interface of publisher's client for publisher's use Edit each attribute (including extended attribute) of trendy commodity in family.So, when publisher user clicks " issuing trendy commodity " After option, publisher's client detects the triggering command of editor's attribute (including editor's primary attribute and extended attribute), to clothes Business end sends attributes edit and instructs so that server-side returns in the extended attribute recorded in extended attribute table and attribute information table The primary attribute of record carries out assignment for publisher user.For example, publisher's client can edit the attribute received It is shown in interface, so that publisher user carries out assignment to these attributes.Server-side is believed after receiving assigned result in attribute The attribute value of each attribute is recorded in breath table.Wherein, corresponding to the assigned result of extended attribute, JSON is used in extended field Format records.For example, the mapping relations between extended attribute and the attribute value of extended attribute, can by the field of JSON format with The form of key-value pair records, i.e. key is extended attribute, and value is the attribute value of extended attribute.For example, key-value pair are as follows: " GoodsExtProperty ": " plasticity: 135 hardness: 40 outside boards: XHG-141 " };Wherein, key is " GoodsExtProperty ", value are " plasticity: 135 hardness: 40 outside boards: XHG-141 ".
Certainly, it above-mentioned acquisition attribute and carries out the process of assignment and can be carried out only for extended attribute.For example, publisher user After the option for clicking " issuing trendy commodity ", publisher's client regards as detecting the triggering command of editor's extended attribute, that Server-side only needs to return the extended attribute read from extended attribute table and carries out assignment for publisher user, and other belong to The attribute value of default can be used in property (such as primary attribute).
So far, step 502-514 is the process for issuing trendy commodity, and following step 516-522 is that displaying side's client exists Interactive process when needing to check trendy commodity between server-side.
Step 516, displaying side's client sends attribute acquisition instruction to server-side.
Step 518, each attribute information recorded in server-side reading attributes information table.
Step 520, server-side returns to the attribute information read to displaying side's client.
Step 522, displaying side's client shows attribute information.
In the present embodiment, server-side reads basic field after receiving attribute acquisition instruction in attribute information table The primary attribute information (mapping relations including primary attribute and attribute value) of middle record, and extension is read in extended field Attribute information (mapping relations including extended attribute and attribute value), and all properties information read is back to displaying side Client is in displaying showing interface.Wherein, displaying side's client has pre-created exhibition method for showing attribute information The attribute information of each field record in table, thus the side's of displaying client receive server-side return attribute information after, can The content that basic field and extended field record is rendered to according to the exhibition method pre-created and is shown in interface.Further , displaying side's client shows extended attribute information according to the first exhibition method, shows primary attribute according to the second exhibition method Information.Certainly, identical exhibition method can be used in the first exhibition method and the second exhibition method, and different displaying sides can also be used Formula, the application limit not to this.It can be seen that due to being configured with extended field in attribute information table to expand for recording Attribute information is opened up, and also accordingly creation has exhibition method to show the content of extended field record to displaying side's client, thus So that, without the structure of modification attribute information table, being shown even if publisher's client needs to add extended attribute for commodity Square client shows interface without modification, and then simplifies the operating process for issuing trendy commodity.
By above technical scheme as it can be seen that the application is extended by configuring in the attribute information table for record attribute information Field is to record extended attribute information (the i.e. mapping of the attribute value of extended attribute and the extended attribute that publisher's client is issued Relationship), and the first exhibition method is pre-configured with for showing the extended attribute recorded in extended field letter in displaying side's client Breath so that when issuing extended attribute information it is not necessary to modify the structure of attribute information table, and displaying side's client without Change shows the mode of attribute information, to add the process of extended attribute information when simplifying issue object.Meanwhile publisher Client when adding extended attribute, added extended attribute record in extended attribute table (rather than attribute information table) for Publisher's client is to extended attribute assignment, so as to avoid the knot for modifying attribute information table during adding extended attribute Structure.
Fig. 6 shows the structure based on publisher's client-side electronic equipment of the exemplary embodiment according to the application Schematic diagram.Referring to FIG. 6, in hardware view, the electronic equipment include processor 602, internal bus 604, network interface 606, Memory 608 and nonvolatile memory 610, are also possible that hardware required for other business certainly.Processor 602 is from non- Corresponding computer program is read in volatile memory 610 then to run into memory 608, and object is formed on logic level Distributing device.Certainly, other than software realization mode, other implementations, such as logical device suppression is not precluded in the application Or mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each logic unit, It is also possible to hardware or logical device.
Referring to FIG. 7, in Software Implementation, which may include:
First transmission unit 71 sends the attribute extension instruction for target object to server-side, so that the service The extended attribute of the attribute extension instruction instruction is added in extended attribute table in end;
Second transmission unit 72, when detecting that publisher user edits the triggering command of the extended attribute, Xiang Suoshu Server-side sends attributes edit instruction, so that the server-side returns to the extended attribute recorded in the extended attribute table;
Third transmission unit 73 sends the assignment for the extended attribute that the publisher user inputs to server-side As a result, so that the mapping relations of extended attribute and the attribute value of extended attribute are recorded in the expansion of attribute information table by the server-side It opens up in field, and receives the attribute acquisition instruction for the target object of displaying side's client transmission in the server-side When, the mapping relations of the attribute and attribute value that read from the extended field are returned to, to be pressed by displaying side's client The mapping relations received are shown according to the first exhibition method;Wherein, the field in the attribute information table is any right for recording Each attribute of elephant and the mapping relations of attribute value, first exhibition method extend word for showing in the attribute information table The content of segment record.
Fig. 8 shows the structural representation based on service end side electronic equipment of the exemplary embodiment according to the application Figure.Referring to FIG. 8, the electronic equipment includes processor 802, internal bus 804, network interface 808, memory in hardware view 808 and nonvolatile memory 810, it is also possible that hardware required for other business certainly.Processor 802 is from non-volatile Property memory 810 in read corresponding computer program into memory 808 then run, object publishing is formed on logic level Device.Certainly, other than software realization mode, the application is not precluded other implementations, such as logical device or soft Mode of combination of hardware etc., that is to say, that the executing subject of following process flow is not limited to each logic unit, can also To be hardware or logical device.
Referring to FIG. 9, in Software Implementation, which may include:
First receiving unit 91 receives the attribute extension for target object that publisher's client is sent and instructs, and The extended attribute of the attribute extension instruction instruction is added in extended attribute table;
First return unit 92, when receiving the attributes edit instruction that publisher's client is sent, to the hair Cloth side's client returns to extension of the extended attribute recorded in the extended attribute table for publisher's client to return Attribute assignment;
Second receiving unit 93 receives the assigned result that publisher's client is sent, and by extended attribute and extends The mapping relations of the attribute value of attribute are recorded in the extended field of attribute information table;Wherein, the word in the attribute information table Section is for recording each attribute of any object and the mapping relations of attribute value;
Second return unit 94, when the attribute acquisition for the target object for receiving the transmission of displaying side's client refers to When enabling, the mapping relations of the attribute and attribute value that read from the extended field are returned to displaying side's client, with Displaying side's client is set to show the mapping relations received according to the first exhibition method;Wherein, first exhibition method For showing the content of extended field record in the attribute information table.
Optionally, second receiving unit 93 is specifically used for:
The mapping relations of extended attribute and the attribute value of extended attribute are stored in the extension word in the form of key-value pair Duan Zhong;Wherein, the extended field is JSON format.
Optionally, when receive displaying side's client transmission be directed to the target object attribute acquisition instruction when, and also Include:
Reading unit 95 reads the category recorded in other fields in the attribute information table in addition to the extended field The mapping relations of property and attribute value;
Third return unit 96 returns to the mapping relations read to displaying side's client, so that the displaying side Client shows the mapping relations received according to the second exhibition method.
Figure 10 shows the knot based on displaying side's client-side electronic equipment of the exemplary embodiment according to the application Structure schematic diagram.Referring to FIG. 10, the electronic equipment includes processor 1002, internal bus 1004, network interface in hardware view 10010, memory 10010 and nonvolatile memory 1010, are also possible that hardware required for other business certainly.Processing Device 1002 is from the then operation into memory 10010 of corresponding computer program is read in nonvolatile memory 1010, in logic Object publishing device is formed in level.Certainly, other than software realization mode, other implementations are not precluded in the application, Such as logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to Each logic unit is also possible to hardware or logical device.
Figure 11 is please referred to, in Software Implementation, which may include:
Transmission unit 1101 sends the attribute acquisition instruction for being directed to target object to server-side, so that the server-side is returned Return the mapping relations of the attribute value of the extended attribute and the extended attribute that read in the extended field of dependence information table;Institute It states the field in attribute information table and is used to record each attribute of any object and the mapping relations of attribute value, the extended field In mapping relations assignment carried out to the extended attribute that is recorded in extended attribute table by publisher's client obtain, it is described Extended attribute is instructed to obtain by the server-side according to the attribute extension that publisher's client is sent, and the attribute extension refers to Order is used to indicate the server-side and adds the extended attribute in the extended attribute table;
First display unit 1102 shows the mapping relations received according to the first exhibition method;Wherein, first exhibition Show mode for showing the content of extended field record in the attribute information table.
Optionally, further includes:
Receiving unit 1103 receives the server-side and reads its in the attribute information table in addition to the extended field The mapping relations of the attribute and attribute value that are recorded in his field;
Second display unit 1104 shows the mapping relations received according to the second exhibition method.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory of instruction, above-metioned instruction can be executed by the processor of above-mentioned object publishing device to realize such as above-described embodiment In any method.Wherein, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc., the application limits not to this.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (13)

1. a kind of object publishing system characterized by comprising publisher's client, server-side and displaying side's client;
Publisher's client sends the attribute extension instruction for target object to the server-side;
The server-side adds the extended attribute of the attribute extension instruction instruction in extended attribute table, and described receiving When the attributes edit instruction that publisher's client is sent, Xiang Suoshu publisher's client, which returns, to be recorded in the extended attribute table Extended attribute is so that publisher's client is to the extended attribute assignment of return, and is receiving publisher's client Assigned result after the mapping relations of extended attribute and the attribute value of extended attribute are recorded in the extended field of attribute information table In;Wherein, the field in the attribute information table is used to record each attribute of any object and the mapping relations of attribute value;
Displaying side's client sends the attribute acquisition instruction for being directed to the target object to the server-side, so that the clothes Business end returns to the mapping relations of the attribute and attribute value that read from the extended field, and shows according to the first exhibition method The mapping relations received;Wherein, first exhibition method is used to show extended field record in the attribute information table Content.
2. a kind of object publishing method, which is characterized in that be applied to publisher's client;The described method includes:
The attribute extension instruction for target object is sent to server-side, so that the server-side is added in extended attribute table The extended attribute of the attribute extension instruction instruction;
When detecting that publisher user edits the triggering command of the extended attribute, Xiang Suoshu server-side sends attributes edit and refers to It enables, so that the server-side returns to the extended attribute recorded in the extended attribute table;
The assigned result for the extended attribute that the publisher user inputs is sent to server-side, so that the server-side The mapping relations of extended attribute and the attribute value of extended attribute are recorded in the extended field of attribute information table, and in the clothes Business termination receive that displayings side client sends for the target object attribute acquisition instruction when, return is from the extension word The mapping relations of the attribute and attribute value that are read in section, to be connect by displaying side's client according to the displaying of the first exhibition method The mapping relations received;Wherein, the field in the attribute information table is used to record each attribute and attribute value of any object Mapping relations, first exhibition method is used to show the content that extended field in the attribute information table records.
3. a kind of object publishing method, which is characterized in that be applied to server-side;The described method includes:
It receives the attribute extension for target object that publisher's client is sent to instruct, and in extended attribute table described in addition The extended attribute of attribute extension instruction instruction;
When receiving the attributes edit instruction that publisher's client is sent, Xiang Suoshu publisher's client returns to the expansion The extended attribute recorded in exhibition attribute list is so that publisher's client is to the extended attribute assignment of return;
The assigned result that publisher's client is sent is received, and the mapping of extended attribute and the attribute value of extended attribute is closed System is recorded in the extended field of attribute information table;Wherein, the field in the attribute information table is for recording any object The mapping relations of each attribute and attribute value;
It is objective to the displaying side when receiving the attribute acquisition instruction for being directed to the target object of displaying side's client transmission Family end returns to the mapping relations of the attribute and attribute value that read from the extended field, so that displaying side's client is pressed The mapping relations received are shown according to the first exhibition method;Wherein, first exhibition method is for showing the attribute information The content that extended field records in table.
4. according to the method described in claim 3, it is characterized in that, the reflecting the attribute value of extended attribute and extended attribute Relation record is penetrated in the extended field of attribute information table, comprising:
The mapping relations of extended attribute and the attribute value of extended attribute are stored in the extended field in the form of key-value pair; Wherein, the extended field is JSON format.
5. according to the method described in claim 3, it is characterized in that, when receive displayings side client send be directed to the mesh When marking the attribute acquisition instruction of object, further includes:
Read reflecting for the attribute and attribute value recorded in other fields in the attribute information table in addition to the extended field Penetrate relationship;
The mapping relations read are returned to displaying side's client, so that displaying side's client is according to the second displaying side Formula shows the mapping relations received.
6. a kind of object publishing method, which is characterized in that be applied to displaying side's client;The described method includes:
The attribute acquisition instruction for being directed to target object is sent to server-side, so that the server-side returns to the expansion of dependence information table The mapping relations of the attribute value of the extended attribute and the extended attribute that are read in exhibition field;Word in the attribute information table Section is for recording each attribute of any object and the mapping relations of attribute value, and the mapping relations in the extended field are by issuing Square client carries out assignment to the extended attribute being recorded in extended attribute table and obtains, and the extended attribute is by the service End instructs to obtain according to the attribute extension that publisher's client is sent, and the attribute extension instruction is used to indicate the service The extended attribute is added in the extended attribute table in end;
The mapping relations received are shown according to the first exhibition method;Wherein, first exhibition method is for showing the category Property information table in extended field record content.
7. according to the method described in claim 6, it is characterized by further comprising:
It receives the server-side and reads the category recorded in other fields in the attribute information table in addition to the extended field The mapping relations of property and attribute value;
The mapping relations received are shown according to the second exhibition method.
8. a kind of object publishing device, which is characterized in that be applied to publisher's client;Described device includes:
First transmission unit sends the attribute extension instruction for target object to server-side, so that the server-side is expanding The extended attribute of the attribute extension instruction instruction is added in exhibition attribute list;
Second transmission unit, when detecting that publisher user edits the triggering command of the extended attribute, Xiang Suoshu server-side Attributes edit instruction is sent, so that the server-side returns to the extended attribute recorded in the extended attribute table;
Third transmission unit sends the assigned result for the extended attribute that the publisher user inputs to server-side, So that the mapping relations of extended attribute and the attribute value of extended attribute are recorded in the extension word of attribute information table by the server-side Duan Zhong, and the server-side receive displaying side's client transmission for the target object attribute acquisition instruction when, Return to the mapping relations of attribute and attribute value read from the extended field, with by displaying side's client according to the One exhibition method shows the mapping relations received;Wherein, the field in the attribute information table is for recording any object The mapping relations of each attribute and attribute value, first exhibition method for showing, remember in the attribute information table by extended field The content of record.
9. a kind of object publishing device, which is characterized in that be applied to server-side;Described device includes:
First receiving unit receives the attribute extension for target object that publisher's client is sent and instructs, and belongs in extension Property table in add the extended attribute of attribute extension instruction instruction;
First return unit, when receiving the attributes edit instruction that publisher's client is sent, Xiang Suoshu publisher visitor Family end returns to the extended attribute recorded in the extended attribute table so that extended attribute of the publisher's client to return is assigned Value;
Second receiving unit, receives the assigned result that publisher's client is sent, and by extended attribute and extended attribute The mapping relations of attribute value are recorded in the extended field of attribute information table;Wherein, the field in the attribute information table is used for Record each attribute of any object and the mapping relations of attribute value;
Second return unit, when receive displaying side's client transmission for the target object attribute acquisition instruction when, The mapping relations that the attribute and attribute value that read from the extended field are returned to displaying side's client, so that described Displaying side's client shows the mapping relations received according to the first exhibition method;Wherein, first exhibition method is for opening up Show the content that extended field records in the attribute information table.
10. device according to claim 9, which is characterized in that second receiving unit is specifically used for:
The mapping relations of extended attribute and the attribute value of extended attribute are stored in the extended field in the form of key-value pair; Wherein, the extended field is JSON format.
11. device according to claim 9, which is characterized in that when receiving, being directed to for displaying side's client transmission is described When the attribute acquisition instruction of target object, further includes:
Reading unit reads the attribute and category recorded in other fields in the attribute information table in addition to the extended field The mapping relations of property value;
Third return unit returns to the mapping relations read to displaying side's client, so that displaying side's client The mapping relations received are shown according to the second exhibition method.
12. a kind of object publishing device, which is characterized in that be applied to displaying side's client;Described device includes:
Transmission unit sends the attribute acquisition instruction for being directed to target object to server-side, so that the server-side returns to dependence The mapping relations of the attribute value of the extended attribute and the extended attribute that are read in the extended field of information table;The attribute letter Field in breath table is used to record each attribute of any object and the mapping relations of attribute value, the mapping in the extended field Relationship carries out assignment to the extended attribute being recorded in extended attribute table by publisher's client and obtains, the extended attribute It instructs to obtain according to the attribute extension that publisher's client is sent by the server-side, the attribute extension instruction is for referring to Show that the server-side adds the extended attribute in the extended attribute table;
First display unit shows the mapping relations received according to the first exhibition method;Wherein, first exhibition method is used In the content for showing extended field record in the attribute information table.
13. device according to claim 12, which is characterized in that further include:
Receiving unit receives in other fields that the server-side is read in the attribute information table in addition to the extended field The attribute of record and the mapping relations of attribute value;
Second display unit shows the mapping relations received according to the second exhibition method.
CN201811332856.3A 2018-11-09 2018-11-09 Object publishing method and device, system Pending CN109558405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811332856.3A CN109558405A (en) 2018-11-09 2018-11-09 Object publishing method and device, system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811332856.3A CN109558405A (en) 2018-11-09 2018-11-09 Object publishing method and device, system

Publications (1)

Publication Number Publication Date
CN109558405A true CN109558405A (en) 2019-04-02

Family

ID=65865900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811332856.3A Pending CN109558405A (en) 2018-11-09 2018-11-09 Object publishing method and device, system

Country Status (1)

Country Link
CN (1) CN109558405A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765176A (en) * 2021-01-22 2021-05-07 浪潮通用软件有限公司 Attribute extension method and device in micro-service mode and storage medium
CN112764736A (en) * 2020-12-30 2021-05-07 北京宇信科技集团股份有限公司 Web end flow chart modeling method, device and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040267827A1 (en) * 2003-06-30 2004-12-30 International Business Machines Corporation Method, apparatus, and program for maintaining quota information within a file system
CN102508862A (en) * 2011-09-29 2012-06-20 用友软件股份有限公司 Data expansion device and data expansion method
CN104268298A (en) * 2014-10-27 2015-01-07 中电海康集团有限公司 Method for creating database index and inquiring data
CN105701112A (en) * 2014-11-26 2016-06-22 华为软件技术有限公司 Data processing method, apparatus and system
CN106843828A (en) * 2016-12-07 2017-06-13 腾讯科技(深圳)有限公司 interface display, loading method and device
CN107679247A (en) * 2017-10-31 2018-02-09 南威软件股份有限公司 A kind of method that electric business website realizes self-defined maintenance items extension information
CN107908758A (en) * 2017-11-22 2018-04-13 用友金融信息技术股份有限公司 Database extends control method and its control system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040267827A1 (en) * 2003-06-30 2004-12-30 International Business Machines Corporation Method, apparatus, and program for maintaining quota information within a file system
CN102508862A (en) * 2011-09-29 2012-06-20 用友软件股份有限公司 Data expansion device and data expansion method
CN104268298A (en) * 2014-10-27 2015-01-07 中电海康集团有限公司 Method for creating database index and inquiring data
CN105701112A (en) * 2014-11-26 2016-06-22 华为软件技术有限公司 Data processing method, apparatus and system
CN106843828A (en) * 2016-12-07 2017-06-13 腾讯科技(深圳)有限公司 interface display, loading method and device
CN107679247A (en) * 2017-10-31 2018-02-09 南威软件股份有限公司 A kind of method that electric business website realizes self-defined maintenance items extension information
CN107908758A (en) * 2017-11-22 2018-04-13 用友金融信息技术股份有限公司 Database extends control method and its control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764736A (en) * 2020-12-30 2021-05-07 北京宇信科技集团股份有限公司 Web end flow chart modeling method, device and system
CN112765176A (en) * 2021-01-22 2021-05-07 浪潮通用软件有限公司 Attribute extension method and device in micro-service mode and storage medium
CN112765176B (en) * 2021-01-22 2023-02-03 浪潮通用软件有限公司 Attribute extension method and device in micro-service mode and storage medium

Similar Documents

Publication Publication Date Title
US8578285B2 (en) Methods, apparatus and systems for providing secure information via multiple authorized channels to authenticated users and user devices
CN107122175B (en) Interface creating method and device
CN110807710A (en) Method and system for managing invitation data of user inviting friends
US10417340B2 (en) Cognitive collaborative moments
CN109634607A (en) A kind of method and device of Code automatic build
EP3874499A1 (en) Systems and methods for generating and sharing content
CN108509207A (en) The cross-system of WEB application program is installed
CN108363684A (en) List creation method, device and server
US11061982B2 (en) Social media tag suggestion based on product recognition
CN109375977A (en) A kind of method and device for realizing page tabular editor
CN105830103B (en) Notebook application in use based on historical information on the scene
CN107070785A (en) A kind of realize reads the method shared and its device
CN110489663A (en) A kind of social content control method, device and computer equipment
CN109558405A (en) Object publishing method and device, system
KR102251276B1 (en) Bind-based integrated content processing apparatus
TW201528005A (en) Employing presence information in notebook application
CN106506325A (en) Picture sharing method and device
JP2022511590A (en) Application sharing methods and sharing devices, electronic devices, computer readable media
CN109766155A (en) A kind of bullet frame generation method, device and storage medium
US9426163B2 (en) Collaboration space with event-trigger configuration views
CN107276881A (en) Remarks are shared in a kind of electronic reading method and its device
CN105453116A (en) Transforming visualized data through visual analytics based on interactivity
US20230267145A1 (en) Generating personalized digital thumbnails
CN108256124A (en) Method for building website, device, server and storage medium
CN110018761A (en) To the method, apparatus and terminal being managed recently using file

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190402

RJ01 Rejection of invention patent application after publication