CN110046171A - For obtaining system, the method and apparatus of information - Google Patents

For obtaining system, the method and apparatus of information Download PDF

Info

Publication number
CN110046171A
CN110046171A CN201910353965.1A CN201910353965A CN110046171A CN 110046171 A CN110046171 A CN 110046171A CN 201910353965 A CN201910353965 A CN 201910353965A CN 110046171 A CN110046171 A CN 110046171A
Authority
CN
China
Prior art keywords
information
module
configuration information
configuration
storage module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910353965.1A
Other languages
Chinese (zh)
Other versions
CN110046171B (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.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910353965.1A priority Critical patent/CN110046171B/en
Publication of CN110046171A publication Critical patent/CN110046171A/en
Application granted granted Critical
Publication of CN110046171B publication Critical patent/CN110046171B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/242Query formulation
    • G06F16/2433Query languages
    • G06F16/2448Query languages for particular applications; for extensibility, e.g. user defined types
    • 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
    • G06F16/2455Query execution

Abstract

Embodiment of the disclosure discloses system, method and apparatus for obtaining information.One specific embodiment of the system includes: that the system includes information storage module, information using module and information forwarding module;Information storage module is configured to store configuration information related with the field under target category;Information is configured to send configuration information acquisition request related with the aiming field for belonging to target category to information forwarding module using module, receives the configuration information that information forwarding module returns;Information forwarding module is configured to obtain configuration information from information storage module based on configuration information acquisition request, and at least partly configuration information that will acquire returns to information and uses module.The embodiment, which realizes, takes the instant of configuration information associated by the field under target category, centralized definition can be carried out to avoid to all fields under target category, so as to omit resolving, time cost is saved, and avoid the generation of the abnormal conditions such as parsing error.

Description

For obtaining system, the method and apparatus of information
Technical field
Embodiment of the disclosure is related to field of computer technology, and in particular to for obtaining the system, method and dress of information It sets.
Background technique
Currently, no matter it is generic under field between whether there is incidence relation, the prior art be usually will be under the category Field definition to major class inside.When take database server transmission with such related data after, the prior art Generally can be using third square bearer for carrying out data parsing, expending the more time parses the data.Work as parsing The type of data out and data user type predetermined mismatch, or parse and stagger the time, and data user is general It obtains less than workable data, to can not work normally.
Summary of the invention
Embodiment of the disclosure proposes system, method and apparatus for obtaining information.
In a first aspect, embodiment of the disclosure provides a kind of system for obtaining information, which includes that information is deposited Store up module, information uses module and information forwarding module;Information storage module is configured to store and the field under target category Related configuration information;Information uses module, is configured to send to information forwarding module related with aiming field with confidence Acquisition request is ceased, and receives the configuration information of information forwarding module return, wherein aiming field belongs to target category;Information Forwarding module, is configured to based on configuration information acquisition request, obtains configuration information from information storage module, and will acquire At least partly configuration information returns to information and uses module.
In some embodiments, information forwarding module is further configured to: if aiming field is not associated with subfield in advance, The whole configuration informations that then will acquire return to information and use module.
In some embodiments, information forwarding module is further configured to: if aiming field is associated with subfield in advance, Configuration information associated with the subfield, and the configuration information that will be extracted are extracted from the whole configuration informations got It returns to information and uses module.
In some embodiments, configuration information acquisition request includes the keyword of aiming field;And information forwarding module It is further configured to: obtaining configuration information associated with keyword from information storage module.
In some embodiments, the configuration information that information storage module is stored is the information of key-value pair form, and believes The configuration information that breath memory module is stored is received from database server.
Second aspect, embodiment of the disclosure provide a kind of method for obtaining information, comprising: receive information and use The configuration information acquisition request related with aiming field that module is sent, wherein aiming field belongs to target category;Based on matching Information acquisition request is set, obtains configuration information from information storage module, wherein information storage module is for storage and target category Under the related configuration information of field;At least partly configuration information that will acquire returns to information and uses module.
In some embodiments, at least partly configuration information that will acquire returns to information and uses module, comprising: if mesh Marking-up section is not associated with subfield in advance, then the whole configuration informations that will acquire return to information and use module.
In some embodiments, at least partly configuration information that will acquire returns to information and uses module, comprising: if mesh Marking-up section is associated with subfield in advance, then extracts from the whole configuration informations got associated with the subfield with confidence Breath, and the configuration information extracted is returned into information and uses module.
In some embodiments, configuration information acquisition request includes the keyword of aiming field;And it is based on configuration information Acquisition request, obtains configuration information from information storage module, comprising: obtains match associated with keyword from information storage module Confidence breath.
In some embodiments, the configuration information that information storage module is stored is the information of key-value pair form, and believes The configuration information that breath memory module is stored is received from database server.
The third aspect, embodiment of the disclosure provide it is a kind of for obtaining the device of information, the device include: receive it is single Member is configured to receive the configuration information acquisition request related with aiming field that information uses module to send, wherein target word Section belongs to target category;Acquiring unit is configured to be obtained and configured from information storage module based on configuration information acquisition request Information, wherein information storage module is for storing configuration information related with the field under target category;Transmission unit is matched At least partly configuration information that being set to will acquire returns to information and uses module.
In some embodiments, transmission unit is further configured to:, will if aiming field is not associated with subfield in advance The whole configuration informations got return to information and use module.
In some embodiments, transmission unit is further configured to: if aiming field is associated with subfield in advance, from obtaining Configuration information associated with the subfield is extracted in the whole configuration informations got, and the configuration information extracted is returned Module is used to information.
In some embodiments, configuration information acquisition request includes the keyword of aiming field;And acquiring unit is into one Step is configured to: obtaining configuration information associated with keyword from information storage module.
In some embodiments, the configuration information that information storage module is stored is the information of key-value pair form, and believes The configuration information that breath memory module is stored is received from database server.
Fourth aspect, embodiment of the disclosure provide a kind of electronic equipment, which includes: one or more places Manage device;Storage device is stored thereon with one or more programs;When the one or more program is by the one or more processors It executes, so that the one or more processors realize the method as described in implementation any in second aspect.
5th aspect, embodiment of the disclosure provide a kind of computer-readable medium, are stored thereon with computer program, The method as described in implementation any in second aspect is realized when the program is executed by processor.
System, the method and apparatus provided by the above embodiment for being used to obtain information of the disclosure, store mould by information Block stores related with the field under target category configuration information, so that information forwarding module is sent out using module receiving information When configuration information acquisition request related with aiming field that is belonging to target category that is sending, asked based on configuration information acquisition It asks, obtains configuration information from information storage module, and at least partly configuration information that will acquire returns to information and uses module. The scheme of above-described embodiment description of the disclosure is carried out by information forwarding module and information using module and information storage module Interaction, may be implemented to take the instant of configuration information associated by the field under target category.It in this way can be to avoid to target All fields under classification carry out centralized definition, and match confidence from database server acquisition is associated with all fields Breath, and the configuration information is parsed.So as to omit resolving, and then time cost can be saved, and keep away Exempt from the generation of the abnormal conditions such as parsing error.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the disclosure is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that some embodiments of the present disclosure can be applied to exemplary system architecture figure therein;
Fig. 2 is the timing diagram according to one embodiment of the system for obtaining information of the disclosure;
Fig. 3 is the schematic diagram according to an application scenarios of the system for obtaining information of the disclosure;
Fig. 4 is the flow chart according to one embodiment of the method for obtaining information of the disclosure;
Fig. 5 is the structural schematic diagram according to one embodiment of the device for obtaining information of the disclosure;
Fig. 6 is adapted for the structural representation for the computer system for realizing the electronic equipment of some embodiments of the present disclosure Figure.
Specific embodiment
The disclosure is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining that correlation is open, rather than the restriction to the disclosure.It also should be noted that in order to Convenient for description, is illustrated only in attached drawing and disclose relevant part to related.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the disclosure can phase Mutually combination.The disclosure is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the method for obtaining information of the disclosure or the implementation of the device for obtaining information The exemplary system architecture 100 of example.
As shown in Figure 1, system architecture 100 may include terminal device 101.It can be equipped on terminal device 101 various Client application, such as instant messaging tools, social platform software, shopping class application etc..
Terminal device 101 may include that information uses module 1011, information forwarding module 1012 and information storage module 1013.Information can run on terminal device 101 using module 1011, information forwarding module 1012 and information storage module 1013 Operating system on.
Terminal device 101 can be hardware, be also possible to software.When terminal device 101 is hardware, can be various Electronic equipment, including but not limited to smart phone, tablet computer etc..When terminal device 101 is software, may be mounted at In above-mentioned cited electronic equipment.Multiple softwares or software module may be implemented into (such as providing Distributed Services in it Multiple softwares or software module), single software or software module also may be implemented into.It is not specifically limited herein.
Information can be using module 1011, information forwarding module 1012 and information storage module 1013 can be mounted on end Multiple softwares or software module in end equipment 101, also may be implemented into single software or software module.Specific limit is not done herein It is fixed.It is set for example, information can be mounted in terminal using module 1011, information forwarding module 1012 and information storage module 1013 Client application on standby 101.In another example information uses module 1011, information forwarding module 1012 and information storage module 1013 can be the client application installed in the operating system that can be mounted on terminal device 101 or on terminal device 101 In tool, frame, library etc..
Wherein, information storage module 1013 can be used for storing configuration information related with the field under target category.Letter Breath can be sent in response to the object run related with aiming field of user to information forwarding module 1012 using module 1011 Configuration information acquisition request related with aiming field.Wherein, aiming field belongs to target category.Information forwarding module 1012 It can be based on the request, obtain configuration information from information storage module 1013, and corresponding processing is executed based on the configuration information Operation.
It should be noted that the method for obtaining information that some embodiments of the present disclosure provide generally is forwarded by information Module 1012 executes, and correspondingly, the device for obtaining information is generally positioned in information forwarding module 1012.
It should be understood that the terminal device, information in Fig. 1 use the number of module, information forwarding module and information storage module Mesh is only schematical.According to needs are realized, any number of terminal device can have, information is turned using module, information Send out module and information storage module.
With continued reference to Fig. 2, it illustrates the timing according to one embodiment of the system for obtaining information of the disclosure Figure.
The system for obtaining information in the present embodiment may include: information storage module (such as information shown in FIG. 1 Memory module 1013), information using module (such as information shown in FIG. 1 use module 1011) and information forwarding module (such as Information forwarding module 1012 shown in FIG. 1);Information storage module, may be configured to storage has with the field under target category The configuration information of pass;Information uses module, may be configured to send configuration related with aiming field to information forwarding module Information acquisition request, and receive the configuration information of information forwarding module return, wherein aiming field belongs to target category;Letter Forwarding module is ceased, is configured to based on configuration information acquisition request, obtains configuration information from information storage module, and will acquire At least partly configuration information return to information using module.
As shown in Fig. 2, in step 201, information is sent using module to information forwarding module related with aiming field Configuration information acquisition request.
In the present embodiment, the mesh associated with aiming field that information can for example be executed using module in response to user Mark operation sends configuration information acquisition request related with aiming field to information forwarding module.Wherein, object run for example may be used To be the start-up operation to specified client application (such as social platform software or shopping class application etc.), or to specified The opening operation at interface etc..Aiming field can be the field for belonging to target category (such as switch).In practice, target Typically no incidence relation between each field under classification can not have to centralized definition.
It should be understood that object run and target category can be set according to actual needs, specific limit is not done herein It is fixed.
In step 202, information forwarding module is based on configuration information acquisition request, obtains from information storage module and matches confidence Breath.
In the present embodiment, information storage module can be used for storing related with the field under target category with confidence Breath.Configuration information for example can include but is not limited to keyword, field name, field value of the field associated by it etc..Information Forwarding module can be based on above-mentioned configuration information acquisition request, deposit from information after receiving above-mentioned configuration information acquisition request It stores up module and obtains configuration information.
As an example, above-mentioned configuration information acquisition request may include the keyword of aiming field, information forwarding module can To obtain configuration information associated with the keyword from information storage module.
Here, every configuration information in a plurality of configuration information that information storage module is stored may include keyword. Information forwarding module can directly in access information storage module designated storage location, packet is searched in the designated storage location The configuration information of the keyword of aiming field is included, and obtains the configuration information found out.
Optionally, information forwarding module can send the information of the keyword including aiming field to information storage module, And configuration information corresponding with the keyword is received from information storage module.
In some optional implementations of the present embodiment, the configuration information that information storage module is stored can be key It is worth the information to form, such as the information of JSON (JavaScript Object Notation, JS object numbered musical notation) format.JSON It is a kind of data interchange format of lightweight.JSON is the string representation method of JS object, it uses one JS pairs of text representation The information of elephant.Wherein, JS object expression is key-value pair.In addition, the configuration information that information storage module is stored can be from number It is received according to library server.Database server can be used for new configuration associated with the field under target category in real time Information is sent to information storage module.
In step 203, at least partly configuration information that information forwarding module will acquire returns to information and uses module.
In the present embodiment, at least partly configuration information that information forwarding module can will acquire returns to information use Module.For example, whole configuration informations that information forwarding module can will acquire return if aiming field is not associated with subfield in advance Module is used back to information.
Optionally, if aiming field is associated with subfield in advance, information forwarding module can be from getting all with confidence Configuration information associated with the subfield is extracted in breath, and the configuration information extracted is returned into information and uses module.
It should be noted that certain fields under target category may be associated with subfield in advance.If aiming field is closed in advance Join subfield, then the configuration information that information forwarding module is got in step 202 can be the configuration information of multilayer nest, letter Breath is usually directly to use using module.Therefore, information forwarding module needs to judge whether aiming field is associated in advance Subfield.
In practice, information forwarding module can use various methods, judge whether aiming field is associated with subfield in advance.Make For example, information can store pre-generated for characterizing the corresponding relationship between aiming field and subfield using module Correspondence relationship information list.Information forwarding module can directly access the list, and lookup and aiming field in the list Related correspondence relationship information.If finding, information forwarding module can determine that aiming field is associated with subfield in advance.
For another example if above-mentioned configuration information acquisition request further includes the instruction letter for being used to indicate aiming field association subfield Breath, then information forwarding module can determine that aiming field is associated with subfield in advance.It should be understood that the instruction information may include appointing What is not specifically limited herein for characterizing the content of aiming field association subfield.
With continued reference to the signal that Fig. 3, Fig. 3 are according to the systematic difference scene for obtaining information of the present embodiment Figure.In the application scenarios of Fig. 3, target category can be switch classification.It can be equipped on the smart phone of user social flat Platform software.Social platform software can integrate information and use module 301, information forwarding module 302 and information storage module 303.In addition, social platform software may include interface A.Interface A can be associated with the switchers field B under switch classification.Its In, switchers field B can be associated with subfield B1, B2 in advance.Interface A may include and subfield B1, B2 is associated respectively opens Close control.The field value of subfield B1, B2 may be respectively used for indicating associated switch control when presenting state (such as Open state, closed state).Information can be used for the display of control interface A using module 301.
In this application scene, information can be in response to user to the opening operation of interface A, to information using module 301 Forwarding module 302 sends the configuration information acquisition request of the keyword including switchers field B.Then, information forwarding module 302 can To obtain configuration information associated with the keyword from information storage module 303.Later, information forwarding module 302 can be rung It should be associated in advance subfield B1, B2 in determining switchers field B, be extracted from the configuration information got and subfield B1, B2 Associated configuration information respectively, and the configuration information extracted is returned into information and uses module 301.Finally, information uses Module 301 can show interface A to user based on from the received configuration information of information forwarding module 302.
The system provided by the above embodiment of the disclosure, being stored by information storage module has with the field under target category The configuration information of pass, so as to information forwarding module receive it is that information is sent using module with target that is belonging to target category When the related configuration information acquisition request of field, it is based on the configuration information acquisition request, is obtained from information storage module and matches confidence Breath, and at least partly configuration information that will acquire returns to information and uses module.The side of above-described embodiment description of the disclosure Case is interacted by information forwarding module and information using module and information storage module, may be implemented under target category The instant of configuration information associated by field is taken.It in this way can be fixed to avoid concentrate to all fields under target category Justice, and configuration information associated with all fields is obtained from database server, and parse to the configuration information. So as to omit resolving, and then time cost can be saved, and avoid the generation of the abnormal conditions such as parsing error.
With further reference to Fig. 4, it illustrates the streams according to one embodiment of the method for obtaining information of the disclosure Journey 400.The method for being used to obtain information is applied to information forwarding module (such as information forwarding module 1012 shown in FIG. 1), The following steps are included:
Step 401, the configuration information acquisition request related with aiming field that information uses module to send is received.
In the present embodiment, information forwarding module can receive information (such as information shown in FIG. 1 be using mould using module Block 1011) send configuration information acquisition request related with aiming field.Wherein, which can be letter Breath is sent using the object run associated with aiming field that module is executed in response to user.Object run for example can be with It is the start-up operation to specified client application (such as social platform software or shopping class application etc.), or to specified The opening operation at interface etc..Aiming field can be the field for belonging to target category (such as switch).In practice, target class Typically no incidence relation between each field under not can not have to centralized definition.
It should be understood that object run and target category can be set according to actual needs, specific limit is not done herein It is fixed.
Step 402, it is based on configuration information acquisition request, obtains configuration information from information storage module.
In the present embodiment, information forwarding module can be based on above-mentioned configuration information acquisition request, from information storage module (such as information storage module 1013 shown in FIG. 1) obtains configuration information.Wherein, information storage module can be used for storage and mesh Mark the related configuration information of field under classification.Configuration information for example can include but is not limited to the key of the field associated by it Word, field name, field value etc..
As an example, above-mentioned configuration information acquisition request may include the keyword of aiming field, information forwarding module can To obtain configuration information associated with the keyword from information storage module.
In some optional implementations of the present embodiment, the configuration information that information storage module is stored can be key It is worth the information to form, such as the information of JSON format.In addition, the configuration information that information storage module is stored can be from number It is received according to library server.Database server can be used for new configuration associated with the field under target category in real time Information is sent to information storage module.
Step 403, at least partly configuration information that will acquire returns to information and uses module.
In the present embodiment, information forwarding module can return at least partly configuration information got in step 402 Module is used back to information.For example, information forwarding module can will acquire complete if aiming field is not associated with subfield in advance Portion's configuration information returns to information and uses module.
Optionally, if aiming field is associated with subfield in advance, information forwarding module can be from getting all with confidence Configuration information associated with the subfield is extracted in breath, and the configuration information extracted is returned into information and uses module.
It should be noted that certain fields under target category can be associated in advance subfield.If aiming field is preparatory It is associated with subfield, then the configuration information that information forwarding module is got in step 402 can be the configuration information of multilayer nest, Information is usually directly to use using module.Therefore, information forwarding module needs to judge whether aiming field closes in advance Join subfield.Here, judgment method can be referring to the related description in embodiment illustrated in fig. 2, and details are not described herein.
The method provided by the above embodiment of the disclosure, by receive information sent using module with belong to target class The related configuration information acquisition request of other aiming field, is then based on the configuration information acquisition request, from information storage module Configuration information is obtained, uses module so that at least partly configuration information that will acquire returns to information.The above-mentioned reality of the disclosure The scheme for applying example description is interacted by information forwarding module and information using module and information storage module, may be implemented pair The instant of configuration information associated by field under target category is taken.It in this way can be to avoid to all fields under target category Centralized definition is carried out, and obtains configuration information associated with all fields from database server, and to this with confidence Breath is parsed.So as to omit resolving, and then time cost can be saved, and avoid parsing the abnormal feelings such as error The generation of condition.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, present disclose provides one kind for obtaining letter One embodiment of the device of breath, the Installation practice is corresponding with embodiment of the method shown in Fig. 4, which can specifically answer For in various electronic equipments.
As shown in figure 5, the present embodiment may include: that receiving unit 501 is configured to for obtaining the device 500 of information Receive the configuration information acquisition request related with aiming field that information uses module to send, wherein aiming field can belong to In target category;Acquiring unit 502 is configured to be obtained from information storage module based on configuration information acquisition request and matched confidence Breath, wherein information storage module can be used for storing configuration information related with the field under target category;Transmission unit 503 At least partly configuration information for being configured to will acquire returns to information and uses module.
In the present embodiment, in the device 500 for obtaining information: receiving unit 501, acquiring unit 502 and transmission are single The specific processing of member 503 and its brought technical effect can be respectively with reference to step 401, the steps in embodiment shown in Fig. 4 402 and step 403 related description, details are not described herein.
In some optional implementations of the present embodiment, transmission unit 503 can be further configured to: if target Field is not associated with subfield in advance, then the whole configuration informations that will acquire return to information and use module.
In some optional implementations of the present embodiment, transmission unit 503 can be further configured to: if target Field is associated with subfield in advance, then extracts from the whole configuration informations got associated with the subfield with confidence Breath, and the configuration information extracted is returned into information and uses module.
In some optional implementations of the present embodiment, above-mentioned configuration information acquisition request may include aiming field Keyword;And acquiring unit 502 can be further configured to: be obtained from information storage module associated with keyword Configuration information.
In some optional implementations of the present embodiment, the configuration information that information storage module is stored can be key Be worth to the information of form, and the configuration information that is stored of information storage module can be it is received from database server.
The device provided by the above embodiment of the disclosure, by receive information sent using module with belong to target class The related configuration information acquisition request of other aiming field, is then based on the configuration information acquisition request, from information storage module Configuration information is obtained, uses module so that at least partly configuration information that will acquire returns to information.The above-mentioned reality of the disclosure The scheme for applying example description is interacted by information forwarding module and information using module and information storage module, may be implemented pair The instant of configuration information associated by field under target category is taken.It in this way can be to avoid to all fields under target category Centralized definition is carried out, and obtains configuration information associated with all fields from database server, and to this with confidence Breath is parsed.So as to omit resolving, and then time cost can be saved, and avoid parsing the abnormal feelings such as error The generation of condition.
Below with reference to Fig. 6, it illustrates the electronic equipments for being suitable for being used to realize embodiment of the disclosure (such as shown in Fig. 1 Terminal device 101) 600 structural schematic diagram.Terminal device in embodiment of the disclosure can include but is not limited to such as Mobile phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP are (portable Multimedia player), the mobile terminal and such as number TV, desk-top calculating of car-mounted terminal (such as vehicle mounted guidance terminal) etc. The fixed terminal of machine etc..Electronic equipment shown in Fig. 6 is only an example, should not function to embodiment of the disclosure and Use scope brings any restrictions.
As shown in fig. 6, electronic equipment 600 may include processing unit (such as central processing unit, graphics processor etc.) 601, random access can be loaded into according to the program being stored in read-only memory (ROM) 602 or from storage device 608 Program in memory (RAM) 603 and execute various movements appropriate and processing.In RAM 603, it is also stored with electronic equipment Various programs and data needed for 600 operations.Processing unit 601, ROM 602 and RAM 603 pass through the phase each other of bus 604 Even.Input/output (I/O) interface 605 is also connected to bus 604.
In general, following device can connect to I/O interface 605: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 606 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 607 of dynamic device etc.;Storage device 608 including such as hard disk etc.;And communication device 609.Communication device 609 can To allow electronic equipment 600 wirelessly or non-wirelessly to be communicated with other equipment to exchange data.Although Fig. 6 is shown with various The electronic equipment 600 of device, it should be understood that being not required for implementing or having all devices shown.It can be alternatively Implement or have more or fewer devices.Each box shown in Fig. 6 can represent a device, also can according to need Represent multiple devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 609, or from storage device 608 It is mounted, or is mounted from ROM 602.When the computer program is executed by processing unit 601, the implementation of the disclosure is executed The above-mentioned function of being limited in the method for example.
It is situated between it should be noted that computer-readable medium described in embodiment of the disclosure can be computer-readable signal Matter or computer readable storage medium either the two any combination.Computer readable storage medium for example can be with System, device or the device of --- but being not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than Combination.The more specific example of computer readable storage medium can include but is not limited to: have one or more conducting wires Electrical connection, portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type are programmable Read-only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic are deposited Memory device or above-mentioned any appropriate combination.In embodiment of the disclosure, computer readable storage medium, which can be, appoints What include or the tangible medium of storage program that the program can be commanded execution system, device or device use or and its It is used in combination.And in embodiment of the disclosure, computer-readable signal media may include in a base band or as carrier wave The data-signal that a part is propagated, wherein carrying computer-readable program code.The data-signal of this propagation can be adopted With diversified forms, including but not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal is situated between Matter can also be any computer-readable medium other than computer readable storage medium, which can be with It sends, propagate or transmits for by the use of instruction execution system, device or device or program in connection.Meter The program code for including on calculation machine readable medium can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. or above-mentioned any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.Above-mentioned computer-readable medium carries one or more program, when said one or more When a program is executed by the electronic equipment, so that the electronic equipment: receiving information and use the related with aiming field of module transmission Configuration information acquisition request, wherein aiming field belongs to target category;Based on configuration information acquisition request, deposited from information It stores up module and obtains configuration information, wherein information storage module is for storing configuration information related with the field under target category; At least partly configuration information that will acquire returns to information and uses module.
The behaviour for executing embodiment of the disclosure can be write with one or more programming languages or combinations thereof The computer program code of work, described program design language include object oriented program language-such as Java, Smalltalk, C++ further include conventional procedural programming language-such as " C " language or similar program design language Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, connecing Unit is received to be also described as " receiving the configuration information acquisition request related with aiming field that information uses module to send Unit ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (13)

1. a kind of system for obtaining information, including information storage module, information use module and information forwarding module;
The information storage module is configured to store configuration information related with the field under target category;
The information uses module, is configured to send configuration information related with aiming field to the information forwarding module and obtain Request is taken, and receives the configuration information that the information forwarding module returns, wherein the aiming field belongs to the target class Not;
The information forwarding module is configured to obtain based on the configuration information acquisition request from the information storage module Configuration information, and at least partly configuration information that will acquire returns to the information and uses module.
2. system according to claim 1, wherein the information forwarding module is further configured to:
If the aiming field is not associated with subfield in advance, the whole configuration informations that will acquire return to the information and use Module.
3. system according to claim 1, wherein the information forwarding module is further configured to:
If the aiming field is associated with subfield in advance, extracted from the whole configuration informations got and the subfield phase Associated configuration information, and the configuration information extracted is returned into the information and uses module.
4. system described in one of -3 according to claim 1, wherein the configuration information acquisition request includes the aiming field Keyword;And
The information forwarding module is further configured to:
Configuration information associated with the keyword is obtained from the information storage module.
5. system according to claim 4, wherein the configuration information that the information storage module is stored is key-value pair shape The information of formula, and the configuration information that the information storage module is stored is received from database server.
6. a kind of method for obtaining information, comprising:
Receive the configuration information acquisition request related with aiming field that information uses module to send, wherein the aiming field Belong to target category;
Based on the configuration information acquisition request, configuration information is obtained from information storage module, wherein the information storage module For storing configuration information related with the field under the target category;
At least partly configuration information that will acquire returns to the information and uses module.
7. according to the method described in claim 6, wherein, at least partly configuration information that will acquire returns to the letter Breath uses module, comprising:
If the aiming field is not associated with subfield in advance, the whole configuration informations that will acquire return to the information and use Module.
8. according to the method described in claim 6, wherein, at least partly configuration information that will acquire returns to the letter Breath uses module, comprising:
If the aiming field is associated with subfield in advance, extracted from the whole configuration informations got and the subfield phase Associated configuration information, and the configuration information extracted is returned into the information and uses module.
9. the method according to one of claim 6-8, wherein the configuration information acquisition request includes the aiming field Keyword;And
It is described to be based on the configuration information acquisition request, configuration information is obtained from information storage module, comprising:
Configuration information associated with the keyword is obtained from the information storage module.
10. according to the method described in claim 9, wherein, the configuration information that the information storage module is stored is key-value pair The information of form, and the configuration information that the information storage module is stored is received from database server.
11. a kind of for obtaining the device of information, comprising:
Receiving unit is configured to receive the configuration information acquisition request related with aiming field that information uses module to send, Wherein, the aiming field belongs to target category;
Acquiring unit, is configured to based on the configuration information acquisition request, obtains configuration information from information storage module, In, the information storage module is for storing configuration information related with the field under the target category;
Transmission unit, at least partly configuration information for being configured to will acquire return to the information and use module.
12. a kind of electronic equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 6-10.
13. a kind of computer-readable medium, is stored thereon with computer program, wherein real when described program is executed by processor The now method as described in any in claim 6-10.
CN201910353965.1A 2019-04-29 2019-04-29 System, method and apparatus for obtaining information Active CN110046171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910353965.1A CN110046171B (en) 2019-04-29 2019-04-29 System, method and apparatus for obtaining information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910353965.1A CN110046171B (en) 2019-04-29 2019-04-29 System, method and apparatus for obtaining information

Publications (2)

Publication Number Publication Date
CN110046171A true CN110046171A (en) 2019-07-23
CN110046171B CN110046171B (en) 2020-08-14

Family

ID=67280063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910353965.1A Active CN110046171B (en) 2019-04-29 2019-04-29 System, method and apparatus for obtaining information

Country Status (1)

Country Link
CN (1) CN110046171B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571809A (en) * 2009-05-14 2009-11-04 阿里巴巴集团控股有限公司 Implementation method of plug-in registration and device thereof
CN102033948A (en) * 2010-12-22 2011-04-27 中国农业银行股份有限公司 Method and device for updating data
CN102096879A (en) * 2011-01-25 2011-06-15 中兴通讯股份有限公司 Method, system and terminal for releasing advertisement
CN103283209A (en) * 2011-04-18 2013-09-04 北京新媒传信科技有限公司 Application service platform system and implementation method thereof
CN104699488A (en) * 2015-03-31 2015-06-10 北京奇虎科技有限公司 Method, equipment and system for acquiring APP (application) interface control data dynamically
US20150278186A1 (en) * 2014-03-31 2015-10-01 Hisense Mobile Communications Technology Co., Ltd Method for configuring application template, method for launching application template, and mobile terminal device
CN105404692A (en) * 2015-12-18 2016-03-16 深圳中兴网信科技有限公司 Web page generation method and generation device
CN107368307A (en) * 2017-07-03 2017-11-21 上海点融信息科技有限责任公司 For the method, apparatus and system at the interface for configuring application in real time
CN107404669A (en) * 2017-08-11 2017-11-28 深圳Tcl新技术有限公司 Television system interface display methods, equipment and computer-readable recording medium
CN108717449A (en) * 2018-05-18 2018-10-30 国家计算机网络与信息安全管理中心 A kind of information processing method and system
CN108804181A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Control content acquisition method, device and storage medium
CN109189395A (en) * 2018-08-14 2019-01-11 北京搜狐新媒体信息技术有限公司 A kind of data analysis method and device
CN109522068A (en) * 2018-10-17 2019-03-26 大唐网络有限公司 The edit methods of the methods of exhibiting and system of the page, page data
CN109522529A (en) * 2018-11-12 2019-03-26 北京懿医云科技有限公司 Extract method, apparatus, medium and the electronic equipment of data in document

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571809A (en) * 2009-05-14 2009-11-04 阿里巴巴集团控股有限公司 Implementation method of plug-in registration and device thereof
CN102033948A (en) * 2010-12-22 2011-04-27 中国农业银行股份有限公司 Method and device for updating data
CN102096879A (en) * 2011-01-25 2011-06-15 中兴通讯股份有限公司 Method, system and terminal for releasing advertisement
CN103283209A (en) * 2011-04-18 2013-09-04 北京新媒传信科技有限公司 Application service platform system and implementation method thereof
US20150278186A1 (en) * 2014-03-31 2015-10-01 Hisense Mobile Communications Technology Co., Ltd Method for configuring application template, method for launching application template, and mobile terminal device
CN104699488A (en) * 2015-03-31 2015-06-10 北京奇虎科技有限公司 Method, equipment and system for acquiring APP (application) interface control data dynamically
CN105404692A (en) * 2015-12-18 2016-03-16 深圳中兴网信科技有限公司 Web page generation method and generation device
CN107368307A (en) * 2017-07-03 2017-11-21 上海点融信息科技有限责任公司 For the method, apparatus and system at the interface for configuring application in real time
CN107404669A (en) * 2017-08-11 2017-11-28 深圳Tcl新技术有限公司 Television system interface display methods, equipment and computer-readable recording medium
CN108717449A (en) * 2018-05-18 2018-10-30 国家计算机网络与信息安全管理中心 A kind of information processing method and system
CN108804181A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Control content acquisition method, device and storage medium
CN109189395A (en) * 2018-08-14 2019-01-11 北京搜狐新媒体信息技术有限公司 A kind of data analysis method and device
CN109522068A (en) * 2018-10-17 2019-03-26 大唐网络有限公司 The edit methods of the methods of exhibiting and system of the page, page data
CN109522529A (en) * 2018-11-12 2019-03-26 北京懿医云科技有限公司 Extract method, apparatus, medium and the electronic equipment of data in document

Also Published As

Publication number Publication date
CN110046171B (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN108228887B (en) Method and apparatus for generating information
CN109062563A (en) Method and apparatus for generating the page
CN108287927B (en) For obtaining the method and device of information
CN109036425A (en) Method and apparatus for operating intelligent terminal
CN110162670A (en) Method and apparatus for generating expression packet
CN110096584A (en) A kind of answer method and device
CN109325213A (en) Method and apparatus for labeled data
CN110489101A (en) Interface analogy method, system, medium and electronic equipment
CN108933730A (en) Information-pushing method and device
CN109189857A (en) Data-sharing systems, method and apparatus based on block chain
CN109918530A (en) Method and apparatus for pushing image
CN110134702A (en) Data flow joining method, device, equipment and storage medium
CN109271556A (en) Method and apparatus for output information
CN110391938A (en) Method and apparatus for deployment services
CN108540831A (en) Method and apparatus for pushed information
CN109710859A (en) Data query method and apparatus
CN110321544A (en) Method and apparatus for generating information
CN109255035A (en) Method and apparatus for constructing knowledge mapping
CN109062560A (en) Method and apparatus for generating information
CN108629011A (en) Method and apparatus for sending feedback information
CN110087122A (en) For handling system, the method and apparatus of information
CN110110693A (en) The method and apparatus of face character for identification
CN110377273A (en) A kind of method, apparatus of data processing, medium and electronic equipment
CN109766392A (en) Data processing method and device
US11238754B2 (en) Editing tool for math equations

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.