CN109710673A - Works processing method, device, equipment and medium - Google Patents

Works processing method, device, equipment and medium Download PDF

Info

Publication number
CN109710673A
CN109710673A CN201811594487.5A CN201811594487A CN109710673A CN 109710673 A CN109710673 A CN 109710673A CN 201811594487 A CN201811594487 A CN 201811594487A CN 109710673 A CN109710673 A CN 109710673A
Authority
CN
China
Prior art keywords
works
request
data
processed
business
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
CN201811594487.5A
Other languages
Chinese (zh)
Other versions
CN109710673B (en
Inventor
胥昕昂
王春伟
朱文飞
李升起
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811594487.5A priority Critical patent/CN109710673B/en
Publication of CN109710673A publication Critical patent/CN109710673A/en
Application granted granted Critical
Publication of CN109710673B publication Critical patent/CN109710673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of works processing method, device, equipment and media, are related to internet area.This method comprises: obtaining data operation request of each business to the data operation requests of works to be processed and/or each terminal to works to be processed;The data operation request is responded, data manipulation is carried out to works to be processed in public database.The embodiment of the invention provides a kind of works processing method, device, equipment and media, realize the work data of each business side and the shared storage of each works displaying terminal, simplify the connection structure between business side and works displaying terminal.

Description

Works processing method, device, equipment and medium
Technical field
The present embodiments relate to internet area more particularly to a kind of works processing method, device, equipment and media.
Background technique
It is the disseminator of generalization information in Internet era from media author, the information flow content created usually has Standby flow is huge and form advantage abundant, can satisfy user and advertiser in the complicated demand in information field.
The issuing process for the works usually created from media author can be described as: each business side is according to setting logic pair Works are handled, and processing result is stored in the database of each business side, wherein each business side includes works audit industry Weight business etc. is sentenced in business, works;After the processing of each business side, works are handed down to the exhibition that works displaying terminal carries out works Show.
However, there are the following problems for the above method:
1) work data repeats storage problem: each business side and each works displaying terminal are required to deposit work data Storage.
2) works attribute updates delay issue: relative complex topological structure between the notice dependence business that works attribute updates Update notification chain transmitting.The time that the notice for causing works attribute to update is transferred to each works displaying terminal is different, Jin Erzhan Show the inconsistent situation of content.
Summary of the invention
The embodiment of the present invention provides a kind of works processing method, device, equipment and medium, to realize each business side and each work The work data of the shared storage of product displaying terminal, simplifies the connection structure between business side and works displaying terminal.
In a first aspect, the embodiment of the invention provides a kind of works processing methods, this method comprises:
Obtain data manipulation of each business to the data operation request and/or each terminal of works to be processed to works to be processed Request;
The data operation request is responded, data manipulation is carried out to works to be processed in public database.
Second aspect, the embodiment of the invention also provides a kind of works processing unit, which includes:
Request module treats the data operation request of works to be processed and/or each terminal for obtaining each business Handle the data operation request of works;
Ask respond module counts works to be processed in public database for responding the data operation request According to operation.
The third aspect, the embodiment of the invention also provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the works processing method as described in any in the embodiment of the present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the works processing method as described in any in the embodiment of the present invention when program is executed by processor.
The embodiment of the present invention is by responding each business and/or each terminal to the data operation request of works to be processed, to public affairs Works progress data manipulation to be processed in database altogether.To realize the works of each business and the shared storage of each works displaying terminal Data.In addition, the embodiment of the present invention realizes the centralization of works processing by each business of connection, each terminal and common data, Simplify the connection structure between business side and works displaying terminal.
Detailed description of the invention
Fig. 1 is a kind of flow chart for works processing method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of works processing method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow diagram for article processing method that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic block diagram for public database that the embodiment of the present invention three provides;
Fig. 5 is that a kind of state based on state machine that the embodiment of the present invention three provides updates processing schematic block diagram;
Fig. 6 is a kind of structural schematic block diagram for works processing unit that the embodiment of the present invention four provides;
Fig. 7 is a kind of structural schematic diagram for equipment that the embodiment of the present invention six provides.
Specific embodiment
The present invention 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 the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for works processing method that the embodiment of the present invention one provides.The present embodiment is applicable to pair Network works carry out the case where data processing, which includes issuing, retrieve, recall and closing.This method can be by one kind Works processing unit executes, which can be realized by the mode of software and/or hardware.It is provided in this embodiment referring to Fig. 1 Works processing method, comprising:
S110, the number of each business to the data operation requests of works to be processed and/or each terminal to works to be processed is obtained According to operation requests.
Wherein, each business is any business handled works to be processed, which includes treating processing works Audit business sentences weight business and retrieval service etc..
Works are users to be created based on the network platform, but article, is also possible to video, be can also be audio.
Terminal refers to the terminal being shown to works to be processed, specifically can be mobile phone, is also possible to computer.
Data manipulation can be read operation or write operation to data, can also grasp to the Status Change of works to be processed Make.
Works to be processed in public database are carried out data manipulation by S120, the response data operation request.
Specifically, public database is the database that terminal and each business are safeguarded jointly and shared.It is stored in database Work data to be processed.
To meet different Search Requirements, it is equipped with different subdata bases in public database, wherein subdata base is to works Carry out various forms of storages.
Specifically, business is runed to the Search Requirement of works content to meet works, be equipped with and deposit in the public database Contain the content subdata base of the content field of works.
Typically, each business is responded to the data operation request of works to be processed, to works to be processed in public database Carry out data manipulation, comprising:
Response operation business treats the data retrieval request of processing works, in retrieval information and public database Hold subdata base and determine search result, wherein being stored with the content field of works in the content subdata base.
The technical solution of the embodiment of the present invention grasps the data of works to be processed by responding each business and/or each terminal It requests, data manipulation is carried out to works to be processed in public database.To realize each business and each works displaying terminal pair Work data in public database is safeguarded and is shared jointly, and then realizes the consistency of work data.
In addition, the embodiment of the present invention realizes the center of works processing by connecting each business, each terminal and common data Change, simplifies the connection structure between business side and works displaying terminal.
The notice that the simplification of structure simultaneously shortens the update of works attribute is transferred to the time difference of each works displaying terminal.And And because each displaying terminal obtains from public database shows work data, it is directed to the acquisition content of same piece works It is the same.Therefore the situation inconsistent to the displaying content of same piece works is also just not present.
It timely updates to realize to displaying terminal, it is described to obtain each business to the data operation request of works to be processed And/or after each terminal is to the data operation request of works to be processed, further includes:
Modify the request reception state of works to be processed;
The data operation request is responded, after works to be processed in public database progress data manipulation, further includes:
Modify the request responsive state of works to be processed;
According to the request reception state of works to be processed and request responsive state, article to be processed is sent more to displaying terminal New command, instruction displaying terminal are shown according to article data to be processed updated in public database.
To avoid request response timeout problem, the response data operation request, to be processed in public database Works carry out before data manipulation, further includes:
The analysis request mode of operation from data operation request, wherein the request mode of operation includes synchronization process mode Or asynchronous process mode;
According to the request mode of operation of parsing, the data operation request is responded.
Wherein, synchronization process mode refers to upon receiving a request, interrupts current logic, make an immediate response request;Asynchronous place Reason mode refer to receive request after be placed in task queue, executed according to task order.
Therefore, needs can be responded according to actual request, the setting of mode of operation is made requests to request.
Further, before response data operation requests, further includes:
Parameter in operation requests is verified.
To avoid each business is to state conflict is updated caused by public database parallel work-flow the case where, the response data Operation requests carry out data manipulation to public database, comprising:
According to setting update sequence, response target works Status Change request, to target works state in public database It is updated.
Embodiment two
Fig. 2 is a kind of flow chart of works processing method provided by Embodiment 2 of the present invention.The present embodiment is in above-mentioned reality Apply a kind of optinal plan proposed on the basis of example.Referring to fig. 2, works processing method provided in this embodiment includes:
S210, the number of each business to the data operation requests of works to be processed and/or each terminal to works to be processed is obtained According to operation requests.
If S220, the data operation request are data retrieval requests, the data retrieval request is responded, according to retrieval The non-pass for including in the works essential attribute and public database of the relationship subdata base for including in information, public database It is the works extended attribute of subdata base, determines search result.
Wherein, relationship subdata base is the subdata base in public database, relation belonging to type database.Non- relator Database is also the subdata base in public database, belongs to non-relational database.It can be with base in relationship subdata base The lookup to other attributes of target works is realized in any works essential attribute of target works.However in non-relationship subdata Other works extended attributes of target works can only be searched according to the works extended attribute for being stored in major key position in library.
Works essential attribute is the retrieval higher works attribute of frequency.Specifically, works essential attribute may include works Mark, user identifier, works type, works state, works creation time and works issuing time etc..
Works extended attribute is that frequency is not high or the longer attribute of field contents for retrieval.Specifically, works extended attribute Including works title, works content and works label etc..
Essential attribute retrieval is carried out to works it is alternatively possible to be directly based upon relationship subdata base, non-pass can also be based on It is that subdata base is extended attribute retrieval to works.
Typically, described according to the works essential attribute of relational database in retrieval information, public database and public The works extended attribute of database China-African tie database, determines search result, comprising:
Will retrieval information with works essential attribute matches in relationship subdata base in public database;
Works essential attribute based on successful match obtains target works from the non-relationship subdata base of public database Works extended attribute, search result is determined according to the works extended attribute of target works.
Specifically, the works essential attribute based on successful match, obtains mesh from the non-relational database of public database It is denoted as the works extended attribute of product, comprising:
The works mark of the works essential attribute said target works of successful match is determined from relationship subdata base;
The works extended attribute that target works are determined from non-relationship subdata base is identified based on determining works.
The retrieval based on any works attribute to works extended attribute may be implemented in the above method.
The technical solution of the embodiment of the present invention, by the way that relationship subdata base and non-relationship subnumber are arranged in public database According to library, the high works attribute of frequency will be retrieved and be stored in relationship subdata base, the not high works extended attribute of recall ratio is deposited It is stored in non-relationship subdata base.Because the logical relation in relational database is more than the logical relation of non-relationship subdata base, institute It is also more to occupy resource.The present embodiment carries out a point library to work data according to actual retrieval demand and stores, it is possible to prevente effectively from money The waste in source.
Embodiment three
The present embodiment is a kind of optinal plan proposed so that works are articles as an example on the basis of the above embodiments.Referring to Article processing method is set in the middleware of an article service by Fig. 3, the present embodiment, and interior business passes through the middleware and public affairs Database connection altogether.Include: referring to Fig. 3 article processing method provided in this embodiment
The article data operation requests that each business is sent are obtained based on each interface;
Article data operation requests are responded, article data operation is carried out to public database, state machine and/or distribution side.
Wherein, distribution side refers to the task execution end in downstream, can be article displaying terminal, such as mobile phone or computer.
Distinct interface connects different business, therefore can set interface according to the demand of business.
To guarantee the correct operation to article data in public database, article data operation requests are responded, to public number Article data operation is carried out according to library, comprising:
The read-write requests for responding the article field that interior business is sent, verify the parameter in request;
If authentication error, the parameter of mistake is modified, based on correct parameter to the article in public database Data execute read-write operation.
Specifically, article data operation requests are responded, article number is carried out to public database, state machine and/or distribution side According to operation, comprising:
It include the write request of target creation article data based on creation article interface;
Public database is written into target creation article data, and the reception state of write request and responsive state are submitted To state machine, more new command is generated according to the reception state and responsive state of write request by state machine, and is based on issuing interface More new command is issued to distribution side.
For the intervention for realizing the article state to the article data in launch phase, each business hair is obtained based on each interface The article data operation requests sent, comprising:
Based on the request that each business of each interface intervenes article state, wherein including to the intervention of article state It recalls, close, deletes, fishes out back, and examine the permission in request source, complete to update public database Chinese after legitimacy is examined The state of chapter;
The reception state of request and responsive state are committed to state machine, by state machine according to the reception state and sound of request It answers state to generate state more new command to carry out state circulation process or be issued to distribution side directly to realize business effect.
To meet the needs of Edition Contains personnel, the middleware of article service can receive direct intervention article data and under The request of hair, so that the platform of Edition Contains personnel uses.
For timeliness article to guarantee in issuing process it is high it is excellent pass through, issue and want separator in channel to cope with Difference issues the needs of scene.
When responding different operation request, there are problems that response timeout.Time of the different business for request response It is required that different.It to solve this problem, include the required parameter either synchronously or asynchronously handled in received operation requests, to mark inside Processing mode of the function when responding the request.
Article data and attribute to be operated are stored to message queue when asynchronous process, pass through the data recipient of push-and-pull Formula is adjusted back to complete the request of each business.
To realize the retrieval to the article data of storage, article data operation requests are responded, to public database, state machine And/or progress article data operation in distribution side includes:
The article data retrieval request that interior business is sent is obtained, if retrieval request is the inspection that article content is intervened in operation Rope carries out the retrieval of article content using distributed search engine then based on the content subdata base in public database;
If retrieval request is the retrieval to normal dispatch process, based on relationship subdata base in public database and non- Relationship subdata carries out article attribute retrieval.
Referring to fig. 4, public database 100 includes: relationship subdata base 101, non-relationship subdata base 102 and content subnumber According to library 103.It is retrieved for different retrievals using disparate databases, to improve recall precision.
The retrieval for intervening article content for operation uses distributed full-text search engine, can be directed to various activities scene The operation of screening of being looked into or sorted counter to the different field of article.The frequency of this Search Requirement is not high and unsuitable and normal The retrieval scene of dispatch process mixes, so distributed full-text search engine, which is used alone, carrys out Timing Synchronization article data, with Meet the regulatory requirement of operation personnel.
Wherein relator database purchase is article essential attribute, and article essential attribute is to be frequently used for screening and word Section content-length is less than the field of setting length threshold.
It uses number as actual storage content for the field of enumeration type, and records number mark in configuration file With the mapping relations of actual content.Such as 0 expression female in gender field, 1 indicates male.
What is stored in non-relationship subdata base is article extended attribute, article extended attribute refer to retrieval frequency it is not high or The longer attribute of field contents.Based on non-relational database large-scale data set and more can be solved using it to greatest extent The performance of weight data class.
In addition, the data high for usage frequency present in article attribute are cached using memory engine, data are reduced The connection number of library connection pool is to improve stability.
From the foregoing, it will be observed that acquisition article data mode includes:
Based on mark dimension (namely being based on non-relationship subdata base) inquiry, looked into based on condition (namely relationship subdata base) It askes, or the subscription based on each business subscribe to the push of data to guarantee the real-time of article data.
Referring to Fig. 5, specifically, respond article data operation requests, to public database, state machine and/or distribution side into Style of writing chapter data manipulation, comprising:
The read-write requests for responding the article field that interior business is sent, verify the parameter in request;
If authentication error, the parameter of mistake is modified, based on correct parameter to the article in public database Data execute read-write operation;
It receives article state and updates request, the request slot position of article in reception state filling state machine will be requested;
Request is updated according to setting update sequence response article state, the article state in public database is carried out more Newly, and by respond request state the response slot position for inserting article in state machine, by state machine according to the reception state and sound of request It answers state to generate more new command to issue by issue that interface instructed.
From the foregoing, it will be observed that on the one hand article service is the service layer as bottom storage resource module, on the one hand to receive text The change request of chapter state circulation guarantees the asynchronous circulation of normal dispatch process and intervenes the Real time request that article issues.
Wherein, state machine is used to record the circulation sequence and solicited status of article, and according to circulation sequence and solicited status It notifies each business or distributes the update that side carries out article data.
If request receives or is abnormal or blocks during responding, article is resubmited.So as to It is enough to cope with the more and more service sides of processing that article data is directed in the business expansion stage well, it carries out more quickly laterally It extends and accesses in original dispatch process.
The technical solution of the embodiment of the present invention, can be effective by the unified storage for carrying out public database to article resource Ground reduces the cost that data update and guarantees subsystem low latency.
Meanwhile realizing the convergence service for undertaking data result, independent article service middleware can deposit article data Storage and article state circulation mutually decoupling, are conducive to the maintainability and scalability of system.
If request receives or is abnormal or blocks during responding, article is resubmited, Yi Ji Data accuracy can be guaranteed to the record of solicited status in state machine.
Article data is deposited in the retrieval scene that normally dispatch process and operation intervene article content using different Storage mode meets the use demand of business with smaller cost of implementation and guarantees the advantage of information flow very rich in form and content.Certainly The cost of access of each business side can be greatly reduced in the process of expansion of media writing platform, the iteration of product can be improved Speed and online efficiency.
It should be noted that by the technical teaching of the present embodiment, those skilled in the art have motivation by above-described embodiment Described in any embodiment carry out the combination of scheme, to realize the processing to work data.
Example IV
Fig. 6 is a kind of structural schematic diagram for works processing unit that the embodiment of the present invention four provides.Referring to Fig. 6, this implementation The works processing unit that example provides, comprising: request module 10 and ask respond module 20.
Wherein, request module 10, for obtaining data operation request and/or each end of each business to works to be processed Hold the data operation request to works to be processed;
Ask respond module 20 carries out works to be processed in public database for responding the data operation request Data manipulation.
The technical solution of the present embodiment asks the data manipulation of works to be processed by responding each business and/or each terminal It asks, data manipulation is carried out to works to be processed in public database.It is deposited to realize that each business and each works displaying terminal are shared The work data of storage.In addition, the embodiment of the present invention realizes works processing by connecting each business, each terminal and common data Centralization, simplify the connection structure between business side and works displaying terminal.
Further, the respond module, comprising: retrieval response unit.
Wherein, retrieval response unit responds the data if being data retrieval request for the data operation request Retrieval request, according to the works essential attribute for the relationship subdata base for including in retrieval information, public database and public number According to the works extended attribute for the non-relationship subdata base for including in library, search result is determined.
Further, the retrieval response unit is specifically used for:
Will retrieval information with works essential attribute matches in relationship subdata base in public database;
Works essential attribute based on successful match obtains target works from the non-relationship subdata base of public database Works extended attribute, search result is determined according to the works extended attribute of target works.
Further, described device further include: solicited status modified module.
Solicited status modified module, for obtaining each business to the data operation request and/or each terminal of works to be processed After the data operation request of works to be processed, the request reception state of works to be processed is modified;
Described device further include: responsive state modified module and update module.
Wherein, responsive state modified module, for responding the data operation request, to work to be processed in public database After product carry out data manipulation, the request responsive state of works to be processed is modified;
Update module, for the request reception state and request responsive state according to works to be processed, to each terminal or industry Business sends works more new command to be processed, indicates that each terminal or each business carry out the update of work data to be processed.
Further, described device further include: mode of operation determining module and mode of operation execution module.
Wherein, mode of operation determining module, for responding the data operation request, to work to be processed in public database Before product carry out data manipulation, the analysis request mode of operation from data operation request, wherein the request mode of operation includes Synchronization process mode or asynchronous process mode;
Mode of operation execution module responds the data operation request for the request mode of operation according to parsing.
Further, the ask respond module, comprising: request-response unit.
Wherein, request-response unit treats the data retrieval request of processing works for responding operation business, according to retrieval Content subdata base in information and public database determines search result, wherein being stored with works in the content subdata base Content field.
Works processing unit provided by the embodiment of the present invention can be performed at works provided by any embodiment of the invention Reason method has the corresponding functional module of execution method and beneficial effect.
Embodiment five
Fig. 7 is a kind of structural schematic diagram for equipment that the embodiment of the present invention six provides.Fig. 7, which is shown, to be suitable for being used to realizing this The block diagram of the example devices 12 of invention embodiment.The equipment 12 that Fig. 7 is shown is only an example, should not be to of the invention real The function and use scope for applying example bring any restrictions.
As shown in fig. 7, equipment 12 is showed in the form of universal computing device.The component of equipment 12 may include but unlimited In one or more processor or processing unit 16, system storage 28, connecting different system components, (including system is deposited Reservoir 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment 12 The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Equipment 12 may further include it is other it is removable/nonremovable, Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable , non-volatile magnetic media (Fig. 7 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 7, use can be provided In the disc driver read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can To be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program product, The program product has one group of (for example, at least one) program module, these program modules are configured to perform each implementation of the invention The function of example.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28 In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual Execute the function and/or method in embodiment described in the invention.
Equipment 12 can also be communicated with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.), Can also be enabled a user to one or more equipment interacted with the equipment 12 communication, and/or with enable the equipment 12 with One or more of the other any equipment (such as network interface card, modem etc.) communication for calculating equipment and being communicated.It is this logical Letter can be carried out by input/output (I/O) interface 22.Also, equipment 12 can also by network adapter 20 and one or The multiple networks of person (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown, Network adapter 20 is communicated by bus 18 with other modules of equipment 12.It should be understood that although not shown in the drawings, can combine Equipment 12 use other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit, External disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as realize works processing method provided by the embodiment of the present invention.
Embodiment seven
The embodiment of the present invention seven additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should The works processing method as described in any in the embodiment of the present invention is realized when program is executed by processor, which comprises
Obtain data manipulation of each business to the data operation request and/or each terminal of works to be processed to works to be processed Request;
The data operation request is responded, data manipulation is carried out to works to be processed in public database.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, 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 programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (14)

1. a kind of works processing method characterized by comprising
Each business is obtained to ask the data manipulation of works to be processed the data operation request of works to be processed and/or each terminal It asks;
The data operation request is responded, data manipulation is carried out to works to be processed in public database.
2. the method according to claim 1, wherein described respond the data operation request, to common data Works progress data manipulation to be processed in library, comprising:
If the data operation request is data retrieval request, the data retrieval request is responded, according to retrieval information, public The non-relationship subdata base for including in the works essential attribute and public database of the relationship subdata base for including in database Works extended attribute, determine search result.
3. according to the method described in claim 2, it is characterized in that, described include according in retrieval information, public database The works for the non-relationship subdata base for including in the works essential attribute and public database of relationship subdata base, which extend, to be belonged to Property, determine search result, comprising:
Will retrieval information with works essential attribute matches in relationship subdata base in public database;
Works essential attribute based on successful match obtains the work of target works from the non-relationship subdata base of public database Product extended attribute determines search result according to the works extended attribute of target works.
4. the method according to claim 1, wherein the data manipulation for obtaining each business to works to be processed Request and/or each terminal to the data operation request of works to be processed after, further includes:
Modify the request reception state of works to be processed;
The data operation request is responded, after works to be processed in public database progress data manipulation, further includes:
Modify the request responsive state of works to be processed;
According to the request reception state of works to be processed and request responsive state, works to be processed are sent more to each terminal or business New command indicates that each terminal or each business carry out the update of work data to be processed.
5. the method according to claim 1, wherein described respond the data operation request, to common data Before works to be processed carry out data manipulation in library, further includes:
The analysis request mode of operation from data operation request, wherein the request mode of operation includes synchronization process mode or different Walk processing mode;
According to the request mode of operation of parsing, the data operation request is responded.
6. being asked the method according to claim 1, wherein responding each business to the data manipulation of works to be processed It asks, data manipulation is carried out to works to be processed in public database, comprising:
Response operation business treats the data retrieval request of processing works, according to content in retrieval information and public database Database determines search result, wherein being stored with the content field of works in the content subdata base.
7. a kind of works processing unit characterized by comprising
Request module, for obtaining each business to the data operation request of works to be processed and/or each terminal to be processed The data operation request of works;
Ask respond module carries out data behaviour to works to be processed in public database for responding the data operation request Make.
8. device according to claim 7, which is characterized in that the respond module, comprising:
It retrieves response unit and responds the data retrieval request if being data retrieval request for the data operation request, It is wrapped according in the works essential attribute for the relationship subdata base for including in retrieval information, public database and public database The works extended attribute of the non-relationship subdata base included, determines search result.
9. device according to claim 8, which is characterized in that the retrieval response unit is specifically used for:
Will retrieval information with works essential attribute matches in relationship subdata base in public database;
Works essential attribute based on successful match obtains the work of target works from the non-relationship subdata base of public database Product extended attribute determines search result according to the works extended attribute of target works.
10. device according to claim 7, which is characterized in that further include:
Solicited status modified module treats the data operation request of works to be processed and/or each terminal for obtaining each business After the data operation request for handling works, the request reception state of works to be processed is modified;
Described device further include:
Responsive state modified module counts works to be processed in public database for responding the data operation request After operation, the request responsive state of works to be processed is modified;
Update module is sent out for the request reception state and request responsive state according to works to be processed to each terminal or business Works to be processed more new command is sent, indicates that each terminal or each business carry out the update of work data to be processed.
11. device according to claim 7, which is characterized in that further include:
Mode of operation determining module counts works to be processed in public database for responding the data operation request Before operation, the analysis request mode of operation from data operation request, wherein the request mode of operation includes synchronization process Mode or asynchronous process mode;
Mode of operation execution module responds the data operation request for the request mode of operation according to parsing.
12. device according to claim 7, which is characterized in that the ask respond module, comprising:
Request-response unit treats the data retrieval request of processing works for responding operation business, according to retrieval information and public affairs The content subdata base in database determines search result altogether, wherein being stored with the content word of works in the content subdata base Section.
13. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing 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 Now such as works processing method as claimed in any one of claims 1 to 6.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as works processing method as claimed in any one of claims 1 to 6 is realized when execution.
CN201811594487.5A 2018-12-25 2018-12-25 Work processing method, device, equipment and medium Active CN109710673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811594487.5A CN109710673B (en) 2018-12-25 2018-12-25 Work processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811594487.5A CN109710673B (en) 2018-12-25 2018-12-25 Work processing method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN109710673A true CN109710673A (en) 2019-05-03
CN109710673B CN109710673B (en) 2022-11-25

Family

ID=66258098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811594487.5A Active CN109710673B (en) 2018-12-25 2018-12-25 Work processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN109710673B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685460A (en) * 2008-09-23 2010-03-31 华为技术有限公司 Database device, method and system for processing shared data
CN102289519A (en) * 2011-09-14 2011-12-21 成都软智科技有限公司 Application server and method for coordinating data of same and database
CN102609435A (en) * 2010-12-20 2012-07-25 微软公司 Large-scale event evaluation using realtime processors
CN102768666A (en) * 2011-05-05 2012-11-07 上海可鲁系统软件有限公司 Method and system for storing and reading industrial data
CN108513676A (en) * 2018-04-25 2018-09-07 深圳市锐明技术股份有限公司 A kind of road conditions recognition methods, device and equipment
CN108776891A (en) * 2018-07-18 2018-11-09 国网河北省电力有限公司经济技术研究院 A kind of scientific research consulting management platform based on big data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685460A (en) * 2008-09-23 2010-03-31 华为技术有限公司 Database device, method and system for processing shared data
CN102609435A (en) * 2010-12-20 2012-07-25 微软公司 Large-scale event evaluation using realtime processors
CN102768666A (en) * 2011-05-05 2012-11-07 上海可鲁系统软件有限公司 Method and system for storing and reading industrial data
CN102289519A (en) * 2011-09-14 2011-12-21 成都软智科技有限公司 Application server and method for coordinating data of same and database
CN108513676A (en) * 2018-04-25 2018-09-07 深圳市锐明技术股份有限公司 A kind of road conditions recognition methods, device and equipment
CN108776891A (en) * 2018-07-18 2018-11-09 国网河北省电力有限公司经济技术研究院 A kind of scientific research consulting management platform based on big data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李芳芸 等: "《计算机软件技术基础》", 31 December 1987, 清华大学出版社 *
黎艳秋: "基于个性化推荐的ios在线教育系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Also Published As

Publication number Publication date
CN109710673B (en) 2022-11-25

Similar Documents

Publication Publication Date Title
US11163739B2 (en) Database table format conversion based on user data access patterns in a networked computing environment
KR102240557B1 (en) Method, device and system for storing data
CN108519862A (en) Storage method, device, system and the storage medium of block catenary system
US10733172B2 (en) Method and computing device for minimizing accesses to data storage in conjunction with maintaining a B-tree
CN112632069B (en) Hash table data storage management method, device, medium and electronic equipment
US6549901B1 (en) Using transportable tablespaces for hosting data of multiple users
CN103595799A (en) Method for achieving distributed shared data bank
CN103810219A (en) Line storage database-based data processing method and device
CN110413413A (en) A kind of method for writing data, device, equipment and storage medium
WO2023056946A1 (en) Data caching method and apparatus, and electronic device
CN110334145A (en) The method and apparatus of data processing
CN109800234A (en) Service platform database system, upgrade method, equipment and storage medium
CN109815240A (en) For managing method, apparatus, equipment and the storage medium of index
CN103365987A (en) Clustered database system and data processing method based on shared-disk framework
CN112912870A (en) Tenant identifier conversion
CN102724301B (en) Cloud database system and method and equipment for reading and writing cloud data
CN114443680A (en) Database management system, related apparatus, method and medium
WO2024021808A1 (en) Data query request processing method and apparatus, device and storage medium
WO2021051569A1 (en) Data isolation method and apparatus, computer device and storage medium
CN116775712A (en) Method, device, electronic equipment, distributed system and storage medium for inquiring linked list
CN109710673A (en) Works processing method, device, equipment and medium
US11151110B2 (en) Identification of records for post-cloning tenant identifier translation
CN112527817A (en) Information processing method, information processing apparatus, storage medium, and electronic device
Zhang et al. Artificial intelligence and big data driven digital media design
CN111680069A (en) Database access method and device

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