CN111274586B - Method and device for storing data - Google Patents

Method and device for storing data Download PDF

Info

Publication number
CN111274586B
CN111274586B CN201811472945.8A CN201811472945A CN111274586B CN 111274586 B CN111274586 B CN 111274586B CN 201811472945 A CN201811472945 A CN 201811472945A CN 111274586 B CN111274586 B CN 111274586B
Authority
CN
China
Prior art keywords
attribute
database
attributes
saved
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811472945.8A
Other languages
Chinese (zh)
Other versions
CN111274586A (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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201811472945.8A priority Critical patent/CN111274586B/en
Publication of CN111274586A publication Critical patent/CN111274586A/en
Application granted granted Critical
Publication of CN111274586B publication Critical patent/CN111274586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Abstract

The invention discloses a method and a device for storing data, and relates to the technical field of computers. One embodiment of the method comprises the following steps: acquiring data of an attribute to be saved and a temporary storage position of the attribute to be saved; inquiring the database storage positions of all the attributes according to the mapping relation between the temporary storage positions of all the attributes and the database storage positions and the temporary storage positions of the attributes to be stored; generating a control instruction according to the data of the attributes to be saved and the database storage positions of all the attributes, and sending the control instruction to the database. According to the embodiment, the occupation of resources is reduced, the accuracy of data storage is improved, and the experience of a user is improved.

Description

Method and device for storing data
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for storing data.
Background
Each commodity has similar attributes as follows: whether to manage shelf life, whether to luxury goods, whether to manage refrigeration, whether to friable goods and/or whether to quality check, etc. The existing way to save these properties is to create a field in the database where a character stores an attribute of the commodity.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art: firstly, the database of each attribute of the commodity is manually memorized to store a position, and the data of each attribute in the database is saved or modified through memorization, so that the accuracy of data saving is low and the user experience is poor; secondly, the storage mode of the database is externally embodied, and the safety of the data is not high; thirdly, the process of storing data is complex, and excessive resources are occupied.
Disclosure of Invention
In view of this, the embodiment of the invention provides a method and a device for storing data, which can improve the accuracy and safety of data storage, improve the user experience degree and reduce the occupation of resources.
To achieve the above object, according to a first aspect of an embodiment of the present invention, there is provided a method of saving data.
The method for storing data, which is provided by the embodiment of the invention, is applied to a server and comprises the following steps: acquiring data of an attribute to be saved and a temporary storage position of the attribute to be saved; inquiring the database storage positions of all the attributes according to the mapping relation between the temporary storage positions of all the attributes and the database storage positions and the temporary storage positions of the attributes to be stored; generating a control instruction according to the data of the attributes to be saved and the database storage positions of all the attributes, and sending the control instruction to the database.
In one embodiment, the method further comprises: pre-establishing a mapping relation between temporary storage positions and database storage positions of all attributes, wherein all the attributes comprise attributes to be stored and stored attributes; inquiring the database storage positions of all the attributes according to the mapping relation between the temporary storage positions of all the attributes and the database storage positions and the temporary storage positions of the attributes to be stored, wherein the method comprises the following steps: inquiring the database storage position of the attribute to be saved according to the temporary storage position of the attribute to be saved and the mapping relation between the temporary storage position of the attribute to be saved and the database storage position; and inquiring the storage position of the stored attribute according to the storage position of the database of the attribute to be stored and the storage position of the database of all the attributes.
In one embodiment, generating a control instruction according to the data of the attribute to be saved and the database storage locations of all the attributes includes: and generating a control instruction according to the data of the attribute to be saved, the database storage position of the attribute to be saved and the database storage position of the saved attribute.
In one embodiment, pre-establishing a mapping relationship between temporary storage locations and database storage locations of all attributes includes: creating a storage device, defining and marking out the attribute stored by each storage unit in the storage device, and taking the position relation of each storage unit relative to the storage device as a temporary storage position of the attribute; acquiring a database storage position of each attribute, and establishing a mapping relation between the temporary storage positions of all the attributes and the database storage position according to the corresponding relation between the temporary storage position of each attribute and the database storage position; and transmitting the defined and marked storage device to the user terminal.
In one embodiment, after transmitting the defined and marked storage device to the user terminal, the method further comprises: and receiving a storage device returned by the user terminal, wherein the returned storage device comprises data of the attribute to be saved and a temporary storage position of the attribute to be saved.
To achieve the above object, according to a second aspect of the embodiments of the present invention, there is provided a method of saving data.
The method for storing data, which is provided by the embodiment of the invention, is applied to a database and comprises the following steps: receiving a control instruction, wherein the control instruction comprises data of attributes to be saved and database storage positions of all the attributes; and storing the data of the attribute to be stored according to the database storage positions of all the attributes.
In one embodiment, the database storage locations of all attributes include a database storage location of attributes to be saved and a database storage location of saved attributes; storing the data of the attribute to be stored according to the database storage positions of all the attributes, including: acquiring data of the saved attribute according to a database storage position of the saved attribute; sorting the data of the saved attribute and the data of the attribute to be saved according to the position relation between the database storage position of the saved attribute and the database storage position of the attribute to be saved to obtain an array; and saving the spliced array.
In one embodiment, storing the concatenated array includes: splicing the arrays into a new character string; the new character string replaces the original character string stored in the database.
To achieve the above object, according to a third aspect of an embodiment of the present invention, there is provided an apparatus for storing data.
The device for storing data, which is provided by the embodiment of the invention, is applied to a server and comprises: the device comprises an acquisition unit, a storage unit and a storage unit, wherein the acquisition unit is used for acquiring data of attributes to be stored and temporary storage positions of the attributes to be stored; the inquiring unit is used for inquiring the database storage positions of all the attributes according to the mapping relation between the temporary storage positions of all the attributes and the database storage positions and the temporary storage positions of the attributes to be stored; and the processing unit is used for generating a control instruction according to the data of the attribute to be saved and the database storage positions of all the attributes, and sending the control instruction to the database.
In one embodiment, the apparatus further comprises: the setting unit is used for pre-establishing the mapping relation between the temporary storage positions and the database storage positions of all the attributes, wherein all the attributes comprise attributes to be saved and saved attributes; the query unit is specifically configured to: inquiring the database storage position of the attribute to be saved according to the temporary storage position of the attribute to be saved and the mapping relation between the temporary storage position of the attribute to be saved and the database storage position; and inquiring the storage position of the stored attribute according to the storage position of the database of the attribute to be stored and the storage position of the database of all the attributes.
In one embodiment, the processing unit is specifically configured to: and generating a control instruction according to the data of the attribute to be saved, the database storage position of the attribute to be saved and the database storage position of the saved attribute.
In one embodiment, the setting unit is specifically configured to: creating a storage device, defining and marking out the attribute stored by each storage unit in the storage device, and taking the position relation of each storage unit relative to the storage device as a temporary storage position of the attribute; acquiring a database storage position of each attribute, and establishing a mapping relation between the temporary storage positions of all the attributes and the database storage position according to the corresponding relation between the temporary storage position of each attribute and the database storage position; and transmitting the defined and marked storage device to the user terminal.
In an embodiment, the acquisition unit is specifically further configured to: and receiving a storage device returned by the user terminal, wherein the returned storage device comprises data of the attribute to be saved and a temporary storage position of the attribute to be saved.
To achieve the above object, according to a fourth aspect of an embodiment of the present invention, there is provided an apparatus for storing data.
The device for storing data, which is provided by the embodiment of the invention, is applied to a database and comprises: the receiving unit is used for receiving a control instruction, wherein the control instruction comprises data of attributes to be saved and database storage positions of all the attributes; and the storage unit is used for storing the data of the attribute to be stored according to the database storage positions of all the attributes.
In one embodiment, the database storage locations of all attributes include a database storage location of attributes to be saved and a database storage location of saved attributes; the storage unit is specifically configured to: acquiring data of the saved attribute according to a database storage position of the saved attribute; sorting the data of the saved attribute and the data of the attribute to be saved according to the position relation between the database storage position of the saved attribute and the database storage position of the attribute to be saved to obtain an array; and saving the spliced array.
In an embodiment, the storage unit is specifically further configured to: splicing the arrays into a new character string; the new character string replaces the original character string stored in the database.
To achieve the above object, according to a fifth aspect of an embodiment of the present invention, there is provided an electronic apparatus.
An electronic device according to an embodiment of the present invention includes: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the method for storing data provided by the embodiment of the invention.
To achieve the above object, according to a sixth aspect of the embodiments of the present invention, a computer-readable medium is provided.
A computer readable medium of an embodiment of the present invention stores a computer program thereon, which when executed by a processor implements a method for storing data provided by the embodiment of the present invention.
One embodiment of the above invention has the following advantages or benefits: the data of the attributes to be saved and the temporary storage positions thereof are acquired, and then the mapping relation between the temporary storage positions of all the attributes and the storage positions of the database is utilized, so that the generated control instruction controls the database to save the data of the attributes to be saved by itself in a control instruction mode, the step of inquiring the data of all the attributes of the commodity from the database is omitted, the user can directly set the data of the attributes without considering the original storage data, the data saving step is simplified, the resource occupation is reduced, and the user experience is improved. The temporary storage position prevents the attribute storage mode of the database from being externally reflected, and improves the safety of the data. By defining and marking the attributes stored by the storage unit and displaying the attributes and the temporary storage positions thereof to the user, the problem that data storage is easy to make mistakes caused by setting and storing the data according to the database storage position mode of the manual memory attributes is avoided, the occurrence of errors is reduced, and the accuracy of data storage is improved.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of the main flow of a method for saving data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a storage structure of a string field and a varchar field in an embodiment of the present invention;
FIG. 3 is a schematic diagram of the main flow of a method of saving data according to another embodiment of the present invention;
FIG. 4 is a signaling interaction diagram of a method of saving data according to an embodiment of the invention;
FIG. 5 is a schematic diagram of the main modules of an apparatus for storing data according to an embodiment of the invention;
FIG. 6 is a schematic diagram of the main modules of an apparatus for storing data according to another embodiment of the present invention;
FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
fig. 8 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It is noted that embodiments of the invention and features of the embodiments may be combined with each other without conflict.
Goods have many attributes, such as: whether to manage the shelf life, whether to manage the luxury, whether to manage the refrigeration, whether to friable, whether to liquid, whether to be shaped, whether to be non-removable, whether to be unpackable, whether to perform quality inspection, etc., and the most original way to save these attributes is to save one attribute in one field of the database, thus occupying many fields of the database. The database extension field is needed when new attributes are to be saved and must suspend the database service. The more attributes that are saved, the longer the time to pause, thus, resulting in less expansion, excessive occupation of database resources and database structure changes.
The existing way to save these properties can solve the above-mentioned problems, specifically as follows: referring to the idea of bitmap, a field is created in advance in a database, the field is a long character string (varchar) field, the varchar field has 500 characters, one character can store one attribute, for example, the attribute of shelf life management is stored in the first character of the varchar field, if the 1 st character stores '0', it indicates that the commodity is not shelf life management, if the 1 st character stores '1', it indicates that the commodity is shelf life management; the attribute of the luxury is stored in the second character, indicating that the merchandise is not a luxury if the 2 nd character stores '0', and indicating that the merchandise is a luxury if the 2 nd character stores '1'. In practice, only a few characters in the varchar field are used, and when new attributes are to be stored, the unused characters are stored with the new attributes, so that the expansion is easy, the occupation of database resources is reduced, and the database structure is not changed.
However, in the conventional storage method, each attribute is stored in which character in the database is manually memorized, and data of each attribute is set for the commodity, and the data is stored in the database after the setting. In the process, errors are easy to occur when setting the data of the attribute according to the manual memory; and once one attribute is set wrong, multiple attribute settings may be caused to be wrong. And finally, the accuracy of data storage is low, and the user experience is poor.
The storage mode of the database is externally embodied, namely, the storage mode of the database is known by all users using the database, and the safety of the data cannot be ensured.
When the user needs to modify the data of the attributes, the user terminal firstly inquires the data of all the attributes of the commodity from the database and presents the data to the user, the user manually memorizes in which character of the database each attribute is stored, and accordingly the user terminal modifies the data of the commodity attributes, and the user terminal sends the data to the database for storage after modification. Therefore, the modification of the data of the attributes can be completed only by inquiring the data of all the attributes of the commodity from the database, and finally, the process of storing the data is complex, and excessive resources are occupied.
To solve the problems of the prior art, a first embodiment of the present invention provides a method for storing data, as shown in fig. 1, which is applied to a server, and includes:
step S101, acquiring data of an attribute to be saved and a temporary storage position of the attribute to be saved.
In the specific implementation, the data of the attribute to be saved and the temporary storage position of the attribute to be saved are obtained by using a java language reflection mechanism. It will be appreciated that the first embodiment may be used to store data for both the properties of the article to be modified and the first time the properties of the article are stored.
Step S102, according to the mapping relation between the temporary storage positions of all the attributes and the database storage positions and the temporary storage positions of the attributes to be stored, the database storage positions of all the attributes are inquired.
It should be understood that the database stores locations within the database and the temporary storage locations are not within the database. Therefore, the mode of storing the attributes of the database is not externally embodied, and the user cannot know the mode of storing the attributes of the database, so that the safety of the data is further improved. In addition, the specific implementation of this step may refer to the manner of the second example.
And step 103, generating a control instruction according to the data of the attributes to be saved and the database storage positions of all the attributes, and sending the control instruction to the database.
In the implementation, because the language adopted by the user terminal is java, the language adopted by the server for implementing the method of the embodiment of the invention is java, and the database must use SQL sentences. Therefore, after the control instruction in the java format is generated, the control instruction in the java format is converted into the control instruction of the SQL sentence. Therefore, the database can rapidly store the data of the attribute to be stored according to the control instruction of the SQL statement, and the storage speed is improved. In addition, the tool used to translate the control instructions may be an objectwrapinfactor (objectwrapinfactor is a factory object for generating objects) mechanism within MyBatis (MyBatis is an excellent persistence layer framework). Further, the specific implementation of this step may refer to the second embodiment. Because the control instruction is generated according to the data of the attribute to be saved and the database storage position of all the attributes and is given to the database, the step of inquiring the data of all the attributes of the commodity from the database is omitted, the step of data saving is further simplified, the resource occupation is further reduced, and the user experience is further improved
It should be noted that the goods are of many attributes, such as whether or not they are batch managed, whether or not they are luxury, whether or not they are fragile and weight, whether or not the attributes such as whether or not they are batch managed, whether or not they are luxury, and whether or not they are fragile are tagged attributes, and whether or not the attributes such as weight are untagged attributes, all embodiments of the invention address the problem of data preservation of tagged attributes of goods.
In order to solve the problems in the prior art, a second embodiment of the present invention provides a method for storing data, which is applied to a server and includes:
first, a mapping relation between temporary storage positions and database storage positions of all attributes is established in advance, wherein all the attributes comprise attributes to be saved and saved attributes.
In this step, the implementation may be: creating a storage device, defining and marking out the attribute stored by each storage unit in the storage device, and taking the position relation of each storage unit relative to the storage device as a temporary storage position of the attribute; acquiring a database storage position of each attribute, and establishing a mapping relation between the temporary storage positions of all the attributes and the database storage position according to the corresponding relation between the temporary storage position of each attribute and the database storage position; and transmitting the defined and marked storage device to the user terminal. It should be understood that the attribute to be saved is a user-modified attribute and the saved attribute is a user-unmodified attribute. In addition, the attribute and the temporary storage position are displayed for the user, so that the user can directly set the data of the attribute and the temporary storage position thereof according to the mode, the database storage position of each attribute is not required to be manually memorized, the problem that the data storage is easy to be wrong caused by setting and storing the data according to the database storage position mode of the manual memory attribute is avoided, the occurrence of errors is further reduced, and the accuracy of the data storage is further improved. In addition, the attribute storage mode of the database is not externally embodied, and the external embodied is only temporarily stored, so that the safety of the data is improved. And secondly, because the corresponding relation between the temporary storage position and the database storage position is established, the data of the modified attribute and the database storage position are directly determined according to the modification of the user, an instruction is generated according to the data, the database is controlled to be automatically stored in an instruction mode, the step of inquiring the data of all the attributes of the commodity from the database can be omitted, the user can directly set the data of the attribute without considering the original storage data, the step of data storage is further simplified, the resource occupation is further reduced, and the user experience is further improved.
The following describes a specific example of the implementation of this step with reference to fig. 2:
a string (string is the data type of the saved character string in the java language) field is created in the server, and 500 characters are in the string field. In addition, any character of the string field may be used to store attributes, so long as the same character does not store both attributes. Defining and marking that the first character in the string field stores an attribute II, the second character in the string field stores an attribute I, and the third character in the string field stores an attribute III according to the characteristics of the commodity, so that the temporary storage position of the attribute I is the second character of the string field, the temporary storage position of the attribute II is the first character of the string field, and the temporary storage position of the attribute III is the third character of the string field.
Acquiring a storage position of a database of the attribute I, and particularly acquiring a third character of a varchar (the varchar is a character string data type used for storing variable length in the database) field in the database; acquiring a database storage position of the attribute II, specifically a second character of a varchar field in the database; and acquiring a database storage position of the attribute III, specifically a first character of a varchar field in the database. Thus, the storage location of attribute one: the second character of the string field has a mapping relation with the third character of the varchar field in the database, and the storage position of the attribute II is: the first character of the string field has a mapping relation with the second character of the varchar field in the database, and the storage position of the attribute three is: the third character of the string field has a mapping relationship with the first character of the varchar field in the database.
And transmitting the defined and marked string field to the user terminal.
The storage device can be flexibly created by a person skilled in the art without affecting the embodiment of the invention, and the storage device is not limited to the string field creation provided by the embodiment of the invention. For example, creating a data table, etc.
It should be noted that the java language is a language generally used by the user terminal, the preferred server also adopts the java language, the data type of the character string stored in the java language is string, a string field is created in the server, and the string field after definition and marking is sent to the user terminal, so that the user terminal can conveniently input the data of the attribute to be stored, and the server can also quickly acquire the operation result of the user terminal, such as the data of the attribute to be stored, thereby improving the speed of data storage.
And secondly, acquiring data of the attribute to be saved and a temporary storage position of the attribute to be saved.
In this step, the implementation may be: and receiving a storage device returned by the user terminal, wherein the returned storage device comprises data of the attribute to be saved and a temporary storage position of the attribute to be saved. The method includes the steps that data are obtained from characters of string fields returned by a user terminal by using a java language reflection mechanism; when data is acquired from the character, the acquired data is used as data of the attribute to be saved, and the position relation of the character relative to the string field is used as a temporary storage position of the attribute to be saved. Of course, there may be a plurality of attributes to be saved, and temporary storage locations and data of all the attributes to be saved may be obtained in the above manner.
Thirdly, inquiring the database storage position of the attribute to be saved according to the temporary storage position of the attribute to be saved and the mapping relation between the temporary storage position of the attribute to be saved and the database storage position.
It should be noted that, in the first step, the mapping relationship between the temporary storage locations of all the attributes and the database storage locations is established, and thus, in this step, the database storage locations of the attributes to be saved can be queried by using the temporary storage locations of the attributes to be saved.
Fourth, according to the database storage position of the attribute to be stored and the database storage positions of all the attributes, the database storage positions of the stored attributes are inquired.
In this step, the implementation may be: and eliminating the database storage positions of the attributes to be saved in the database storage positions of all the attributes, and taking the rest database storage positions as the queried database storage positions of the saved attributes. Because all the attributes only comprise the attributes to be saved and the saved attributes, the database storage positions of the attributes to be saved are eliminated, and the rest database storage positions are the database storage positions of the saved attributes.
It should be appreciated that one skilled in the art may flexibly obtain database storage locations for saved attributes without affecting embodiments of the present invention. The temporary storage position of the saved attribute is also obtained while the data of the attribute to be saved is obtained, and the database storage position of the saved attribute is queried according to the temporary storage position of the saved attribute and the mapping relation between the temporary storage position of the saved attribute and the database storage position, so that the database storage position of the saved attribute is obtained. In particular implementations, the process of obtaining the temporary storage location of the saved attribute may be: acquiring data from characters of string fields returned by the user terminal by using a java language reflection mechanism; when the data cannot be acquired, the position relation of the character relative to the string field is used as a temporary storage position of the saved attribute. Of course, there may be multiple saved attributes, and temporary storage locations for all saved attributes may be obtained in the manner described above.
And fifthly, generating a control instruction according to the data of the attribute to be saved, the database storage position of the attribute to be saved and the database storage position of the saved attribute.
It will be appreciated that the second embodiment is described taking as an example the preservation of data of properties of a commodity to be modified, and that for the first time the data of properties of a commodity is stored in the database, the process is similar to that of the second embodiment, except that the steps associated with the stored properties are not involved.
In order to solve the problems existing in the prior art, a third embodiment of the present invention provides a method for storing data, as shown in fig. 3, the method is applied to a database, and includes:
step S301, receiving a control instruction, wherein the control instruction comprises data of attributes to be saved and a database storage position of all the attributes;
in specific implementation, the implementation of this step may refer to the manner of the fourth example.
Step S302, the data of the attribute to be saved are saved according to the database storage positions of all the attributes.
It should be noted that, since the characters of the attribute stored in the database are char types, the data of the attribute may be not only boolean values (i.e., yes or no), but also enumerated types (e.g., heavy, particularly heavy or light) within 255 value ranges. In all embodiments of the present invention, only the boolean value type is illustrated, and the other types are not illustrated. In addition, the specific implementation of this step may refer to the manner of the fourth example. It will be appreciated that the third embodiment may be used to store data for both the properties of the article to be modified and the first time the properties of the article are stored. Furthermore, the database stores the received data of the attributes to be stored and the database storage positions of all the attributes, so that the step of inquiring the data of all the attributes of the commodity from the database is omitted, the step of storing the data is further simplified, the occupation of resources is further reduced, and the user experience is further improved.
In order to solve the problems in the prior art, a fourth embodiment of the present invention provides a method for storing data, which is applied to a database, and includes:
first, a control instruction is received, wherein the control instruction comprises data of the attribute to be saved and database storage positions of all the attributes, and the database storage positions of all the attributes comprise the database storage positions of the attribute to be saved and the database storage positions of the saved attributes.
And a second step of acquiring the data of the saved attribute according to the database storage position of the saved attribute.
Thirdly, sorting the data of the saved attribute and the data of the attribute to be saved according to the position relation between the database storage position of the saved attribute and the database storage position of the attribute to be saved, and obtaining an array.
Fourth, the spliced array is saved.
In this step, the implementation may be: splicing the arrays into a new character string; the new character string replaces the original character string stored in the database. It should be noted that, in the embodiment of the invention, the database stores the data of the attribute to be stored to the original position of the attribute to be stored, the data of the attribute to be stored is not stored in disorder, and the accuracy of data storage is ensured.
In addition, the database acquires the data with the saved attributes by using the control instruction, sorts and splices the data with the saved attributes according to the storage mode of the database, and replaces the original character string with the new character string obtained by splicing, so that the database automatically completes the saving of the data with the saved attributes according to the control instruction, the step of inquiring the data with all the attributes of the commodity from the database is omitted, the user can directly set the data with the attributes without considering the original stored data, the step of saving the data is further simplified, the occupation of resources is further reduced, and the user experience is further improved.
The following describes a specific procedure according to an embodiment of the present invention with reference to fig. 2:
receiving data of an attribute to be saved, namely data 0 of an attribute one, wherein the storage position of the database of the attribute to be saved is the third character of the varchar field in the database, and the storage position of the database of the saved attribute is the storage position of the database of the attribute two (the second character of the varchar field in the database) and the storage position of the database of the attribute three (the first character of the varchar field in the database).
Acquiring data of a third attribute from a first character of a varchar field in a database by using a built-in function substring (i, i) of the database, wherein the data of the third attribute is 0; and acquiring data of the attribute II from a second character of the varchar field in the database by using a built-in function substring (i, i) of the database, wherein the data of the attribute II is 1.
And sorting the data of the attribute I, the data of the attribute II and the data of the attribute III according to the relation of the first character of the attribute III stored in the varchar field, the second character of the attribute II stored in the varchar field and the third character of the attribute I stored in the varchar field to obtain an array, wherein the array is the data of the attribute III, the data of the attribute II and the data of the attribute I.
And splicing the array into a new character string by a concat function of the database (the concat function is a function for splicing character strings in the database), wherein the new character string is 010, and the new character string occupies a varchar field.
Assuming that the original data of the attribute one stored in the third character of the varchar field is 1, the original character string stored in the varchar field in the database is 011, and the new character string 010 replaces the original character string stored in the varchar field in the database to be 011.
It should be noted that, at present, the built-in function substring (i, i) of the database can only acquire data from one character of the varchar field at a time, when the character does not store data, the built-in function substring (i, i) of the database cannot acquire data, and the built-in function substring (i, i) removes another character of the varchar field to acquire data until all characters of the varchar field in the database are acquired once by the built-in function substring (i, i).
It should be understood that the fourth embodiment is described taking as an example the data holding the property of the commodity to be modified, and that the procedure is similar to that of the fourth embodiment except that the relevant steps of the held property are not involved in the case where the data holding the property of the commodity is first held by the database.
In the embodiment of the invention, the data of the attribute to be saved and the temporary storage position thereof are acquired, and then the mapping relation between the temporary storage positions of all the attributes and the storage positions of the database is utilized, so that the generated control instruction controls the database to save the data of the attribute to be saved by itself in a control instruction mode, the step of inquiring the data of all the attributes of the commodity from the database is omitted, the user can directly set the data of the attribute without considering the original storage data, the data saving step is simplified, the resource occupation is reduced, and the user experience is improved. The temporary storage position prevents the attribute storage mode of the database from being externally reflected, and improves the safety of the data. By defining and marking the attributes stored by the storage unit and displaying the attributes and the temporary storage positions thereof to the user, the problem that data storage is easy to make mistakes caused by setting and storing the data according to the database storage position mode of the manual memory attributes is avoided, the occurrence of errors is reduced, and the accuracy of data storage is improved.
The first embodiment or the second embodiment above describes the specific implementation content of the server, and the third embodiment or the fourth embodiment describes the specific implementation content of the database, so that for the convenience of the reader, in the following, with reference to fig. 4, an interaction procedure between the user terminal, the server and the database is described in a specific example, which is specifically as follows: the server for executing the method for storing data provided by the embodiment of the invention sends the string field defined and marked to the user terminal. The user terminal receives the defined and marked string fields and displays the string fields to the user, the user terminal stores the data of the attribute to be stored, which is input by the user, to the corresponding position of the string fields, and returns the stored string fields to the server, and the user inputs the data of the attribute to be stored according to the presented mark and the actual requirement. Therefore, the user does not need to manually memorize which attribute is stored in which position, and the user can directly modify the attribute, so that the experience of the user is improved. The server receives the string field returned by the user terminal, generates a control instruction by using the mapping relation between the storage position of the string field and the storage position of the varchar field of the attribute, and sends the control instruction to the database, and the specific implementation process of the process can refer to the first embodiment or the second embodiment. The database stores the data of the attribute to be stored in the varchar field according to the control instruction, and the specific storing process of the database can refer to the third embodiment or the fourth embodiment.
The specific procedure of the method of storing data is described above in connection with fig. 1-4, and the apparatus for storing data is described below in connection with fig. 5-6.
In order to solve the problems of the prior art, a fifth embodiment of the present invention provides an apparatus for storing data, as shown in fig. 5, which is applied to a server and includes:
an obtaining unit 501, configured to obtain data of an attribute to be saved and a temporary storage location of the attribute to be saved.
And the query unit 502 is configured to query the database storage locations of all the attributes according to the mapping relationship between the temporary storage locations of all the attributes and the database storage locations, and the temporary storage locations of the attributes to be saved.
And the processing unit 503 is configured to generate a control instruction according to the data of the attribute to be saved and the database storage locations of all the attributes, and send the control instruction to the database.
It should be understood that the manner of implementing the fifth embodiment is the same as that of implementing the first embodiment, and will not be described here again.
In order to solve the problems of the prior art, a sixth embodiment of the present invention provides an apparatus for storing data, which is applied to a server, and includes:
The setting unit is used for pre-establishing the mapping relation between the temporary storage positions and the database storage positions of all the attributes, wherein all the attributes comprise the attributes to be saved and the saved attributes.
In this unit, the setting unit is specifically further configured to: creating a storage device, defining and marking out the attribute stored by each storage unit in the storage device, and taking the position relation of each storage unit relative to the storage device as a temporary storage position of the attribute; acquiring a database storage position of each attribute, and establishing a mapping relation between the temporary storage positions of all the attributes and the database storage position according to the corresponding relation between the temporary storage position of each attribute and the database storage position; and transmitting the defined and marked storage device to the user terminal.
And the acquisition unit is used for acquiring the data of the attribute to be saved and the temporary storage position of the attribute to be saved.
In this unit, in particular, the acquisition unit is also configured to: and receiving a storage device returned by the user terminal, wherein the returned storage device comprises data of the attribute to be saved and a temporary storage position of the attribute to be saved.
The inquiring unit is used for inquiring the database storage position of the attribute to be saved according to the temporary storage position of the attribute to be saved and the mapping relation between the temporary storage position of the attribute to be saved and the database storage position; and inquiring the storage position of the stored attribute according to the storage position of the database of the attribute to be stored and the storage position of the database of all the attributes.
And the processing unit is used for generating control instructions according to the data of the attribute to be saved, the database storage position of the attribute to be saved and the storage position of the saved attribute.
It should be understood that the manner of implementing the sixth embodiment is the same as that of implementing the second embodiment, and will not be described here again.
In order to solve the problems of the prior art, a seventh embodiment of the present invention provides an apparatus for storing data, as shown in fig. 6, which is applied to a database, and includes:
the receiving unit 601 is configured to receive a control instruction, where the control instruction includes data of an attribute to be saved and a database storage location of all attributes.
A saving unit 602, configured to save the data of the attribute to be saved according to the database storage locations of all the attributes.
It should be understood that the manner of implementing the seventh embodiment is the same as that of implementing the third embodiment, and will not be described in detail herein.
To solve the problems of the prior art, an eighth embodiment of the present invention provides an apparatus for storing data, which is applied to a database, and includes:
and the receiving unit is used for receiving a control instruction, wherein the control instruction comprises data of the attribute to be saved and database storage positions of all the attributes, and the database storage positions of all the attributes comprise the database storage positions of the attribute to be saved and the database storage positions of the saved attributes.
A saving unit, configured to obtain data of the saved attribute according to a database storage location of the saved attribute; sorting the data of the saved attribute and the data of the attribute to be saved according to the position relation between the database storage position of the saved attribute and the database storage position of the attribute to be saved to obtain an array; and saving the spliced array.
In this unit, the storage unit is specifically further configured to: splicing the arrays into a new character string; the new character string replaces the original character string stored in the database.
It should be understood that the manner of implementing the eighth embodiment is the same as that of implementing the fourth embodiment, and will not be described here again.
Fig. 7 illustrates an exemplary system architecture 700 to which the method of saving data or the apparatus of saving data of the embodiments of the present invention may be applied.
As shown in fig. 7, a system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 is the medium used to provide communication links between the terminal devices 701, 702, 703 and the server 705. The network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 705 via the network 704 using the terminal devices 701, 702, 703 to receive or send messages or the like. Various communication client applications such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only) may be installed on the terminal devices 701, 702, 703.
The terminal devices 701, 702, 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 705 may be a server providing various services, such as a background management server (by way of example only) providing support for shopping-type websites browsed by users using the terminal devices 701, 702, 703. The background management server may analyze and process the received data such as the product information query request, and feedback the processing result (e.g., the target push information, the product information—only an example) to the terminal device.
It should be noted that, the method for storing data provided in the embodiment of the present invention is generally executed by the server 705, and accordingly, the device for storing data is generally disposed in the server 705.
It should be understood that the number of terminal devices, networks and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 8, there is illustrated a schematic diagram of a computer system 800 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 8 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU) 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, mouse, etc.; an output portion 807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 808 including a hard disk or the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. The drive 810 is also connected to the I/O interface 805 as needed. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as needed so that a computer program read out therefrom is mounted into the storage section 808 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 809, and/or installed from the removable media 811. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 801.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present invention may be implemented in software or in hardware. The described units may also be provided in a processor, for example, described as: a processor includes an acquisition unit, a query unit, and a processing unit. The names of these units do not constitute a limitation on the unit itself in some cases, and for example, the acquisition unit may also be described as "a unit that acquires data of an attribute to be saved and a temporary storage location of the attribute to be saved".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include: acquiring data of an attribute to be saved and a temporary storage position of the attribute to be saved; inquiring the database storage positions of all the attributes according to the mapping relation between the temporary storage positions of all the attributes and the database storage positions and the temporary storage positions of the attributes to be stored; generating a control instruction according to the data of the attributes to be saved and the database storage positions of all the attributes, and sending the control instruction to the database.
According to the technical scheme of the embodiment of the invention, the data of the attribute to be saved and the temporary storage position thereof are obtained, and then the mapping relation between the temporary storage positions of all the attributes and the storage positions of the database is utilized, so that the generated control instruction controls the database to save the data of the attribute to be saved by itself in a control instruction mode, the step of inquiring the data of all the attributes of the commodity from the database is omitted, the user can directly set the data of the attribute without considering the original storage data, the step of saving the data is simplified, the occupation of resources is reduced, and the user experience is improved. The temporary storage position prevents the attribute storage mode of the database from being externally reflected, and improves the safety of the data. By defining and marking the attributes stored by the storage unit and displaying the attributes and the temporary storage positions thereof to the user, the problem that data storage is easy to make mistakes caused by setting and storing the data according to the database storage position mode of the manual memory attributes is avoided, the occurrence of errors is reduced, and the accuracy of data storage is improved.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (14)

1. A method for storing data, applied to a server, comprising:
pre-establishing a mapping relation between temporary storage positions and database storage positions of all attributes, wherein all the attributes comprise attributes to be stored and stored attributes; wherein the database storage location is within a database and the temporary storage location is not within the database;
acquiring data of an attribute to be saved and a temporary storage position of the attribute to be saved;
inquiring the database storage positions of all the attributes according to the mapping relation between the temporary storage positions of all the attributes and the database storage positions and the temporary storage positions of the attributes to be stored;
generating a control instruction according to the data of the attributes to be saved and the database storage positions of all the attributes, and sending the control instruction to the database;
Inquiring the database storage positions of all the attributes according to the mapping relation between the temporary storage positions of all the attributes and the database storage positions and the temporary storage positions of the attributes to be stored, wherein the method comprises the following steps:
inquiring the database storage position of the attribute to be saved according to the temporary storage position of the attribute to be saved and the mapping relation between the temporary storage position of the attribute to be saved and the database storage position;
and inquiring the storage position of the stored attribute according to the storage position of the database of the attribute to be stored and the storage position of the database of all the attributes.
2. The method of claim 1, wherein generating control instructions from the data of the attributes to be saved and the database storage locations of all attributes comprises:
and generating a control instruction according to the data of the attribute to be saved, the database storage position of the attribute to be saved and the database storage position of the saved attribute.
3. The method of claim 1, wherein pre-establishing a mapping relationship between temporary storage locations and database storage locations for all attributes comprises:
creating a storage device, defining and marking out the attribute stored by each storage unit in the storage device, and taking the position relation of each storage unit relative to the storage device as a temporary storage position of the attribute;
Acquiring a database storage position of each attribute, and establishing a mapping relation between the temporary storage positions of all the attributes and the database storage position according to the corresponding relation between the temporary storage position of each attribute and the database storage position;
and transmitting the defined and marked storage device to the user terminal.
4. A method according to claim 3, characterized in that after transmitting the defined and marked storage means to the user terminal, the method further comprises:
and receiving a storage device returned by the user terminal, wherein the returned storage device comprises data of the attribute to be saved and a temporary storage position of the attribute to be saved.
5. A method of storing data, for application to a database, comprising:
receiving a control instruction, wherein the control instruction comprises data of attributes to be saved and database storage positions of all the attributes; the database storage locations of all the attributes comprise a database storage location of the attribute to be stored and a database storage location of the stored attribute;
storing the data of the attribute to be stored according to the database storage positions of all the attributes;
storing the data of the attribute to be stored according to the database storage positions of all the attributes, including:
Acquiring data of the saved attribute according to a database storage position of the saved attribute;
sorting the data of the saved attribute and the data of the attribute to be saved according to the position relation between the database storage position of the saved attribute and the database storage position of the attribute to be saved to obtain an array;
and saving the spliced array.
6. The method of claim 5, wherein storing the concatenated array comprises:
splicing the arrays into a new character string;
the new character string replaces the original character string stored in the database.
7. An apparatus for storing data, applied to a server, comprising:
the device comprises an acquisition unit, a storage unit and a storage unit, wherein the acquisition unit is used for acquiring data of attributes to be stored and temporary storage positions of the attributes to be stored;
the inquiring unit is used for inquiring the database storage positions of all the attributes according to the mapping relation between the temporary storage positions of all the attributes and the database storage positions and the temporary storage positions of the attributes to be stored;
the processing unit is used for generating a control instruction according to the data of the attributes to be saved and the database storage positions of all the attributes and sending the control instruction to the database;
The setting unit is used for pre-establishing the mapping relation between the temporary storage positions and the database storage positions of all the attributes, wherein all the attributes comprise attributes to be saved and saved attributes; wherein the database storage location is within a database and the temporary storage location is not within the database;
the query unit is specifically configured to:
inquiring the database storage position of the attribute to be saved according to the temporary storage position of the attribute to be saved and the mapping relation between the temporary storage position of the attribute to be saved and the database storage position;
and inquiring the storage position of the stored attribute according to the storage position of the database of the attribute to be stored and the storage position of the database of all the attributes.
8. The apparatus according to claim 7, wherein the processing unit is specifically configured to:
and generating a control instruction according to the data of the attribute to be saved, the database storage position of the attribute to be saved and the database storage position of the saved attribute.
9. The apparatus according to claim 7, wherein the setting unit is specifically configured to:
creating a storage device, defining and marking out the attribute stored by each storage unit in the storage device, and taking the position relation of each storage unit relative to the storage device as a temporary storage position of the attribute;
Acquiring a database storage position of each attribute, and establishing a mapping relation between the temporary storage positions of all the attributes and the database storage position according to the corresponding relation between the temporary storage position of each attribute and the database storage position;
and transmitting the defined and marked storage device to the user terminal.
10. The apparatus according to claim 9, wherein the acquisition unit is further specifically configured to:
and receiving a storage device returned by the user terminal, wherein the returned storage device comprises data of the attribute to be saved and a temporary storage position of the attribute to be saved.
11. An apparatus for storing data, for use in a database, comprising:
the receiving unit is used for receiving a control instruction, wherein the control instruction comprises data of attributes to be saved and database storage positions of all the attributes; the database storage locations of all the attributes comprise a database storage location of the attribute to be stored and a database storage location of the stored attribute;
a storage unit, configured to store the data of the attribute to be stored according to the database storage locations of all the attributes;
the storage unit is specifically configured to:
acquiring data of the saved attribute according to a database storage position of the saved attribute;
Sorting the data of the saved attribute and the data of the attribute to be saved according to the position relation between the database storage position of the saved attribute and the database storage position of the attribute to be saved to obtain an array;
and saving the spliced array.
12. The apparatus according to claim 11, wherein the holding unit is further specifically configured to:
splicing the arrays into a new character string;
the new character string replaces the original character string stored in the database.
13. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-6.
14. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-6.
CN201811472945.8A 2018-12-04 2018-12-04 Method and device for storing data Active CN111274586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811472945.8A CN111274586B (en) 2018-12-04 2018-12-04 Method and device for storing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811472945.8A CN111274586B (en) 2018-12-04 2018-12-04 Method and device for storing data

Publications (2)

Publication Number Publication Date
CN111274586A CN111274586A (en) 2020-06-12
CN111274586B true CN111274586B (en) 2024-04-05

Family

ID=71001301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811472945.8A Active CN111274586B (en) 2018-12-04 2018-12-04 Method and device for storing data

Country Status (1)

Country Link
CN (1) CN111274586B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023978A (en) * 2012-11-20 2013-04-03 青岛海信传媒网络技术有限公司 Application property information synchronization method and system with application aggregation platform
CN105718515A (en) * 2016-01-14 2016-06-29 神策网络科技(北京)有限公司 Data storage system and method and data analysis system and method
WO2017092470A1 (en) * 2015-12-01 2017-06-08 中兴通讯股份有限公司 Data storage method and device
CN107038207A (en) * 2017-02-20 2017-08-11 阿里巴巴集团控股有限公司 A kind of data query method, data processing method and device
CN108388598A (en) * 2018-02-01 2018-08-10 平安科技(深圳)有限公司 Electronic device, date storage method and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023978A (en) * 2012-11-20 2013-04-03 青岛海信传媒网络技术有限公司 Application property information synchronization method and system with application aggregation platform
WO2017092470A1 (en) * 2015-12-01 2017-06-08 中兴通讯股份有限公司 Data storage method and device
CN105718515A (en) * 2016-01-14 2016-06-29 神策网络科技(北京)有限公司 Data storage system and method and data analysis system and method
CN107038207A (en) * 2017-02-20 2017-08-11 阿里巴巴集团控股有限公司 A kind of data query method, data processing method and device
CN108388598A (en) * 2018-02-01 2018-08-10 平安科技(深圳)有限公司 Electronic device, date storage method and storage medium

Also Published As

Publication number Publication date
CN111274586A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
CN110019080B (en) Data access method and device
CN107302597B (en) Message file pushing method and device
CN109388626B (en) Method and apparatus for assigning numbers to services
CN111038906B (en) Order sorting method and device
CN110471848B (en) Method and device for dynamically returning message
CN110019263B (en) Information storage method and device
CN110851468A (en) Method and device for making simulation response to test request of client
CN110830374A (en) Method and device for gray level release based on SDK
CN115757400B (en) Data table processing method, device, electronic equipment and computer readable medium
CN110648089A (en) Method and device for determining delivery timeliness of articles
CN113190517B (en) Data integration method and device, electronic equipment and computer readable medium
CN114297278A (en) Method, system and device for quickly writing batch data
CN107330087B (en) Page file generation method and device
CN107918617B (en) Data query method and device
CN110795135A (en) Method and device for realizing injection-resolution configuration
CN111274586B (en) Method and device for storing data
CN111258988A (en) Asset management method, device, electronic device, and medium
CN116594709A (en) Method, apparatus and computer program product for acquiring data
CN113468529B (en) Data searching method and device
CN112783914B (en) Method and device for optimizing sentences
CN113626113B (en) Page rendering method and device
CN114896244A (en) Method, device and equipment for configuring database table and computer readable medium
CN109299223B (en) Method and device for inquiring instruction
CN113704242A (en) Data processing method and device
CN112860268B (en) Method and device for hot deployment of templates

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
GR01 Patent grant
GR01 Patent grant