CN107341105A - Information processing method, terminal and server - Google Patents

Information processing method, terminal and server Download PDF

Info

Publication number
CN107341105A
CN107341105A CN201710472457.6A CN201710472457A CN107341105A CN 107341105 A CN107341105 A CN 107341105A CN 201710472457 A CN201710472457 A CN 201710472457A CN 107341105 A CN107341105 A CN 107341105A
Authority
CN
China
Prior art keywords
server
operational order
user
mark
database
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
CN201710472457.6A
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201710472457.6A priority Critical patent/CN107341105A/en
Publication of CN107341105A publication Critical patent/CN107341105A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an information processing method, a terminal and a server. The method comprises the following steps: the terminal receives a first operation instruction of target information input aiming at a target area; judging whether the target information is a user identifier; if yes, executing a first operation corresponding to the first operation instruction; and if not, determining the type of the target information according to the target area, sending a first query instruction carrying the target information and the type of the target information to the first server, receiving a user identifier returned by the first server, and executing a first operation corresponding to the first operation instruction. The method is convenient and quick to operate, testers can execute related operations on the data in the first database or the second database without acquiring account passwords of the first database or the second database, and the safety of the data in the first database or the second database is guaranteed. In addition, the tester can acquire the user information without compiling database statements, and the workload of the tester is reduced.

Description

Information processing method, terminal and server
Technical field
The present invention relates to software testing technology field, more particularly to a kind of information processing method, terminal and server.
Background technology
At present, widely used type of database includes relevant database and key assignments (key-value) database.Generally One relevant database can correspond to a key value database, and substantial amounts of data can be stored in relevant database, ensure number According to integrality, tester can change the data in relevant database when necessary.Corresponding to the relevant database Key value database can periodically capture a part of data from relevant database and be stored.The access speed of key value database is excellent In relevant database.It when needing to obtain data, can preferentially be searched in key value database, improve acquisition data speed.
In relevant database, (User Identification, UID) association is identified by the user generated at random Store user data.For example, user's first, on some software after registered members, database can distribute one automatically corresponding to the software Individual UID1 gives user's first, and the user profile such as the account of user's first, mailbox, telephone number all identifies UID1 with the user of user's first and closed Connection storage.
In the prior art, in the user profile in inquiring about relevant database, tester first has to obtain relationship type The account executive and password of database, relevant database is entered by account executive and password.Into relevant database Afterwards, tester needs to write query sentence of database (such as SQL query statement), passes through a certain item (example in user profile Such as mailbox or telephone number) data storage of a certain item in the corresponding storage user profile in relevant database (such as mailbox data form, telephone number data form etc.) inquires user's mark in form.After inquiring user's mark, survey Examination personnel write corresponding data base manipulation statement, and the user is directed in relevant database by the user's mark inquired Identify the user profile corresponding to inquiry in different data forms respectively.
The method operated in relevant database or key value database to relevant information, operation is complicated, and surveys Examination personnel obtain the account executive and password of database, the whole authorities related equivalent to database is obtained, in database Data safety cannot ensure.When the data in relevant database operate, it is necessary into different tables of data Lattice operate to different user profile respectively, and process is cumbersome.In addition, tester need to understand database manipulation language, Energy compilation operation sentence carries out associative operation to relational database or key value database, and the requirement to tester is higher.
The content of the invention
The embodiment of the present invention provides a kind of information processing method, terminal and server, can simplify tester to data The operating procedure of data in storehouse, and ensure the data safety in database.
In a first aspect, the embodiments of the invention provide a kind of information processing method, applied to end side, including:
Terminal receives the first operational order of the target information for target area input;
Judge whether the target information is user's mark;
It is then to perform the first operation corresponding to the first operational order;
It is no, the type of the target information is determined according to the target area, is sent to the first server and carries institute The first query statement of the type of target information and the target information is stated, first query statement is used to indicate described first Server is searched in first database and in data form corresponding to the type of the target information and target letter User corresponding to breath identifies, and receives the user mark that the first server returns, performs corresponding to the first operational order First operation.
With reference in a first aspect, in the first embodiment of first aspect, obtained and the target information pair described After the user's mark answered, in addition to:Export user's mark.
With reference in a first aspect, corresponding to performing the first operational order described in second of embodiment of first aspect Also include before one operation:
It is first server or second server to analyze the target that first operational order is directed to;
When the target that first operational order is directed to is first server, corresponding to the first operational order of the execution First operation includes:The second operational order for carrying user's mark is sent to first server;
When the target that first operational order is directed to is second server, corresponding to the first operational order of the execution First operation includes:The 3rd operational order for carrying user's mark is sent to second server.
With reference to second of embodiment of first aspect, in the third embodiment of first aspect, second behaviour Make instruction to be used to indicate that the first server believes at least one user corresponding to user mark in the first database Breath performs the first operation corresponding to first operational order;
Wherein, first operational order includes query statement, modification instruction, deleted in instruction, unbinding instruction Any one.
With reference to second of embodiment of first aspect, in the 4th kind of embodiment of first aspect, the 3rd behaviour Make instruction to be used to indicate that the second server believes at least one user corresponding to user mark in the second database Breath performs the first operation corresponding to first operational order;
Wherein, first operational order includes any one in query statement, deletion instruction.
Second aspect, the embodiments of the invention provide a kind of information processing method, applied to server side, including:First The second operational order for carrying user's mark that server receiving terminal is sent;
At least one user corresponding to user mark is believed in the first database according to second operational order Breath performs the first operation corresponding to the first operational order;
Wherein, first operational order includes query statement, modification instruction, deleted in instruction, unbinding instruction Any one.
With reference to second aspect, in the first embodiment of second aspect, the first server receiving terminal is sent Carry user mark the second operational order before, in addition to:
The first query statement that the terminal is sent is received, first query statement carries target information and the target The type of information;
The data in first database and corresponding to the type of the target information according to first query statement Lookup and user's mark corresponding to the target information in form;
User's mark is sent to the terminal.
The third aspect, the embodiments of the invention provide a kind of terminal, including:
First receiving unit, for receiving the first operational order of the target information for target area input;
Judging unit, for judging whether the target information is user's mark;
Determining unit, for determining the type of the target information according to the target area;
First transmitting element, the target information and the target information are carried for being sent to the first server First query statement of type, first query statement be used for indicate the first server in first database and Lookup and user's mark corresponding to the target information in data form corresponding to the type of the target information;
Second receiving unit, the user mark returned for receiving the first server;
Execution unit, for performing the first operation corresponding to the first operational order.
With reference to the third aspect, in the first embodiment of the third aspect, the terminal also includes output unit, is used for Export user's mark.
With reference to the third aspect, in second of embodiment of the third aspect, the terminal also includes:
Analytic unit, it is first server or second service for analyzing the target that first operational order is directed to Device;
When it is first server that the analysis result of the analytic unit, which is the target that first operational order is directed to, institute Stating execution unit includes:Second transmitting element, for the second operational order for carrying user's mark to be sent into the first clothes Business device;
When it is second server that the analysis result of the analytic unit, which is the target that first operational order is directed to, institute Stating execution unit includes:3rd transmitting element, for the 3rd operational order for carrying user's mark to be sent into the second clothes Business device.
With reference to second of embodiment of the third aspect, in the third embodiment of the third aspect, second behaviour Make instruction to be used to indicate that the first server believes at least one user corresponding to user mark in the first database Breath performs the first operation corresponding to first operational order;Wherein, first operational order includes query statement, modification refers to Make, delete any one in instruction, unbinding instruction.
With reference to second of embodiment of the third aspect, in the 4th kind of embodiment of the third aspect, the 3rd behaviour Make instruction to be used to indicate that the second server believes at least one user corresponding to user mark in the second database Breath performs the first operation corresponding to first operational order;Wherein, first operational order includes query statement, deletion refers to Any one in order.
Intelligible, each functional unit of the terminal can be used for the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of server, including:
First receiving unit, the second operational order for carrying user's mark sent for receiving terminal;
Execution unit, for according to second operational order in the first database to the user mark corresponding to extremely Few user profile performs the first operation corresponding to the first operational order;
Wherein, first operational order includes query statement, modification instruction, deleted in instruction, unbinding instruction Any one.
With reference to fourth aspect, in the first embodiment of fourth aspect, the server also includes:
Second receiving unit, first query statement sent for receiving the terminal, first query statement Carry the type of target information and the target information;
Query unit, for the class according to first query statement in first database with the target information Lookup and user's mark corresponding to the target information in data form corresponding to type;
Second transmitting element, identified for sending the user to the terminal.
Intelligible, each functional unit of the server can be used for the method for performing above-mentioned second aspect.
5th aspect, the embodiments of the invention provide a kind of terminal, the terminal connects including processor, memory, communication Mouth and bus;The processor, the memory are connected by the bus with the communication interface and completed mutual lead to Letter;The memory storage executable program code;The processor is by reading the executable journey stored in the memory Sequence code runs program corresponding with the executable program code, for performing a kind of information processing method;Wherein, institute Method is stated as the method described in first aspect.
6th aspect, the embodiments of the invention provide a kind of server, the server includes:Processor, memory, lead to Believe interface and bus;The processor, the memory are connected by the bus with the communication interface and completed each other Communication;The memory storage executable program code;What the processor was stored by reading in the memory holds Line program code runs program corresponding with the executable program code, for performing a kind of information processing method;Its In, methods described is the method described in second aspect.
By implementing the embodiment of the present invention, tester can be identified by inputting user or the target of any one type Information, and the user is identified input pin or the first operational order of the target information of any one type, can be direct User profile corresponding to the target information is inquired about in the first database in first server, deleted, releases and ties up Fixed, modification etc. operates, to user profile corresponding to the target information in the second database that can be directly in second server The operation such as inquired about, deleted.In the process, tester need not obtain the first database or the account of the second database is close Yard, the data safety in the first database or the second database is protected.In addition, tester need not write database statement Just user profile can be obtained, reduces the workload of tester.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of communication system provided in an embodiment of the present invention.
Fig. 2 be the present embodiments relate to a kind of key value database in data storage schematic diagram.
Fig. 3 is a kind of schematic flow sheet of information processing method provided in an embodiment of the present invention.
Fig. 4 is a kind of display interface schematic diagram provided in an embodiment of the present invention.
Fig. 5 is another display interface schematic diagram provided in an embodiment of the present invention.
Fig. 6 is another display interface schematic diagram provided in an embodiment of the present invention.
Fig. 7 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Fig. 8 is the structural representation of another terminal provided in an embodiment of the present invention.
Fig. 9 is a kind of structural representation of server provided in an embodiment of the present invention.
Figure 10 is the structural representation of another server provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh of description specific embodiment , and it is not intended to be limiting the present invention." one of singulative used in the embodiment of the present invention and appended claims Kind ", " described " and "the" are also intended to including most forms, unless context clearly shows that other implications.It is also understood that this Term "and/or" used herein refers to and comprising any or all possible group associated of list items purpose of one or more Close.
Referring to Fig. 1, Fig. 1 be the present embodiments relate to communication system architecture figure.As shown in figure 1, the communication system System may include:Terminal 110, relationship server 120, key assignments server 130.The terminal, relationship server, key assignments server it Between can be in communication with each other by network.
Wherein, terminal 110 can be the intelligent terminals such as tablet personal computer, notebook computer, palm PC, mobile phone.Eventually End equipment 110 can pass through network access relationship server 120 or key assignments server 130.
Relational database, the complete user data of relation data library storage are stored in relationship server 120.Terminal 110 can be inquired about the user data in relational database by relationship server 120, add, delete, releasing when necessary The operations such as binding, modification.
In the embodiment of the present invention, the relational database can be IBM DB2, Oracle, SQL Server, SyBase, Any one in Informix, access, foxpro.
In the embodiment of the present invention, one or more tables are stored in the relational database, a table means that a relation, In relational database associated storage user data is identified using the user automatically generated.For concrete example, as shown in table 1, Relational database may include name data form, it can be seen that multiple different user's marks are closed respectively in name data form Connection stores different names.As shown in table 2, the relational database may also include age data form, it can be seen that in year Multiple different user's marks, which are respectively associated, in age data form stores the different ages.Wherein, the name data form It has been bundled in together by same user mark with the data in the age data form, for example, in name data form Middle UID1 corresponds to Lao Zhang, UID2 corresponding 45 in age data form, then the corresponding age that the user that name is Lao Zhang binds It is just 45.
User identifies Name
UID1 Lao Zhang
UID2 Lao Wang
UID3 Lao Li
UID4 Lao Wu
Table 1
User identifies Age
UID1 45
UID2 37
UID3 52
UID4 41
Table 2
Key value database is stored in key assignments server 130, the key value database periodically captures from relational database 120 Portion of user data is stored, and the storage characteristics of key value database determines the access speed of key value database due to relation number According to storehouse.User can search whether from the key value database first when logging in application software and needing to call user data Related data, improve the speed of data call.In embodiments of the present invention, complete customer relationship is stored in relational database, Key value database is only that the portion of user data in relationship server is stored again.In order to ensure the one of user data Cause property, the user data in the key value database can not be changed, therefore terminal 110 only can be right by key assignments server 130 User data in key value database such as is inquired about, deleted at the operation, and the user data in key value database can not be carried out The operation such as modification, unbinding.
In the embodiment of the present invention, the key value database is by the value associated storage user data of key (key), in the present invention In embodiment, UID is identified using user and includes the users such as name, age, birthday letter as the key searched, the value (value) of storage Breath.
In the embodiment of the present invention, the key value database can be Redis, MongoDB, memcached, Any one in BerkeleyDB, Kyoto Cabinet, LevelDB.
For concrete example, reference can be made to Fig. 2, Fig. 2 are to store Hash when the key value database is Redis databases (hash) a kind of possible key assignments storage mode schematic diagram during data type.Fig. 2 is visible, in embodiments of the present invention, passes through Key values (user identifies UID) in key value database, corresponding user can be found further combined with attribute tags (field) Data.
In the prior art, tester, can be in relational database or key value database when carrying out test job Data handled.Tester will obtain the account executive of database first and password enters database, then write number The data in database could be operated accordingly according to storehouse sentence.Above method operating procedure is complicated, will to tester Ask higher, and tester generally have it is multiple, when multiple testers obtain the account password of database, equivalent to Multiple testers obtain whole authorities of database, and can the data of data only be carried out with any operation, in database Data safety cannot ensure.
In embodiments of the present invention, the relationship server 120 can be referred to as first server, the relational database can Referred to as the first database, the key assignments server can be described as second server, and the key value database can be described as the second database.
Based on the communication system shown in earlier figures 1, in test process, in order to improve the security of data in database, Simplify operating procedure of the tester in test process, the embodiments of the invention provide a kind of information processing method, terminal and Server.
As shown in figure 3, Fig. 3 is a kind of schematic flow sheet of information processing method provided in an embodiment of the present invention.Described one Kind information processing method can be applied to intelligent terminal, and the intelligent terminal can be the terminal in communication system shown in above-mentioned Fig. 1 110.Methods described may include following steps:
S301, terminal receive the first operational order being directed in the target information of target area input.
It may include multiple input areas in the present embodiment, on terminal display, each input area corresponds to not respectively The user profile of same type, user can input different target informations in different input areas respectively.For example, input area 1 Corresponding address name, user can input address name in input area 1;2 corresponding age of user of input area, user can input Region 2 inputs age of user.
In embodiments of the present invention, the target information has following two:
The first, the target information can be any one in multiple user profile, such as address name, year The information such as age, phone, mailbox,
Second, the target information can also be user's mark.
In step S301, including two input operations, first, user is in target area targeting.Here use Family can input the target information by any one following mode:Phonetic entry, touch-screen input, key-press input etc..Secondly, User inputs the first operational order for the target information.Here user can input described by any one following mode One operational order:Phonetic entry, touch-screen input, key-press input, gesture input, blink input etc., or even can also be and rock Head input etc., the input mode of first operational order can be pre-set, and such terminal can accurately identify first behaviour Instruct and carry out subsequent operation.
S302, judge whether the target information is user's mark.
In the embodiment of the present invention, user can input different types of target information in different input areas, each Input area all corresponds to a type of user information, terminal can be inputted according to user the target area of the target information come Determine the type of the target information.For concrete example, user have input " UID 1 ", terminal detection in user's identified areas There is input information in user's identified areas, it may be determined that " UID 1 " type is user's mark to the information of input;User is in name Region have input name " Lao Zhang ", and terminal detects has input information in name region, it may be determined that the information " Lao Zhang " of input Type is name.
If the target information is not user's mark, step S303-S305 is first carried out, then performs step S306, if institute State target information to identify for user, then directly perform step S306.
S303, the type for determining according to the target area target information, send to the first server and carry First query statement of the type of the target information and the target information.First query statement is used to indicate described the One server is searched in first database and in data form corresponding to the type of the target information and the target User corresponding to information identifies.
In the embodiment of the present invention, the first server is relationship type server, in the first server described in storage First database, first database include multiple different types of table data stores.The first server can be Relationship server 120 in communication system shown in Fig. 1, first database can be that the relationship server 120 stores Relational database.The storage form of data and content can refer to the correlation of relational database in Fig. 1 and retouch in first database State, will not be described here.
S304, first server are in first database and in data form corresponding to the type of the target information User's mark corresponding to lookup and the target information.
In the embodiment of the present invention, it is stored with first database described in data form corresponding to a variety of user profile The storage form of data and content can refer to the associated description of relational database in Fig. 1 in one database, will not be described here.
The first server is after first query statement is received, corresponding to the type with the target information Lookup and user's mark corresponding to the target information in data form.It is for example, foregoing to be stored with first database Exemplified by table 1, table 2, if the target information is " Lao Zhang ", then the type of the target information is name, corresponding tables of data Lattice are name data form, and the first server is found and the target information in the name data form shown in table 1 User corresponding to " Lao Zhang " is identified as " UID1 ".If the target information is " 45 ", then the type of the target information is year Age, corresponding data form are age data form, and the first server is found in the age data form shown in table 2 With the target information " 45 " corresponding to user be identified as " UID 1 ".
It is to be understood that when finding the target information and being corresponding with multiple users mark, possibly can not determine described more Which is tester's needs in individual user's mark, at this moment, the multiple use can be determined by other target information Which is tester's needs in the mark of family.If for example, the target information is " 45 ", then the class of the target information Type is the age, and corresponding data form is age data form.If the first server is found in age data form With the target information " 45 " corresponding to user be identified with two, be respectively " UID 1 ", " UID 2 ", such case explanation have two The age of individual user is all 45, can not determine which user's mark is that tester needs.Now, another can be passed through Target information, for example, sex " man ", it is right with another described target information sex " man " to be found in gender data form Answer user mark may also have it is multiple, for example, another the corresponding mark of target information sex " man " inquired can " UID 1 ", " UID 3 ", " UID 4 " can be included.The result that the combining target information age " 45 " inquires, it may be determined that tester The user needed is identified as " UID 1 ".
S305, first server return to the user to terminal and identified.
The target that S306, the first operational order of analysis are directed to is first server or second server.
In embodiments of the present invention, concrete operations during the first operational order that can be inputted according to user judge described first The target that operational order is directed to is first server or second server.
For example, when user inputs first operational order by touch-screen, first behaviour can be inputted according to user Make the region that instructs to judge target that first operational order is directed to.For example, reference can be made to Fig. 4, Fig. 4 show that the present invention is real A kind of schematic diagram of possible user interface of example offer is provided.As shown in figure 4, target area includes user's identified areas, name Region, mailbox region, telephone number region.First operational order can be inputted by clicking on the region in user interface, can Regulation, when clicking on the first area in user interface, for first server during first operational order, when clicking on user During second area on interface, first operational order is for second server.
It should be noted that the user interface shown in Fig. 4 is only a kind of schematic example, in the specific implementation, the mesh Mark region may include greater number and species, and first operational order can also input by other means, for different Input mode can determine that first operational order is for first server or for the second clothes with different modes Business device, the embodiment of the present invention does not do any restrictions.
In embodiments of the present invention, when the target that first operational order is directed to is first server, step is performed S307-S308.When the target that first operational order is directed to is second server, step S309-S310 is performed.
S307, when the target that first operational order is directed to is first server, user mark will be carried Second operational order is sent to first server.
S308, first server identify corresponding according to second operational order in the first database to the user At least one user profile perform the first operation corresponding to first operational order;Wherein, the first operational order bag Include any one in query statement, modification instruction, deletion instruction, unbinding instruction.
Here, when first operational order is to be directed to first server, first operational order may include to change Instruction, delete instruction, unbinding instruction, any one in query statement.First behaviour corresponding to first operational order Make to may include to change, delete, be unbinding, any one in inquiry.It should be noted that in the specific implementation, described first Operational order can also realize more functions, such as be used available for being added in the first database corresponding to user's mark Family information etc., the embodiment of the present invention does not do any restrictions.
The following detailed description of various situations.
When first operational order is query statement, in the embodiment of the present invention, sent in response to terminal described the Two operational orders, in multiple data forms that the first server stores in the first database, search and user mark At least one user profile corresponding to knowledge.Exemplified by foregoing table 1, table 2 are stored with the first server, if the user marks Know for " UID 1 ", the first server is found in the name data form shown in table 1 and " name corresponding to UID 1 " For " Lao Zhang ", found in the age data form shown in table 2 and " age corresponding to UID 1 " is " 45 ".Need what is illustrated Be, the first server can also be searched in other data forms of first database purchase corresponding to user profile, Such as searched in mailbox data form and " mailbox corresponding to UID 1 ", it is corresponding that " UID1 " is searched in telephone number data form Telephone number etc..Implement above-mentioned steps, when tester inquires about the user profile in the first database, without writing number respectively According to storehouse sentence in multiple forms respectively search corresponding to user profile, once can all obtain, it is easy to operate.
In embodiments of the present invention, the first server is after at least one user profile is found, can also be to The terminal sends at least one user profile, so that the terminal exports at least one user profile.
Fig. 5 is referred to, Fig. 5 shows a kind of display interface figure provided in an embodiment of the present invention.As shown in figure 5, the end End can come out all presentation of information got, so that tester checks.It should be noted that portion is illustrate only in Fig. 5 Divide user profile, in the specific implementation, the display interface of the terminal can show more user profile, can also be with richer Rich form shows the user profile, and the embodiment of the present invention does not do any restrictions.
When first operational order that terminal receives instructs for modification, the first server is sent according to terminal Second operational order to user described in the first database identify corresponding at least one of user profile modify.
When first operational order that terminal receives is deletes instruction, the first server is sent according to terminal Second operational order delete the first database described in user mark corresponding at least one of user profile.
When the first operational order that terminal receives is unbinding instruction, the first server is sent according to terminal Second operational order release binding relationship between multiple user profile corresponding to user mark.Here to releasing Detailed explanation is done in binding, in the first database, binding be present between multiple user profile corresponding to same user's mark Relation.For example, " user profile includes corresponding to UID 1 ":Name " Lao Zhang ", mailbox " 139****** qq.com ", then surname " binding relationship be present between 139****** qq.com " in name " Lao Zhang " and mailbox.In concrete application, if first database It is database corresponding to certain software, " user corresponding to UID 1 " name " Lao Zhang " can be used to step on when logging in the application software Record, it is possible to use " 139******@qq.com " are logged in mailbox.
Intelligible, after above-mentioned steps are performed, i.e., described first server is marked in the first database to the user After at least one user profile corresponding to knowledge performs the first operation corresponding to first operational order, the first server can The feedback information of the first operation successful execution is sent to terminal, the terminal, can be to test after the feedback information is received Personnel export prompt message to prompt tester's successful execution above-mentioned first operation.Wherein, the terminal is defeated to tester Go out prompt message mode include but is not limited to it is following several:The terminal is exported in current interface in a manner of word, image The prompt message, the terminal export the prompt message by way of voice.
When the target that S309, first operational order are directed to is second server, the of user mark will be carried Three operational orders are sent to second server.
In the embodiment of the present invention, for second database purchase in second server, the second server is key assignments Database, the data stored in second database periodically capture from first database.Described second Server can be the key assignments server 130 in communication system shown in Fig. 1, and second database can be the key assignments data The key value database of library storage.The storage form of data and content can refer to key value database in Fig. 1 in second database Associated description, will not be described here.
S310, second server identify corresponding according to the 3rd operational order in the second database to the user At least one user profile perform the first operation corresponding to first operational order;Wherein, the first operational order bag Include any one in query statement, deletion instruction.
The second server is marked after the 3rd operational order is received in the second database to the user At least one user profile corresponding to knowledge performs the first operation corresponding to first operational order.It is specific as follows:
When the 3rd operational order that terminal receives is query statement, the second server is sent according to terminal First operational order inquires about at least one user profile corresponding to user's mark in the second database.
When the 3rd operational order that terminal receives is deletes instruction, the second server is sent according to terminal First operational order deletes at least one user profile corresponding to user's mark in the second database.
Intelligible, after above-mentioned steps are performed, i.e., described second server is marked in the second database to the user After at least one user profile corresponding to knowledge performs the first operation corresponding to first operational order, the second server can The feedback information of the first operation successful execution is sent to terminal, the terminal, can be to test after the feedback information is received Personnel export prompt message to prompt tester's successful execution above-mentioned first operation.Wherein, the terminal is defeated to tester Go out prompt message mode include but is not limited to it is following several:The terminal is exported in current interface in a manner of word, image The prompt message, the terminal export the prompt message by way of voice.
Fig. 6 is referred to, Fig. 6 shows a kind of schematic diagram of possible user interface.As shown in Fig. 6 top half, mesh Mark region includes user's identified areas, name region, mailbox region, telephone number region.First operational order includes two Part, a part are to be directed to first server, and a part is to be directed to second server.Can be by point touching screen " searching user's information in the first database ", " deleting user profile in the first database ", " released in the first database First operation of any one input pin to first server in binding ", " changing user profile in the first database " refers to Order.Can by " searching user's information in the second database " on point touching screen, " in the second database delete user The first operational order of any one input pin in information " to second server.It should be noted that the user shown in Fig. 6 Interface is only a kind of schematic example, in the specific implementation, the user interface can have more ways of realization, the present invention is in fact Apply example and do not do any restrictions.
Embodiment of the method shown in above-mentioned Fig. 3, tester can be identified by inputting user or the mesh of any one type Information is marked, and the user is identified input pin or the first operational order of the target information of any one type, Bian Kezhi User profile corresponding to the target information is inquired about in the first database being connected in first server, deletes, release Binding, modification etc. are operated, and user corresponding to the target information is believed in the second database that can be directly in second server Breath such as is inquired about, deleted at the operation.In the process, tester need not obtain the account of the first database or the second database Data safety in password, the first database or the second database is protected.In addition, tester need not write database language Sentence just can obtain user profile, reduce the workload of tester.
The above-mentioned method for illustrating the embodiment of the present invention, the relevant apparatus for implementing the embodiment of the present invention is described below.
Fig. 7 is referred to, Fig. 7 is a kind of structural representation of terminal 700 provided in an embodiment of the present invention.In the specific implementation, The terminal 700 can be the terminal described in terminal 110 or Fig. 3 embodiments in communication system shown in Fig. 1.Such as Shown in Fig. 7, terminal 700 may include following functions module:
First receiving unit 710, for receiving the first operational order of the target information for target area input;
Judging unit 720, for judging whether the target information is user's mark;
Determining unit 730, for determining the type of the target information according to the target area;
First transmitting element 740, the target information and target letter are carried for being sent to the first server First query statement of the type of breath, first query statement are used to indicate the first server in first database Neutralize lookup and user's mark corresponding to the target information in data form corresponding to the type of the target information;
Second receiving unit 750, the user mark returned for receiving the first server;
Execution unit 760, for performing the first operation corresponding to the first operational order.
In an alternative embodiment, in addition to:Output unit 770, for exporting user's mark.
In an alternative embodiment, in addition to:Analytic unit 780, the target being directed to for analyzing first operational order It is first server or second server;
When it is first server that the analysis result of the analytic unit, which is the target that first operational order is directed to, institute Stating execution unit 760 includes:Second transmitting element 761, for the second operational order for carrying user's mark to be sent to First server;
When it is second server that the analysis result of the analytic unit, which is the target that first operational order is directed to, institute Stating execution unit 760 includes:3rd transmitting element 762, for the 3rd operational order for carrying user's mark to be sent to Second server.
In an alternative embodiment, second operational order is used to indicate that the first server is right in the first database At least one user profile corresponding to user's mark performs the first operation corresponding to first operational order;Wherein, institute Stating the first operational order includes any one in query statement, modification instruction, deletion instruction, unbinding instruction.
In an alternative embodiment, the 3rd operational order is used to indicate that the second server is right in the second database At least one user profile corresponding to user's mark performs the first operation corresponding to first operational order;Wherein, institute Stating the first operational order includes any one in query statement, deletion instruction.
Intelligible, the related realization of 700 each functional module of terminal can refer to the correlation of Fig. 3 or Fig. 6 embodiments Description, will not be described here.
Fig. 8 is referred to, Fig. 8 is the structural representation of another terminal 800 provided in an embodiment of the present invention.Specific implementation In, the terminal 800 can be the terminal described in terminal 110 or Fig. 3 embodiments in communication system shown in Fig. 1. The terminal 800 of the present embodiment includes:At least one processor 801, communication interface 802, user interface 803 and memory 804, place Reason device 801, communication interface 802, user interface 803 can be connected with memory 804 by bus or other manner, and the present invention is real Example is applied exemplified by being connected by bus 805.Wherein,
Processor 801 can be general processor, such as central processing unit (Central Processing Unit, CPU)。
Communication interface 802 can be wireline interface (such as Ethernet interface) or wave point (such as cellular network interface Or use wireless lan interfaces), for being communicated with other-end or website.
The concretely contact panel, including touch-screen and touch screen of user interface 803, for detecting the behaviour on contact panel Instruct, user interface 803 can also be physical button or mouse.User interface 803 can also be display screen, for defeated Go out, display image or data.
Memory 804 can include volatile memory (Volatile Memory), such as random access memory (Random Access Memory, RAM);Memory can also include nonvolatile memory (Non-Volatile ), such as read-only storage (Read-Only Memory, ROM), flash memory (Flash Memory), hard disk Memory (Hard Disk Drive, HDD) or solid state hard disc (Solid-State Drive, SSD);Memory 804 can also include upper State the combination of the memory of species.Memory 804 is used to store batch processing code, and processor 801 is used to call memory 804 The program code of middle storage, perform following operation:
Receive the first operational order of the target information for target area input;
Judge whether the target information is user's mark;
It is then to perform the first operation corresponding to the first operational order;
It is no, the type of the target information is determined according to the target area, is sent to the first server and carries institute The first query statement of the type of target information and the target information is stated, first query statement is used to indicate described first Server is searched in first database and in data form corresponding to the type of the target information and target letter User corresponding to breath identifies, and receives the user mark that the first server returns, performs corresponding to the first operational order First operation.
Alternatively, after user's mark corresponding to the acquisition and the target information, in addition to:Export the user Mark.
Alternatively, also include before the first operation corresponding to the first operational order of the execution:
It is first server or second server to analyze the target that first operational order is directed to;
When the target that first operational order is directed to is first server, corresponding to the first operational order of the execution First operation includes:The second operational order for carrying user's mark is sent to first server;
When the target that first operational order is directed to is second server, corresponding to the first operational order of the execution First operation includes:The 3rd operational order for carrying user's mark is sent to second server.
Alternatively, second operational order is used to indicate the first server in the first database to the user At least one user profile corresponding to mark performs the first operation corresponding to first operational order;
Wherein, first operational order includes query statement, modification instruction, deleted in instruction, unbinding instruction Any one.
Alternatively, the 3rd operational order is used to indicate the second server in the second database to the user At least one user profile corresponding to mark performs the first operation corresponding to first operational order;
Wherein, first operational order includes any one in query statement, deletion instruction.
Fig. 9 is referred to, Fig. 9 is a kind of functional block diagram of server 900 provided in an embodiment of the present invention.Specific implementation In, the server 900 can be retouched in relationship server 120 or Fig. 3 embodiments in communication system shown in Fig. 1 The relationship server (first server) stated.As shown in figure 9, the server 900 may include following functions module:
First receiving unit 910, the second operational order for carrying user's mark sent for receiving terminal;
Execution unit 920, it is corresponding for being identified according to second operational order in the first database to the user At least one user profile perform the first operational order corresponding to first operation;
Wherein, first operational order includes query statement, modification instruction, deleted in instruction, unbinding instruction Any one.
Alternatively, in addition to:
Second receiving unit 930, first query statement sent for receiving the terminal, first inquiry refer to Order carries the type of target information and the target information;
Query unit 940, for according to first query statement in first database and the target information Type corresponding to search in data form and the target information corresponding to user's mark;
Second transmitting element 950, identified for sending the user to the terminal.
Intelligible, the specific implementation of the function of each functional module of the server 900 can refer to Fig. 3 embodiments Associated description, it will not be described here.
Figure 10 is referred to, Figure 10 is the structural representation of another server 1000 provided in an embodiment of the present invention.Specifically In realization, the server 1000 can be relationship server 120 or Fig. 3 embodiments in communication system shown in Fig. 1 Described in relationship server (first server).The terminal 1000 of the present embodiment includes:At least one processor 1001, communication Interface 1002, user interface 1003 and memory 1004, processor 1001, communication interface 1002, user interface 1003 and storage Device 1004 can be connected by bus or other manner, and the embodiment of the present invention by bus 1005 exemplified by being connected.Wherein,
Processor 1001 can be general processor, such as central processing unit (Central Processing Unit, CPU)。
Communication interface 1002 can be wireline interface (such as Ethernet interface) or wave point (such as cellular network interface Or use wireless lan interfaces), for being communicated with other-end or website.
The concretely contact panel, including touch-screen and touch screen of user interface 1003, for detecting on contact panel Operational order, user interface 1003 can also be physical button or mouse.User interface 1003 can also be display screen, be used for Output, display image or data.
Memory 1004 can include volatile memory (Volatile Memory), such as random access memory (Random Access Memory, RAM);Memory can also include nonvolatile memory (Non-Volatile ), such as read-only storage (Read-Only Memory, ROM), flash memory (Flash Memory), hard disk Memory (Hard Disk Drive, HDD) or solid state hard disc (Solid-State Drive, SSD);Memory 1004 can also include upper State the combination of the memory of species.Memory 1004 is used to store batch processing code, and processor 1001 is used to call memory The program code stored in 1004, perform following operation:
The second operational order for carrying user's mark that receiving terminal is sent;
At least one user corresponding to user mark is believed in the first database according to second operational order Breath performs the first operation corresponding to the first operational order;
Wherein, first operational order includes query statement, modification instruction, deleted in instruction, unbinding instruction Any one.
Alternatively, before the second operational order for carrying user's mark that the first server receiving terminal is sent, also Including:
The first query statement that the terminal is sent is received, first query statement carries target information and the target The type of information;
The data in first database and corresponding to the type of the target information according to first query statement Lookup and user's mark corresponding to the target information in form;
User's mark is sent to the terminal.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosed power for being only a kind of preferred embodiment of the present invention, the present invention can not being limited with this certainly Sharp scope, one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and weighed according to the present invention Profit requires made equivalent variations, still falls within and invents covered scope.

Claims (10)

  1. A kind of 1. information processing method, it is characterised in that including:
    Terminal receives the first operational order of the target information for target area input;
    Judge whether the target information is user's mark;
    It is then to perform the first operation corresponding to the first operational order;
    It is no, the type of the target information is determined according to the target area, is sent to the first server and carries the mesh The first query statement of the type of information and the target information is marked, first query statement is used to indicate the first service Device is searched in first database and in data form corresponding to the type of the target information and the target information pair The user's mark answered, the user mark that the first server returns is received, is performed first corresponding to the first operational order Operation.
  2. 2. the method as described in any one of claim 1, it is characterised in that used corresponding to the acquisition and the target information After the mark of family, in addition to:Export user's mark.
  3. 3. the method as described in claim 1, it is characterised in that before the first operation corresponding to the first operational order of the execution Also include:
    It is first server or second server to analyze the target that first operational order is directed to;
    When the target that first operational order is directed to is first server, first corresponding to the first operational order of the execution Operation includes:The second operational order for carrying user's mark is sent to first server;
    When the target that first operational order is directed to is second server, first corresponding to the first operational order of the execution Operation includes:The 3rd operational order for carrying user's mark is sent to second server.
  4. 4. method as claimed in claim 3, it is characterised in that including:
    Second operational order is used to indicate the first server in the first database to corresponding to user mark At least one user profile performs the first operation corresponding to first operational order;
    Wherein, first operational order includes any in query statement, modification instruction, deletion instruction, unbinding instruction One.
  5. 5. method as claimed in claim 3, it is characterised in that including:
    3rd operational order is used to indicate the second server in the second database to corresponding to user mark At least one user profile performs the first operation corresponding to first operational order;
    Wherein, first operational order includes any one in query statement, deletion instruction.
  6. A kind of 6. information processing method, it is characterised in that including:
    The second operational order for carrying user's mark that first server receiving terminal is sent;
    At least one user profile corresponding to user mark is held in the first database according to second operational order First operation corresponding to the operational order of row first;
    Wherein, first operational order includes any in query statement, modification instruction, deletion instruction, unbinding instruction One.
  7. 7. method as claimed in claim 6, it is characterised in that the carrying user mark that the first server receiving terminal is sent Before the second operational order known, in addition to:
    The first query statement that the terminal is sent is received, first query statement carries target information and the target information Type;
    The data form in first database and corresponding to the type of the target information according to first query statement User's mark corresponding to middle lookup and the target information;
    User's mark is sent to the terminal.
  8. A kind of 8. terminal, it is characterised in that including:
    First receiving unit, for receiving the first operational order of the target information for target area input;
    Judging unit, for judging whether the target information is user's mark;
    Determining unit, for determining the type of the target information according to the target area;
    First transmitting element, the type of the target information and the target information is carried for being sent to the first server The first query statement, first query statement is used to indicate the first server in first database and described Lookup and user's mark corresponding to the target information in data form corresponding to the type of target information;
    Second receiving unit, the user mark returned for receiving the first server;
    Execution unit, for performing the first operation corresponding to the first operational order.
  9. 9. terminal as claimed in claim 8, it is characterised in that also include:
    Output unit, for exporting user's mark.
  10. 10. terminal as claimed in claim 8, it is characterised in that also include:
    Analytic unit, it is first server or second server for analyzing the target that first operational order is directed to;
    It is described to hold when it is first server that the analysis result of the analytic unit, which is the target that first operational order is directed to, Row unit includes:Second transmitting element, for the second operational order for carrying user's mark to be sent into first server;
    It is described to hold when it is second server that the analysis result of the analytic unit, which is the target that first operational order is directed to, Row unit includes:3rd transmitting element, for the 3rd operational order for carrying user's mark to be sent into second server.
CN201710472457.6A 2017-06-20 2017-06-20 Information processing method, terminal and server Pending CN107341105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710472457.6A CN107341105A (en) 2017-06-20 2017-06-20 Information processing method, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710472457.6A CN107341105A (en) 2017-06-20 2017-06-20 Information processing method, terminal and server

Publications (1)

Publication Number Publication Date
CN107341105A true CN107341105A (en) 2017-11-10

Family

ID=60220758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710472457.6A Pending CN107341105A (en) 2017-06-20 2017-06-20 Information processing method, terminal and server

Country Status (1)

Country Link
CN (1) CN107341105A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008222A (en) * 2019-03-04 2019-07-12 广州市辉海计算机科技有限公司 A kind of method and apparatus of data interaction
CN110109959A (en) * 2019-04-30 2019-08-09 北京达佳互联信息技术有限公司 Data processing method, device, server and storage medium
CN111798956A (en) * 2020-06-28 2020-10-20 深圳市美格尔医疗技术研究院 Decision determination method, device and system for artificial intelligence anesthesia

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707597A (en) * 2009-10-30 2010-05-12 中兴通讯股份有限公司 Method, server and terminal for processing user information
CN103577441A (en) * 2012-07-30 2014-02-12 腾讯科技(深圳)有限公司 Storage method and storage device for user operation data
US20140330928A1 (en) * 2013-05-02 2014-11-06 Ricoh Company, Limited Data sharing system, data sharing method, and information processing apparatus
CN105656924A (en) * 2016-02-19 2016-06-08 腾讯科技(深圳)有限公司 Data processing method, device and system
CN105959403A (en) * 2016-06-21 2016-09-21 北京金山安全软件有限公司 Wallpaper recommendation method, server and mobile terminal
CN106528579A (en) * 2015-09-15 2017-03-22 阿里巴巴集团控股有限公司 Search method, device and system based on sharding structure databases

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707597A (en) * 2009-10-30 2010-05-12 中兴通讯股份有限公司 Method, server and terminal for processing user information
CN103577441A (en) * 2012-07-30 2014-02-12 腾讯科技(深圳)有限公司 Storage method and storage device for user operation data
US20140330928A1 (en) * 2013-05-02 2014-11-06 Ricoh Company, Limited Data sharing system, data sharing method, and information processing apparatus
CN106528579A (en) * 2015-09-15 2017-03-22 阿里巴巴集团控股有限公司 Search method, device and system based on sharding structure databases
CN105656924A (en) * 2016-02-19 2016-06-08 腾讯科技(深圳)有限公司 Data processing method, device and system
CN105959403A (en) * 2016-06-21 2016-09-21 北京金山安全软件有限公司 Wallpaper recommendation method, server and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008222A (en) * 2019-03-04 2019-07-12 广州市辉海计算机科技有限公司 A kind of method and apparatus of data interaction
CN110109959A (en) * 2019-04-30 2019-08-09 北京达佳互联信息技术有限公司 Data processing method, device, server and storage medium
CN110109959B (en) * 2019-04-30 2021-08-13 北京达佳互联信息技术有限公司 Data processing method, device, server and storage medium
CN111798956A (en) * 2020-06-28 2020-10-20 深圳市美格尔医疗技术研究院 Decision determination method, device and system for artificial intelligence anesthesia
CN111798956B (en) * 2020-06-28 2024-03-15 深圳市美格尔医疗技术研究院 Decision determining method, device and system for artificial intelligence anesthesia

Similar Documents

Publication Publication Date Title
US11507256B2 (en) Updating data records by adding editing functions to non-editable display elements
US11023533B2 (en) Node task data display method and apparatus, storage medium and computer equipment
WO2018024057A1 (en) Method and apparatus for accessing service
JP4608522B2 (en) File management system
US11163943B2 (en) Method and system for partial application data collection
WO2015010566A1 (en) Method for accurately searching for comprehensive information
CN109947635A (en) A kind of data reporting method, device, storage medium and terminal device
CN107341105A (en) Information processing method, terminal and server
CN107832448A (en) Database operation method, device and equipment
CN113688288A (en) Data association analysis method and device, computer equipment and storage medium
US9990407B2 (en) Stand-alone database browsing system and method
US20230186018A1 (en) Method for generating online report using form structure definition db, and computer program for same
US11068617B2 (en) Secure access to multi-tenant relational data
CN113434588B (en) Data mining analysis method and device based on mobile communication ticket
JP7162484B2 (en) Help information display system, help information display device, help information display method, and help information display program
US10248638B2 (en) Creating forms for hierarchical organizations
CN110895552A (en) Personnel information acquisition method and device
CN102682038A (en) Database change method and device
CN107038216B (en) Thesis duplicate checking method, device, equipment and storage medium
CN115469793A (en) Application software operation control method, SDK, electronic device, and storage medium
CN106713666A (en) Recognition display method and device of verification information
JP2018013819A (en) Business matching support system, and business matching support method
CN112699372A (en) Vulnerability processing method and device and computer readable storage medium
KR102113680B1 (en) Big data de-identification system and method
KR101709952B1 (en) Management server and method for detecting personal information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171110